79 lines
1.1 KiB
CSS
79 lines
1.1 KiB
CSS
body {
|
||
font-family: "Roboto", sans-serif;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 100vh;
|
||
margin: 0;
|
||
}
|
||
body div {
|
||
flex-grow: 1;
|
||
}
|
||
html {
|
||
background: #fafafa;
|
||
}
|
||
|
||
h1, h2, h3, h4, h5, h6 {
|
||
font-family: "Open Sans", "Roboto", sans-serif;
|
||
text-align: center;
|
||
font-weight: 200;
|
||
}
|
||
h1 {
|
||
font-size:4em;
|
||
}
|
||
|
||
p, footer, ul {
|
||
width: 80%;
|
||
margin: 20px auto;
|
||
line-height: 1.3em;
|
||
}
|
||
p, ul {
|
||
font-size: 120%;
|
||
}
|
||
li {
|
||
margin-top: 3px;
|
||
}
|
||
ul {
|
||
list-style-type: "– ";
|
||
}
|
||
|
||
a {
|
||
color: mediumpurple;
|
||
text-decoration: none;
|
||
}
|
||
|
||
#boxes {
|
||
text-align: center;
|
||
}
|
||
.box {
|
||
position: relative;
|
||
margin: 0 30px;
|
||
min-height: 300px;
|
||
min-width: 300px;
|
||
border-radius: 3px;
|
||
box-shadow: 0 0 5px black;
|
||
display: inline-block;
|
||
background: transparent;
|
||
transition: 0.2s all linear;
|
||
}
|
||
.box:hover {
|
||
background: #00000011;
|
||
}
|
||
.box::before {
|
||
content: "";
|
||
width: 100%;
|
||
height: 100%;
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
z-index: -1;
|
||
background: radial-gradient(at 0% 0%, #99999911, 80%, #99999944);
|
||
}
|
||
|
||
footer {
|
||
text-align: center;
|
||
color: grey;
|
||
font-style: italic;
|
||
margin: 20px auto;
|
||
box-sizing: content-box;
|
||
}
|