347 lines
6.4 KiB
CSS
347 lines
6.4 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap");
|
|
* {
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
|
|
:root {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
html {
|
|
margin-left: calc(100vw - 100%);
|
|
}
|
|
|
|
body {
|
|
--accent-color: #303F9F;
|
|
--text-color: 17, 17, 17;
|
|
--foreground-color: 255, 255, 255;
|
|
background: rgba(var(--foreground-color), 1);
|
|
color: rgba(var(--text-color), 1);
|
|
font-size: 16px;
|
|
}
|
|
|
|
body[data-theme="dark"] {
|
|
--accent-color: #4a5cd3;
|
|
--foreground-color: 20, 20, 20;
|
|
--text-color: 238, 238, 238;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
font-family: 'Poppins', sans-serif;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
p {
|
|
margin: 1.5rem 0;
|
|
line-height: 1.7;
|
|
color: rgba(var(--text-color), 0.8);
|
|
}
|
|
|
|
.hide {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.hide-completely {
|
|
display: none !important;
|
|
}
|
|
|
|
.icon {
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
fill: none;
|
|
stroke: rgba(var(--text-color), 0.8);
|
|
stroke-width: 6;
|
|
overflow: visible;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
#navbar {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-box-pack: space-evenly;
|
|
-ms-flex-pack: space-evenly;
|
|
justify-content: space-evenly;
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
top: auto;
|
|
border-top: solid 1px rgba(var(--text-color), 0.2);
|
|
border-right: none;
|
|
z-index: 3;
|
|
background: rgba(var(--foreground-color), 1);
|
|
}
|
|
|
|
#navbar .navbar-item {
|
|
position: relative;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
padding: 0.3em;
|
|
margin: 0.3em;
|
|
border-radius: 0.4em;
|
|
color: rgba(var(--text-color), 0.8);
|
|
font-size: 0.9em;
|
|
text-transform: uppercase;
|
|
width: 100%;
|
|
letter-spacing: 0.08em;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
#navbar .navbar-item h5 {
|
|
font-size: 0.6em;
|
|
margin-top: 0.4em;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#navbar .active {
|
|
color: var(--accent-color);
|
|
}
|
|
|
|
#navbar .active .icon {
|
|
stroke: var(--accent-color);
|
|
}
|
|
|
|
#main_header {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
#logo {
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
-ms-grid-columns: auto 1fr;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 0.6rem 0.6rem;
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
#logo h4 {
|
|
text-transform: capitalize;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#logo h5 {
|
|
font-family: 'Roboto', sans-serif;
|
|
font-weight: 400;
|
|
}
|
|
|
|
#logo #main_logo {
|
|
height: 1.4rem;
|
|
width: 1.4rem;
|
|
fill: rgba(var(--text-color), 1);
|
|
stroke: none;
|
|
}
|
|
|
|
.toggle {
|
|
position: relative;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
padding: 0;
|
|
}
|
|
|
|
.toggle input[type='checkbox'] {
|
|
display: none;
|
|
}
|
|
|
|
.toggle .switch {
|
|
overflow: hidden;
|
|
display: -webkit-inline-box;
|
|
display: -ms-inline-flexbox;
|
|
display: inline-flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
justify-items: center;
|
|
padding: 0.2rem;
|
|
min-height: 1.6rem;
|
|
max-height: 1.6rem;
|
|
border-radius: 0.5rem;
|
|
position: relative;
|
|
margin: 0;
|
|
}
|
|
|
|
.toggle .circle {
|
|
border-radius: 0.5rem;
|
|
-webkit-transition: -webkit-transform 0.3s;
|
|
transition: -webkit-transform 0.3s;
|
|
transition: transform 0.3s;
|
|
transition: transform 0.3s, -webkit-transform 0.3s;
|
|
fill: rgba(var(--text-color), 0.8);
|
|
overflow: visible;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
height: 1.2rem;
|
|
width: 1.2rem;
|
|
}
|
|
|
|
.toggle .circle:first-of-type {
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.toggle .circle line {
|
|
stroke: rgba(var(--text-color), 0.8);
|
|
stroke-width: 6;
|
|
}
|
|
|
|
.toggle input:checked ~ .switch .circle {
|
|
-webkit-transform: translateY(-1.7rem);
|
|
transform: translateY(-1.7rem);
|
|
}
|
|
|
|
.page {
|
|
padding: 2rem 0;
|
|
padding-bottom: 4rem;
|
|
}
|
|
|
|
.options-tab {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.options-tab .option {
|
|
display: -webkit-inline-box;
|
|
display: -ms-inline-flexbox;
|
|
display: inline-flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
border-radius: 0.4rem;
|
|
padding: 1.5rem;
|
|
margin-right: 1rem;
|
|
margin-bottom: 1rem;
|
|
width: 9rem;
|
|
border: solid 1px rgba(var(--text-color), 0.2);
|
|
text-transform: capitalize;
|
|
cursor: pointer;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.options-tab .option .icon {
|
|
background: rgba(var(--text-color), 0.1);
|
|
height: 2.8rem;
|
|
width: 2.8rem;
|
|
padding: 0.8rem;
|
|
border-radius: 2rem;
|
|
margin-bottom: 1rem;
|
|
stroke: rgba(var(--text-color), 0.4);
|
|
}
|
|
|
|
.options-tab .option h4 {
|
|
font-weight: 400;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#home_page h1 {
|
|
margin-top: 3vw;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#home_page p {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
#home_page h2 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
@media only screen and (min-width: 640px) {
|
|
body {
|
|
padding: 1rem 6vw;
|
|
margin-left: 6rem;
|
|
}
|
|
p {
|
|
max-width: 40rem;
|
|
}
|
|
#navbar {
|
|
-webkit-box-pack: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-box-align: stretch;
|
|
-ms-flex-align: stretch;
|
|
align-items: stretch;
|
|
left: 0;
|
|
bottom: 0;
|
|
top: 0;
|
|
right: auto;
|
|
width: 6rem;
|
|
border-top: none;
|
|
border-right: solid 1px rgba(var(--text-color), 0.2);
|
|
}
|
|
#navbar .navbar-item {
|
|
width: auto;
|
|
padding: 1.4em 0;
|
|
margin: 0.6em;
|
|
}
|
|
#navbar .navbar-item .icon {
|
|
height: 1.4rem;
|
|
width: 1.4rem;
|
|
}
|
|
#navbar .navbar-item h5 {
|
|
font-size: 0.8em;
|
|
}
|
|
#navbar .navbar-item:hover .icon {
|
|
stroke: rgba(var(--text-color), 1);
|
|
}
|
|
#navbar .navbar-item:hover h5 {
|
|
color: rgba(var(--text-color), 1);
|
|
}
|
|
#navbar .navbar-item.active:hover .icon {
|
|
stroke: var(--accent-color);
|
|
}
|
|
#navbar .navbar-item.active:hover h5 {
|
|
color: var(--accent-color);
|
|
}
|
|
}
|
|
/*# sourceMappingURL=main.css.map */ |