1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-10 01:42:55 +00:00
Files
mywebsite/client/assets/scss/main.scss

84 lines
1.3 KiB
SCSS

@import './utils.scss';
html {
//font-family: 'Roboto Slab', serif;
font-family: 'Raleway', Calibri, Arial, sans-serif;
}
body {
max-width: 100%;
overflow-x: hidden;
position: relative;
-webkit-font-smoothing: subpixel-antialiased;
font-weight: 300;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
font-weight: 300;
}
p {
font-weight: 200;
font-size: 1.1em;
}
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
a {
background-color: transparent;
color: #3598db;
text-decoration: none;
&:hover {
color: #3598db;
}
}
code,
pre{
white-space: pre-wrap;
}
.Layout {
height: 100%;
display: flex;
flex-direction: column;
.Footer,
.Main {
display: flex;
padding-right: calc(50% - 997px / 2);
padding-left: calc(50% - 997px / 2);
&:after,
&:before {
content: " ";
width: 1em;
}
}
}
.Main {
padding-top: 1em;
}
.Content {
flex: 1;
img{
width: 100%;
height: auto;
}
}
.Header {
width: 100%;
background: url("../images/header.jpg");
background-size: cover;
height: 30em;
border-bottom: solid;
border-width: 1px;
border-color: #DADADA;
h1 {
text-align: center;
}
}