old-website/css/style.css
2022-11-12 20:46:40 +00:00

437 lines
8 KiB
CSS

@font-face {
font-family: "Mona-Sans";
src: url("fonts/Mona-Sans.woff2") format("woff2 supports variations"), url("fonts/Mona-Sans.woff2") format("woff2-variations");
font-weight: 200 900;
font-stretch: 75% 125%;
}
@font-face {
font-family: "Hubot-Sans";
src: url("fonts/Hubot-Sans.woff2") format("woff2 supports variations"), url("fonts/Hubot-Sans.woff2") format("woff2-variations");
font-weight: 200 900;
font-stretch: 75% 125%;
}
.c_red {
color: #b66467;
}
.c_orange {
color: #d8a657;
}
.c_yellow {
color: #d9bc8c;
}
.c_green {
color: #8c977d;
}
.c_blue {
color: #8da3b9;
}
.c_purple {
color: #a988b0;
}
nav {
margin: 0;
padding: 0;
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
position: relative;
border-radius: 0.5rem 0.5rem 0 0;
}
.nav-item {
margin: 0;
padding: 0.5rem;
width: 100%;
height: 3rem;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
background-color: #151515;
border: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.nav-item:hover {
background-color: #121212;
}
.nav-item p,
.nav-item a {
margin: auto;
padding: 0;
display: inline-block;
font-family: "Hubot-Sans", sans-serif;
font-size: 1rem;
font-weight: 600;
font-stretch: semi-expanded;
color: #e8e5e5;
transition: all 0.2s cubic-bezier(0.86, 0, 0.07, 1);
}
.nav-item:nth-child(1) {
border-radius: 0.5rem 0 0 0;
}
.nav-item:nth-child(4) {
border-radius: 0 0.5rem 0 0;
}
.nav-item_selected {
background-color: #121212;
}
#nav-item_underline {
margin: 0;
padding: 0;
width: 25%;
height: 0.3rem;
display: block;
position: absolute;
bottom: 0;
left: 0;
background-color: #8c977d;
transition: left 0.2s cubic-bezier(0.86, 0, 0.07, 1), width 0.2s cubic-bezier(0.86, 0, 0.07, 1);
}
.heroSpacing {
margin: 0;
padding: 0;
width: 100%;
height: 20rem;
display: block;
background-color: #121212;
}
.hero {
margin: 0;
padding: 1rem;
width: 100%;
height: 20rem;
display: flex;
flex-direction: column;
gap: 1rem;
position: absolute;
top: 3rem;
box-sizing: border-box;
background-color: #151515;
overflow: hidden;
pointer-events: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.hero h1 {
margin: 0;
padding: 0;
font-family: "Mona-Sans", sans-serif;
font-size: 2.5rem;
font-weight: 800;
font-stretch: ultra-expanded;
color: #e8e5e5;
transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
z-index: 2;
}
.hero p {
margin: 0;
padding: 0;
font-family: "Hubot-Sans", sans-serif;
font-size: 1rem;
font-weight: 600;
font-stretch: semi-expanded;
color: #e8e5e5;
z-index: 2;
}
.hero img {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
opacity: 1;
filter: blur(2px) brightness(0.7);
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center;
object-position: center;
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.hero_scrolled {
padding: 0.5rem 1rem;
height: 3rem;
top: 0;
justify-content: center;
background-color: #121212;
border-radius: 0.5rem 0.5rem 0 0;
pointer-events: all;
}
.hero_scrolled h1 {
font-size: 1.5rem;
}
.hero_scrolled p {
display: none;
}
.hero_scrolled img {
opacity: 0;
}
footer {
margin: 0;
padding: 0.5rem 1rem;
width: 100%;
height: 2.5rem;
display: flex;
flex-direction: row;
gap: 1rem;
justify-content: space-around;
align-items: center;
box-sizing: border-box;
background-color: #121212;
border-radius: 0 0 0.5rem 0.5rem;
}
footer p,
footer a {
margin: 0;
padding: 0;
font-family: "Hubot-Sans", sans-serif;
font-size: 0.8rem;
font-weight: 800;
font-stretch: semi-condensed;
color: #e8e5e5;
display: block;
text-transform: uppercase;
}
html {
margin: 0;
padding: 0;
height: 100%;
background-color: #121212;
overflow: hidden;
}
body {
margin: 0;
padding: 0.5rem;
height: 100%;
background-image: url("../leaves.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
box-sizing: border-box;
}
@media (max-width: 500px) {
body {
padding: 0;
background-image: none;
}
}
main {
margin: 0 auto;
padding: 0;
max-width: 769px;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
position: relative;
background-color: #151515;
box-sizing: border-box;
border-radius: 0.5rem;
z-index: 1;
}
#Home,
#Hobbies,
#Experiance,
#Gallery {
overflow-y: scroll;
scroll-behavior: smooth;
scrollbar-width: none;
-ms-overflow-style: none;
}
#Home::-webkit-scrollbar,
#Hobbies::-webkit-scrollbar,
#Experiance::-webkit-scrollbar,
#Gallery::-webkit-scrollbar {
display: none;
}
.main {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
gap: 1rem;
box-sizing: border-box;
overflow: hidden;
}
.tabContent {
display: none;
height: 100%;
opacity: 0;
transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
overflow: hidden;
}
.content {
margin: 0;
padding: 1rem 1.5rem;
width: 100%;
height: auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
box-sizing: border-box;
overflow: hidden;
background-color: #151515;
}
.content h2 {
margin: 0.5rem 0 0.5rem 0;
padding: 0;
font-family: "Mona-Sans", sans-serif;
font-size: 2rem;
font-stretch: ultra-expanded;
color: #8c977d;
}
.content h3 {
margin: 0.5rem 0 0.5rem 0;
padding: 0 0 0 0.5rem;
font-family: "Mona-Sans", sans-serif;
font-size: 1.5rem;
font-stretch: ultra-expanded;
color: #e8e5e5;
border-left: 0.9rem solid #8c977d;
}
.content h4 {
margin: 0.5rem 0 0.25rem 0;
padding: 0 0 0 0.5rem;
font-family: "Mona-Sans", sans-serif;
font-size: 1.25rem;
font-stretch: ultra-expanded;
color: #e8e5e5;
border-left: 0.6rem solid #8c977d;
}
.content br {
margin: 0 0 2rem 0;
padding: 0;
}
.content i {
margin: 0;
padding: 0;
display: inline-block;
vertical-align: middle;
font-family: "Hubot-Sans", sans-serif;
font-size: 1rem;
}
.content p {
margin: 0;
padding: 0;
display: inline-block;
font-family: "Hubot-Sans", sans-serif;
font-size: 1.1rem;
font-weight: 600;
color: #e8e5e5;
}
.content a {
margin: 0;
padding: 0;
display: inline-block;
font-family: "Hubot-Sans", sans-serif;
font-size: 1rem;
font-weight: 600;
color: #8c977d;
-webkit-text-decoration: underline 0.1rem #151515;
text-decoration: underline 0.1rem #151515;
transition: -webkit-text-decoration 0.2s ease-in-out;
transition: text-decoration 0.2s ease-in-out;
transition: text-decoration 0.2s ease-in-out, -webkit-text-decoration 0.2s ease-in-out;
}
.content a:hover {
color: #e8e5e5;
-webkit-text-decoration: underline 0.3rem #8c977d;
text-decoration: underline 0.3rem #8c977d;
}
.content img {
margin: 0 auto;
padding: 0;
max-width: 100%;
max-height: 30rem;
width: auto;
height: auto;
display: block;
-o-object-fit: contain;
object-fit: contain;
border-radius: 0.5rem;
}
.content iframe {
border-radius: 0.5rem;
}
.matrix-list {
margin: 0;
padding: 0;
width: auto;
height: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 0.5rem;
}
.matrix-list > * {
white-space: nowrap;
}
.matrix-list > *::after {
content: ",";
}
.matrix-list > *:last-child::after {
content: "";
}
.btn_large {
margin: 0;
padding: 0.5rem 1rem;
width: auto;
height: auto;
font-family: "Hubot-Sans", sans-serif;
font-size: 1.25rem;
font-weight: 600;
background-color: #121212;
color: #e8e5e5;
display: flex;
justify-content: end;
align-items: center;
gap: 0.5rem;
border: none;
border-left: 0.3rem solid #8c977d;
border-radius: 0;
box-sizing: border-box;
cursor: pointer;
transition: all 0.2s ease-in-out;
}
.btn_large p {
color: inherit;
font-stretch: expanded;
}
.btn_large:hover {
background-color: #101010;
color: #8c977d;
border-left: 0.9rem solid #8c977d;
}
.btn_large:hover p {
color: inherit;
}/*# sourceMappingURL=style.css.map */