Files
cesium.one/styles.css
2021-04-14 14:03:43 -04:00

90 lines
1.4 KiB
CSS

:root {
font-family: "Open Sans", sans-serif;
background-color: black;
color: white;
margin: auto;
}
body {
background-color: #202020;
padding: 30px;
padding-top: 1px;
border-radius: 10px;
margin: 100px;
}
h1 {
font-size: 2.5em;
}
p {
font-size: 1.2em;
}
a {
color: #bb99ff;
text-decoration: none;
text-shadow: 0 0 5px;
}
* { /* unfucks some stuff */
box-sizing: border-box;
}
.contact {
float: left;
width: 170px;
padding: 15px;
margin: 0px 10px 10px 0px;
background-color: #232629;
border-radius: 10px;
text-align: center;
opacity: .9;
position: relative;
transition: opacity .25s;
}
.othercontact {
float: left;
width: 170px;
padding: 0px;
margin: 0px 10px 10px 0px;
background-color: #232629;
border-radius: 10px;
text-align: center;
opacity: .9;
position: relative;
transition: opacity .25s;
} .othercontact a {
z-index: 10;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
position: absolute;
} div.othercontact:hover {
opacity: 1;
}
/* some hacky shit to make <div class=contact>s clickable. basically just makes
an <a> in a <div class=contact> take up the full div */
.contact a {
z-index: 10;
width: 100%;
height: 100%;
top: 0;
left: 0;
opacity: 0;
position: absolute;
}
div.contact:hover {
opacity: 1;
}
@media screen and (max-width:500px) {
.contact {
width: 100%;
}
:root {
width: 95%;
}
}