sly
Version:
sly is a Zerious module
97 lines (79 loc) • 1.1 kB
CSS
html, body {
font-size: 20px;
font-family: Arial;
font-weight: normal;
position: relative;
background: rgb(240, 240, 240);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
vertical-align: middle;
}
a {
text-decoration: none;
color: #039;
}
u, h1, h2, p {
display: block;
}
u, h1, h2, li {
white-space: nowrap;
}
h1, h2, li {
margin: auto 0;
}
u {
position: absolute;
text-decoration: none;
}
b {
position: relative;
font-weight: 300;
}
html, body, u, b {
width: 100%;
height: 100%;
}
h1, h2 {
background: rgba(20, 40, 90, 0.8);
color: #fff;
padding: 0.8em;
height: 25%;
}
h1 a,
h2 a,
h3 a {
color: #fff;
}
h1 {
font-size: 1.6em;
}
h2 {
font-size: 1.4em;
}
ul {
list-style-type: none;
}
ul {
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
color: #000;
position: relative;
height: 75%
}
li {
background-color: rgba(240, 240, 240, 0.8);
padding: 1em 2em;
display: block;
height: 33.33%;
font-size: 1.2em;
}
p {
display: none;
}
._HIDDEN {
display: none;
}