dogs-and-capybaras-web-site/styles/main.scss

145 lines
2.9 KiB
SCSS
Raw Permalink Normal View History

2023-10-11 17:06:22 +00:00
@import "fonts";
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Bitter', serif;
}
body, html {
background-color: #2f4f4f;
color: azure;
}
header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 10%;
background-color: rgba(221, 221, 221, 0.259);
a.logo {
text-decoration: none;
color: azure;
font-weight: 400;
font-size: 2em;
}
a.logo:hover {
transition-duration: 100ms;
color: red;
}
nav {
display: flex;
a {
margin-right: .825rem !important;
text-decoration: none;
color: azure;
}
a:hover {
transition-duration: 100ms;
color: red;
}
}
}
main {
display: flex;
flex-direction: column;
.home-container {
display: flex;
flex-direction: column;
padding: 10px 20%;
width: 100%;
height: 100%;
h2 {
text-align: center;
}
.text-block {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
padding: 2% 0;
p {
text-align: center;
width: 100%;
}
}
}
.dogs-container{
padding: 2% 20%;
width: 100%;
height: 100%;
display: flex;
justify-content: space-evenly;
flex-direction: row;
align-items: center;
div {
width: 20%;
h1 {
text-align: center;
}
p {
padding-top: 10px;
text-align: center;
}
img {
// z-index: ;
width: 400px;
height: auto;
}
}
}
.capy-container{
padding: 2% 20%;
width: 100%;
height: 100%;
display: flex;
justify-content: space-evenly;
flex-direction: row-reverse;
align-items: center;
div {
width: 20%;
h1 {
text-align: center;
}
p {
padding-top: 10px;
text-align: center;
}
img {
// z-index: ;
width: 400px;
height: auto;
}
}
}
.text-container{
display: flex;
flex-direction: column;
padding: 2% 20%;
p{
font-size: x-large;
margin-top: 10px;
text-align: justify;
}
}
}
#scrollToTopButton {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 99;
font-size: 18px;
background-color: red;
color: #fff;
border: none;
border-radius: 50%;
padding: 15px 20px;
cursor: pointer;
}