simpler-dash/common/css/main.css

59 lines
786 B
CSS
Raw Normal View History

html, body {
height: 100%;
width: 100%;
margin: 0;
}
body {
z-index: 1;
background-position: center;
background-attachment: fixed;
}
.github-corner {
opacity: 0.4;
}
.github-corner:hover {
opacity: 1;
}
2018-04-20 11:42:53 +01:00
#wrapper {
2018-11-12 19:14:37 +00:00
height: 100%;
display: grid;
}
2018-11-17 13:01:34 +00:00
#itemlist {
display: inline-grid;
grid-template-columns: repeat(2, 1fr);
2018-11-12 19:14:37 +00:00
margin: auto;
}
2018-11-12 19:14:37 +00:00
@media only screen and (min-width: 600px) {
2018-11-17 13:01:34 +00:00
#itemlist {
grid-template-columns: repeat(3, 1fr);
}
}
@media only screen and (min-width: 800px) {
2018-11-17 13:01:34 +00:00
#itemlist {
grid-template-columns: repeat(6, 1fr);
}
}
2018-11-17 13:01:34 +00:00
#itemlist {
border-radius: 6px;
background-color: rgba(0, 0, 0, .4);
font-size: 4em;
}
2018-11-17 13:01:34 +00:00
#itemlist>* {
padding: 15px;
margin: 0 auto;
}
/* link colors */
2018-11-17 13:01:34 +00:00
#itemlist a {
color: #fff;
}
2018-11-17 13:01:34 +00:00
#itemlist a:hover {
color: #c4c4c4;
2018-05-29 01:49:00 +01:00
}