127 lines
2.1 KiB
SCSS
Vendored
127 lines
2.1 KiB
SCSS
Vendored
@import "~normalize.css/normalize.css";
|
|
@import "fonts.scss";
|
|
@import "variables.scss";
|
|
|
|
/* Base
|
|
-------------------------------------*/
|
|
html {
|
|
overflow-y: scroll;
|
|
background-color: white;
|
|
}
|
|
body {
|
|
font-size: 15px;
|
|
line-height: 1.6rem;
|
|
font-family: "OpenSans", sans-serif;
|
|
color: $colorfg;
|
|
}
|
|
|
|
hr {
|
|
border: 1px solid $colorborder;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
margin-top: 0;
|
|
margin-bottom: 2rem;
|
|
letter-spacing: .1rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
a {
|
|
color: $colorfg;
|
|
}
|
|
|
|
.container{
|
|
max-width: 38rem;
|
|
padding: 2rem;
|
|
margin: auto;
|
|
}
|
|
|
|
/* Nav Bar
|
|
-------------------------------------*/
|
|
.navbar {
|
|
display: flex;
|
|
border-bottom: 1px solid $colorborder;
|
|
}
|
|
|
|
.navbar-items {
|
|
display: flex;
|
|
width: 38rem;
|
|
padding: 1rem 0;
|
|
margin: auto;
|
|
|
|
color: $colorfg;
|
|
|
|
list-style: none;
|
|
letter-spacing: .2rem;
|
|
line-height: 2rem;
|
|
text-transform: uppercase;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.navbar-item-link{
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.navbar-item-head{
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.navbar-item-link:hover { color: $color01; }
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
.navbar {
|
|
width: 100%;
|
|
margin: 1rem auto;
|
|
}
|
|
.navbar-items {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.navbar-item-head{
|
|
font-size: 1.5rem;
|
|
margin-bottom: .6rem;
|
|
}
|
|
}
|
|
|
|
/* Forms
|
|
-------------------------------------*/
|
|
label {
|
|
display: block;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.form-input {
|
|
display: block;
|
|
width: 100%;
|
|
height: 2rem;
|
|
border: 1px solid $colorfg;
|
|
border-radius: 4px;
|
|
margin-bottom: 1em;
|
|
padding: .4em;
|
|
}
|
|
|
|
textarea.form-input {
|
|
height: 20rem;
|
|
}
|
|
|
|
.form-submit {
|
|
display: inline-block;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
color: $colorfg;
|
|
border: 1px solid $colorfg;
|
|
border-radius: 4px;
|
|
background-color: #fff;
|
|
|
|
font-weight: 600;
|
|
height: 2.4rem;
|
|
padding: 0 2rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|