website/scss/_general.scss

262 lines
3.5 KiB
SCSS
Raw Normal View History

2021-01-11 15:42:09 +01:00
body {
margin: 0;
2021-01-11 19:12:50 +01:00
background-color: $back-color-2;
color: $text-color;
2021-01-11 15:42:09 +01:00
font-family: 'Source Sans Pro', sans-serif;
}
#content{
2021-01-11 19:12:50 +01:00
background-color: $back-color;
2021-01-11 15:42:09 +01:00
width: 100%;
padding: 20px 20%;
img {
max-width: 40%;
}
}
#blueBar{
height: 5px;
width: 100%;
2021-01-11 19:12:50 +01:00
background-color: $content-footer-div-color;
2021-01-11 15:42:09 +01:00
}
footer{
display: flex;
justify-content: center;
flex-direction: column;
a {
text-decoration: none;
}
}
a{
padding: 0;
2021-01-11 19:12:50 +01:00
color: $accent-color;
2021-01-11 15:42:09 +01:00
text-decoration:underline;
2021-01-11 19:12:50 +01:00
&:HOVER{
color: $accent-color-2;
}
2021-01-11 15:42:09 +01:00
}
.footerIconSpacer{
margin-left: 10px;
display: inline;
}
2021-01-11 15:58:17 +01:00
.red {
color: red;
}
2021-01-11 15:42:09 +01:00
.center{
text-align: center;
}
article{
2021-01-11 19:12:50 +01:00
border: 2px solid $accent-color;
2021-01-11 15:42:09 +01:00
border-radius: 20px;
padding: 10px;
margin-right: 20px;
width: 100%;
height: 100%;
h2{
text-align: center;
margin: 0;
}
}
#blog{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
article:last-child{
margin-right: 0;
}
button{
2021-01-11 19:12:50 +01:00
background-color: $accent-color;
2021-01-11 15:42:09 +01:00
color: #fff;
text-transform: uppercase;
border: 0;
padding: 5px;
cursor: pointer;
border-radius: 5px;
2021-01-11 19:12:50 +01:00
&:HOVER{
background-color: $accent-color-2;
}
2021-01-11 15:42:09 +01:00
}
#homeImage{
float: left;
margin-right: 5px;
2021-01-11 15:42:09 +01:00
}
.spacer{
clear: both;
}
#footerContent{
width: 100%;
display: flex;
justify-content: center;
div{
border-right: #3d3d3d 1px solid;
padding: 20px;
}
h3 {
margin-top: 0;
}
2021-01-11 19:12:50 +01:00
a {
color: $text-color;
}
2021-01-11 15:42:09 +01:00
}
.cookieinfo{
position: fixed;
2021-01-11 19:12:50 +01:00
left: 0;
right: 0;
2021-01-11 15:42:09 +01:00
height: auto;
min-height: 21px;
z-index: 2147483647;
line-height: 21px;
padding: 8px 18px;
font-family: verdana, arial, sans-serif;
font-size: 14px;
text-align: center;
2021-01-11 19:12:50 +01:00
bottom: 0;
2021-01-11 15:42:09 +01:00
opacity: 1;
2021-01-11 19:12:50 +01:00
background-color: $back-color;
color: $text-color;
2021-01-11 15:42:09 +01:00
}
.cookieinfo-close{
float: right;
display: block;
padding: 5px 8px;
min-width: 100px;
margin-left: 5px;
border-radius: 5px;
cursor: pointer;
2021-01-11 19:12:50 +01:00
background-color: $accent-color;
2021-01-11 15:42:09 +01:00
color: #fff;
text-align: center;
2021-01-11 19:12:50 +01:00
&:HOVER{
background-color: $accent-color-2;
}
2021-01-11 15:42:09 +01:00
}
.cookieinfo-text {
display:block;
padding:5px 0 5px 0;
}
.cookieinfo-link{
text-decoration: none;
2021-01-11 19:12:50 +01:00
color: $accent-color;
&:HOVER{
color: $accent-color-2;
}
2021-01-11 15:42:09 +01:00
}
#newComment {
form {
input, textarea{
width: 100%;
2021-01-11 19:12:50 +01:00
background-color: $back-color;
color: $text-color;
border: solid $back-color-2;
2021-01-11 15:42:09 +01:00
}
input:focus, textarea:focus {
outline: none;
}
textarea{
resize: vertical;
}
input[type=submit]{
2021-01-11 19:12:50 +01:00
background-color: $accent-color;
2021-01-11 15:42:09 +01:00
color: #fff;
text-transform: uppercase;
padding: 15px;
font-size: 14px;
cursor: pointer;
outline: 0;
border: 0;
2021-01-11 19:12:50 +01:00
&:HOVER{
background-color: $accent-color-2;
}
2021-01-11 15:42:09 +01:00
}
}
}
.comment{
display: flex;
img{
margin-right: 10px;
width: 100px;
height: 100px;
}
}
.commentTitle{
margin-bottom: 5px;
}
.commentArticle{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
min-height: 100px;
}
.commentText{
margin: 0;
width: 100%;
}
.emailBox {
display: inline;
}
@media only screen and (max-width: 600px) {
#homeImage{
float: none;
}
#content{
padding-left: 10px;
padding-right: 10px;
}
#blog{
flex-direction: column;
}
article {
margin-bottom: 10px;
margin-right: 0;
}
#banner {
a {
display: block;
}
img {
max-width: none;
width: 100%;
}
}
#newestPost{
display: none;
}
}