simpler-dash/css/main.css

66 lines
992 B
CSS
Raw Permalink Normal View History

html, body {
height: 100%;
width: 100%;
margin: 0;
text-rendering: optimizeLegibility;
font-family: sans-serif;
text-align: center;
background-image: url('../background.jpg');
background-repeat: no-repeat;
background-size: cover;
}
body {
background-position: center;
background-attachment: fixed;
}
2018-04-20 11:42:53 +01:00
#wrapper {
height: 92%;
2018-11-12 19:14:37 +00:00
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(4, 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
}
#footer {
position: absolute;
bottom: 0;
width: 100%;
}
p {color: Cyan;}
a {
color: LightCyan;
}