mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
230 lines
3.9 KiB
CSS
230 lines
3.9 KiB
CSS
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Navbar */
|
|
.header {
|
|
overflow: hidden;
|
|
background-color: #333333;
|
|
padding: 20px 10px;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.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;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.header a.logo {
|
|
font-size: 25px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.header a:hover {
|
|
transform: scale(1.1);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.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;
|
|
|
|
overflow: scroll;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Hide scrollbar for Chrome, Safari and Opera */
|
|
.html::-webkit-scrollbar {
|
|
width: 0;
|
|
background: transparent; /* Optional: just make scrollbar invisible */
|
|
}
|
|
|
|
#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_row {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 2vw;
|
|
margin-bottom: 2vw;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.blog {
|
|
background: grey;
|
|
width: 250px;
|
|
height: 250px;
|
|
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);
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.blog:hover {
|
|
transform: scale(1.1);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.blog__image {
|
|
margin-left: 2vw;
|
|
margin-right: 2vw;
|
|
width: 10vw;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|