roulette/static/style.css

152 lines
2.3 KiB
CSS
Raw Normal View History

2018-01-18 17:39:24 +00:00
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
2017-01-26 22:32:27 +00:00
body {
2018-01-18 17:39:24 +00:00
background: #d7ebff;
color: black;
2017-01-26 22:32:27 +00:00
text-align: center;
2018-01-18 17:39:24 +00:00
font-family: 'Ubuntu Mono', monospace;
margin: 0;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
.center {
display: flex;
flex-flow: column;
align-items: center;
justify-content: center;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
a {
text-decoration: none;
color: black;
2017-01-26 22:32:27 +00:00
}
#banner {
2018-01-18 17:39:24 +00:00
width: 75%;
max-width: 1000px;
margin: 32px;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
#card {
margin: 32px auto;
padding: 32px 0 16px 0;
max-width: 600px;
2017-01-26 22:32:27 +00:00
background: white;
2018-01-18 17:39:24 +00:00
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12),
0 1px 2px rgba(0, 0, 0, 0.24);
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
@media screen and (max-width: 640px) {
#card {
width: 80%;
}
#banner {
margin: 32px 32px 0 32px;
}
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
#chart {
margin-bottom: 16px;
}
2017-01-26 22:32:27 +00:00
2018-01-18 17:39:24 +00:00
.sep {
width: 100%;
height: 1px;
background-color: #DADADA;
margin: 16px;
box-sizing: border-box;
}
2017-01-26 22:32:27 +00:00
2018-01-18 17:39:24 +00:00
.desc {
font-size: 18px;
margin: 16px 0;
padding: 0 16px;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
#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;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
#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);
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
.title {
font-size: 24px;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
#history {
margin: 16px;
padding: 0 16px;
list-style-type: decimal-leading-zero;
list-style-position: inside;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
li {
text-align: left;
2017-01-26 22:32:27 +00:00
}
2018-01-18 17:39:24 +00:00
li .normal {
2017-01-26 22:32:27 +00:00
color: black;
font-size: 80%;
}
2018-01-18 17:39:24 +00:00
li.ban {
2017-01-26 22:32:27 +00:00
color: red;
}
2018-01-18 17:39:24 +00:00
li.warn {
2017-01-26 22:32:27 +00:00
color: orange;
}
2018-01-18 17:39:24 +00:00
li.ok {
2017-01-26 22:32:27 +00:00
color: #1D1;
}
p#play {
2018-01-18 17:39:24 +00:00
text-align: center;
font-size: 1.5em;
font-weight: bold;
margin-top: 1.6em;
margin-bottom: 2em;
2017-01-26 22:32:27 +00:00
}
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 {
2017-01-29 17:45:51 +00:00
width: 100%;
2017-01-26 22:32:27 +00:00
margin: 1em auto;
2017-01-29 16:57:16 +00:00
background: #FFCC00;
2017-01-26 22:32:27 +00:00
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;
2018-01-18 17:39:24 +00:00
}