roulette/static/style.css
2018-01-18 18:39:24 +01:00

152 lines
2.3 KiB
CSS
Executable file

@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
body {
background: #d7ebff;
color: black;
text-align: center;
font-family: 'Ubuntu Mono', monospace;
margin: 0;
}
.center {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
}
a {
text-decoration: none;
color: black;
}
#banner {
width: 75%;
max-width: 1000px;
margin: 32px;
}
#card {
margin: 32px auto;
padding: 32px 0 16px 0;
max-width: 600px;
background: white;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
}
@media screen and (max-width: 640px) {
#card {
width: 80%;
}
#banner {
margin: 32px 32px 0 32px;
}
}
#chart {
margin-bottom: 16px;
}
.sep {
width: 100%;
height: 1px;
background-color: #DADADA;
margin: 16px;
box-sizing: border-box;
}
.desc {
font-size: 18px;
margin: 16px 0;
padding: 0 16px;
}
#play {
width: 132px;
height: 54px;
font-size: 20px;
margin: 16px auto;
border-radius: 3px;
background-color: #9ce898;
font-weight: bold;
transition: all cubic-bezier(0.4, 0.0, 0.2, 1) 0.2s;
}
#play:hover {
background-color: #7fd87b;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
}
.title {
font-size: 24px;
}
#history {
margin: 16px;
padding: 0 16px;
list-style-type: decimal-leading-zero;
list-style-position: inside;
}
li {
text-align: left;
}
li .normal {
color: black;
font-size: 80%;
}
li.ban {
color: red;
}
li.warn {
color: orange;
}
li.ok {
color: #1D1;
}
p#play {
text-align: center;
font-size: 1.5em;
font-weight: bold;
margin-top: 1.6em;
margin-bottom: 2em;
}
p#play a {
font-weight: bold;
color: white;
background: #2E2;
padding: .5em 2em;
border: 1px solid #191;
border-radius: 10px;
}
p#play a:hover {
background: #191;
}
form#select {
width: 100%;
margin: 1em auto;
background: #FFCC00;
border-radius: 1em;
border: 1px solid #C70;
padding: 1em 0em;
text-align: center;
}
ul.flashes li {
background: #2E2;
border: 1px solid #191;
border-radius: .6em;
margin-bottom: 1em;
padding: .4em .7em;
}