Files
web/css/styles.css
2021-10-02 19:18:07 -07:00

204 lines
3.4 KiB
CSS

* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* Navbar */
.header {
overflow: hidden;
background-color: #333333;
padding: 20px 10px;
}
.header a {
float: left;
color: #BBBBBB;
text-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15);
text-align: center;
padding: 12px;
text-decoration: none;
font-size: 18px;
line-height: 25px;
border-radius: 4px;
}
.header a.logo {
font-size: 25px;
font-weight: bold;
}
.header a:hover {
background-color: #BBBBBB;
color: black;
}
.header a.active {
background-color: #BBBBBB;
color: black;
}
.header-right {
float: right;
}
/* Overlay */
.overlay {
height: 100%;
width: 0;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0, 0.9);
overflow-x: hidden;
transition: 0.5s;
}
.overlay-content {
position: relative;
top: 25%;
width: 100%;
text-align: center;
margin-top: 30px;
}
.overlay a {
padding: 8px;
text-decoration: none;
font-size: 36px;
color: #818181;
display: block;
transition: 0.3s;
}
.overlay a:hover, .overlay a:focus {
color: #f1f1f1;
}
.overlay .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}
/* Style */
html {
background-color: #333333;
color: #BBBBBB;
font-family: 'Montserrat', sans-serif;
font-weight: 400;
font-size: 1vh;
text-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15);
-ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
scrollbar-width: none; /* Hide scrollbar for Firefox */
scroll-behavior: smooth;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.html::-webkit-scrollbar {
display: none;
}
#end__of__page {
margin-bottom: -30vh;
}
.centered {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.row {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.highlight {
background-color: #EEEEEE;
border-radius: 20px;
line-height: 1.5;
padding-right: 0.9vw;
padding-left: 0.9vw;
font-weight: 520;
text-shadow: none;
box-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15);
}
.hero__header {
font-size: 6vw;
font-weight: 400;
}
.divider__line {
height: 4vw;
}
.about__header {
font-size: 3vw;
font-weight: 400;
}
.logo {
transition: all 0.2s ease-in-out;
}
.logo:hover {
transform: scale(1.1);
cursor: pointer;
}
.logo__image {
margin-left: 2vw;
margin-right: 2vw;
width: 10vw;
}
/* blog */
.blog {
background: grey;
width: 300px;
height: 300px;
border: 150px;
border-radius: 20px;
line-height: 1.5;
padding-right: 0.9vw;
padding-left: 0.9vw;
font-weight: 520;
text-shadow: none;
box-shadow: 3px 2px 2px rgba(199, 130, 59, 0.15);
}
.blog__header {
font-size: 12vw;
font-weight: 400;
}
@media only screen and (max-width: 1024px) {
.hero__header {
font-size: 12vw;
font-weight: 400;
}
.about__header {
font-size: 5vw;
font-weight: 400;
}
.divider__line {
height: 8vw;
}
.logo__image {
margin-left: 2vw;
margin-right: 2vw;
width: 14vw;
}
}