Homepage/css/main.css

117 lines
2.1 KiB
CSS

html {
min-height: 100%;
color: #eee;
font-family: 'Oswald', sans-serif;
background: linear-gradient(0deg, black, rgba(0, 0, 0, 0.5)), repeating-linear-gradient(45deg, #8f0a0a 0% 2%, transparent 2% 4%), repeating-linear-gradient(-45deg, #111 0% 2%, #000000 2% 4%);
}
html body {
margin: 0;
}
html body .headwrap {
height: 130px;
width: 100%;
top: 0;
position: fixed;
}
html body .header {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 50%, transparent);
height: 50px;
width: 100%;
display: flex;
flex-flow: row;
align-items: center;
justify-content: space-around;
font-size: 20px;
padding: 0 0 80px 0;
}
html body .header img {
display: inline-block;
height: 100px;
margin: 30px 0 30px 0;
transform: translateY(30px);
}
html body .bodywrap {
width: 100%;
margin-top: 130px;
}
html body .bodywrap .body {
text-align: center;
padding: 0 5%;
}
html body .bodywrap .body img {
display: none;
width: 100%;
}
html body .footerwrap {
width: 100%;
}
html body .footerwrap .footer {
display: flex;
flex-flow: row;
}
html body .footerwrap .footer div.col {
flex: 1;
padding: 10px;
}
html body .footerwrap .footer div.col.name {
flex: 2;
}
.round {
border-radius: 50%;
}
ul {
padding: 0;
margin: 4px 0;
}
ul li {
list-style-type: none;
}
h1,
h2 {
margin: 0;
}
h1 {
font-size: 32px;
}
h2 {
font-size: 14px;
}
a {
color: #eee;
text-decoration: none;
transition: cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
}
a:hover,
a.highlight {
color: #e11;
}
a.highlight:hover {
text-decoration: underline;
}
@media only screen and (max-width: 800px) {
html body .headwrap {
height: 50px;
}
html body .headwrap .header {
padding: 0;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 90%, transparent);
}
html body .headwrap .header img {
display: none;
}
html body .bodywrap {
margin-top: 50px;
}
html body .bodywrap .body img {
display: initial;
}
html body .footerwrap .footer {
padding-left: 10px;
box-sizing: border-box;
flex-flow: column;
}
html body .footerwrap .footer div.col {
padding: 2px;
}
}