Roulette-a-donjons/css/style.css

130 lines
1.7 KiB
CSS
Raw Normal View History

2018-07-22 16:03:36 +00:00
body{
font-family: 'Roboto', sans-serif;
2019-02-17 14:33:22 +00:00
2018-07-22 16:03:36 +00:00
}
a {
color: #045;
}
2019-02-17 14:33:22 +00:00
div#slider {
width: 80%;
max-width: 1000px;
margin: 0 auto;
}
div#slider figure {
position: relative;
width: 500%;
margin: 0;
padding: 0;
font-size: 0;
text-align: left;
}
div#slider figure img {
width: 20%;
height: auto;
float: left;
}
div#slider {
width: 80%;
max-width: 1000px;
overflow: hidden;
}
@keyframes slidy {
0% { left: 0%; }
20% { left: 0%; }
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}
div#slider figure {
position: relative;
width: 500%;
margin: 0;
padding: 0;
font-size: 0;
left: 0;
text-align: left;
animation: 30s slidy infinite;
}
2018-07-22 16:03:36 +00:00
#container{
2019-02-17 14:33:22 +00:00
2018-07-22 16:03:36 +00:00
margin:50px auto;
padding: 20px;
width:50%;
}
#container h2{
text-align:center;
color:#045;
}
#quoteContainer{
2019-02-17 14:33:22 +00:00
2018-07-22 16:03:36 +00:00
padding:10px;
margin:30px auto;
text-align: center;
2019-02-17 14:33:22 +00:00
2018-07-22 16:03:36 +00:00
}
#buttonContainer{
width: 100%;
text-align: center;
}
#quoteButton{
2019-02-17 14:33:22 +00:00
2018-07-22 16:03:36 +00:00
margin-top: 10px;
border:2px solid #46b8da;
color:#045;
font-family: inherit;
font-weight: bold;
padding:5px;
text-decoration: none;
text-align: center;
}
#quoteButton:hover{
cursor:pointer;
background:#09c;
2019-02-17 14:33:22 +00:00
color: #fff;
2018-07-22 16:03:36 +00:00
}
#quoteButton:active{
cursor: pointer;
}
#quoteButton{
display: inline-block;
}
#quoteGenius{
2019-02-17 14:33:22 +00:00
font-size: x-large;
font-weight: 500;
2018-07-22 16:03:36 +00:00
text-align: center;
2019-02-17 14:33:22 +00:00
color: #3388cc;
}
.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper {
text-shadow: none !important;
2018-07-22 16:03:36 +00:00
}
/*MEDIA QUERIES*/
@media screen and(max-width:760px){
#quoteButton,#addNew{
display: block;
}
2019-02-17 14:33:22 +00:00
}
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev{
display:block;
2018-07-22 16:03:36 +00:00
}