mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
Do a lot of work :)
This commit is contained in:
188
static/css/styles.css
Normal file
188
static/css/styles.css
Normal file
@@ -0,0 +1,188 @@
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.header {
|
||||
overflow: hidden;
|
||||
background-color: #FB93DA;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
.header a {
|
||||
float: left;
|
||||
color: #404082;
|
||||
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: #D26BB9;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.header a.active {
|
||||
background-color: #404082;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.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: #FB93DA;
|
||||
color: #404082;
|
||||
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;
|
||||
}
|
||||
|
||||
.pink__colored {
|
||||
color: #D26BB9;
|
||||
}
|
||||
|
||||
.orange__highlight {
|
||||
background-color: #D26BB9;
|
||||
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;
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user