135 lines
2.4 KiB
Plaintext
135 lines
2.4 KiB
Plaintext
@text: #eee;
|
|
@color: #e11;
|
|
@bg: #111;
|
|
|
|
html {
|
|
min-height: 100%;
|
|
// Nice background to have
|
|
color: @text;
|
|
font-family: 'Oswald' ,sans-serif;
|
|
background:
|
|
linear-gradient(0deg, black, rgba(0,0,0,0.5)),
|
|
repeating-linear-gradient(
|
|
45deg,
|
|
darken(@color, 20%) 0% 2%,
|
|
transparent 2% 4%
|
|
),
|
|
repeating-linear-gradient(
|
|
-45deg,
|
|
@bg 0% 2%,
|
|
darken(@bg, 20%) 2% 4%
|
|
)
|
|
;
|
|
body {
|
|
margin: 0;
|
|
.headwrap {
|
|
height: 130px;
|
|
width: 100%;
|
|
top: 0;
|
|
position: fixed;
|
|
}
|
|
|
|
.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;
|
|
img {
|
|
display: inline-block;
|
|
height: 100px;
|
|
margin: 30px 0 30px 0;
|
|
transform: translateY(30px);
|
|
}
|
|
}
|
|
.bodywrap {
|
|
width: 100%;
|
|
margin-top: 130px;
|
|
.body {
|
|
text-align: center;
|
|
padding: 0 5%;
|
|
img {
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
.footerwrap {
|
|
width: 100%;
|
|
.footer {
|
|
display: flex;
|
|
flex-flow: row;
|
|
div.col {
|
|
&.name {
|
|
flex: 2;
|
|
}
|
|
flex: 1;
|
|
padding: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.round {border-radius:50%}
|
|
ul {
|
|
padding:0;
|
|
margin:4px 0;
|
|
li {list-style-type:none}
|
|
}
|
|
h1,h2 {margin:0}
|
|
h1 {font-size:32px}
|
|
h2 {font-size:14px}
|
|
|
|
a {
|
|
color: @text;
|
|
text-decoration: none;
|
|
&:hover,
|
|
&.highlight {
|
|
color: @color;
|
|
}
|
|
&.highlight:hover {
|
|
text-decoration: underline;
|
|
}
|
|
transition: cubic-bezier(0.23, 1, 0.32, 1) 0.4s;
|
|
}
|
|
|
|
@media only screen and (min-width: 800px) {
|
|
}
|
|
|
|
@media only screen and (max-width: 800px) {
|
|
html {
|
|
body{
|
|
.headwrap {
|
|
height: 50px;
|
|
.header {
|
|
padding: 0;
|
|
background:
|
|
linear-gradient(180deg, rgba(0,0,0,0.8) 90%, transparent);
|
|
img {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
.bodywrap {
|
|
margin-top: 50px;
|
|
.body img {
|
|
display: initial;
|
|
}
|
|
}
|
|
.footerwrap {
|
|
.footer {
|
|
padding-right: 10px;
|
|
flex-flow: column;
|
|
div.col {padding:2px}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|