Files
cesium.one/styles.css
2021-01-05 01:01:12 -05:00

60 lines
1.2 KiB
CSS

:root {
font-family: "Open Sans";
background-color: #0f1011;
color: white;
width: 69%;
margin: auto;
}
a {
color: #bb99ff;
text-decoration: none;
text-shadow: 0 0 5px;
}
@font-face {
font-family: "Open Sans";
src: url(assets/OpenSans-Regular.ttf);
}
* { /* unfucks some stuff */
box-sizing: border-box;
}
.contact {
float: left;
min-width: 150px;
width: 10%;
padding: 15px;
margin: 0px 10px 10px 0px;
background-color: #232629;
border-radius: 10px;
text-align: center;
opacity: .9;
position: relative;
transition: opacity .5s;
}
/* 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. also changes the cursor but
idk if thats even necessary nor do i care as of 0:57 on a tuesday when im writing this */
.contact a {
z-index: 10;
width: 100%;
height: 100%;
top: 0;
left: 0;
color: white;
position: absolute;
}
div.contact:hover {
opacity: 1;
cursor: hand;
cursor: pointer;
}
@media screen and (max-width:500px) {
.contact {
width: 100%;
}
:root {
width: 80%;
}
}