website/assets/sass/general.scss
2023-05-29 09:14:23 +02:00

115 lines
2 KiB
SCSS

@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:wght@400;700&family=Roboto&display=swap');
.serif-font {
font-family: 'Bona Nova', serif;
}
body {
// font-family: 'Trebuchet MS', Tahoma,sans-serif;
// font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
// font-family: "Open Sans","Segoe UI",HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,sans-serif;
font-family: 'Roboto', sans-serif;
font-weight: 300;
margin: 0;
font-size: 17px;
line-height: 1.6;
}
* {
box-sizing: border-box;
}
h1, h2, h3, .title {
font-family: 'Bona Nova', serif;
}
h1 {
font-size: 3rem;
color: $secondary;
margin-top: 3rem;
margin-bottom: 1rem;
}
h2 {
font-size: 1.75rem;
color: $secondary;
}
a {
color: darken($accent, 6%);
}
a:hover {
opacity: 0.8;
}
.secondary-bg {
h2 {
color: white;
}
a {
color: white;
}
color: white;
.button {
background-color: $background-secondary;
color: white;
&:hover {
background-color: lighten($background-secondary, 14%);
}
}
background-color: darken($background-secondary, 15%);
}
.separation-section {
margin-top: 3rem;
padding: 1.2rem 0;
}
.w-100 {
width: 100px;
}
.w-200 {
width: 200px;
}
img {
max-width: 100%;
}
.grid {
display: grid;
}
.grid-2 {
grid-template-columns: 1fr 1fr;
}
.contact-form{
position:relative;
width:75%;
left:50%;
transform:translate(-50% , 0%);
border:2px black solid;
padding:2px;
display:flex;
flex-direction:column
}
.contact-form button{
background-color:green;
padding:5px;
color:white;
border-radius:2px;
}
.contact-form input {
width:100%;
border:black solid 1px;
color:black;
height:20px;
}
.contact-form textarea{
resize:vertical;
}