lumeweb.com/src/index.css

174 lines
3.2 KiB
CSS
Raw Normal View History

2023-04-27 23:33:58 +00:00
@import url("https://fonts.googleapis.com/css?family=Jaldi:400|JetBrains+Mono:400,700|IBM+Plex+Sans+Devanagari:400");
:root {
2023-04-29 19:33:15 +00:00
--primary-dark: rgba(0 0 0 100%);
--primary-light: rgba(255 255 255 100%);
2023-04-27 23:33:58 +00:00
--black:
2023-04-29 19:33:15 +00:00
rgba(0 0 0);
2023-04-27 23:33:58 +00:00
--blue-charcoal:
2023-04-29 19:33:15 +00:00
rgba(1 14 16);
2023-04-27 23:33:58 +00:00
--blue-charcoal-2:
2023-04-29 19:33:15 +00:00
rgba(3 21 24);
2023-04-27 23:33:58 +00:00
--aquamarine:
2023-04-29 19:33:15 +00:00
rgba(122 252 187);
2023-04-27 23:33:58 +00:00
--cloud:
2023-04-29 19:33:15 +00:00
rgba(199 199 199);
2023-04-27 23:33:58 +00:00
--alto:
2023-04-29 19:33:15 +00:00
rgba(217 217 217);
2023-04-27 23:33:58 +00:00
--white:
2023-04-29 19:33:15 +00:00
rgba(255 255 255);
2023-04-27 23:33:58 +00:00
--font-size-s: 20px;
--font-size-m: 21px;
--font-size-l: 25px;
--font-size-xl: 30px;
--font-size-xxl: 32px;
--font-size-xxxl: 45px;
--font-size-xxxxl: 100px;
2023-04-29 19:33:15 +00:00
--font-family-ibm-plex-sans-devanagari: "IBM Plex Sans Devanagari";
2023-04-27 23:33:58 +00:00
--font-family-jaldi: "Jaldi";
2023-04-29 06:34:08 +00:00
--font-family-jetbrains-mono: "JetBrains Mono";
2023-04-27 23:33:58 +00:00
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
a,
a:visited {
text-decoration: none;
}
body {
font-family: "JetBrains Mono", sans-serif;
background-color: #031418;
color: white;
}
.body-block {
align-items: center;
display: flex;
gap: 78px;
}
.centered {
display: grid;
place-items: center;
overflow: hidden;
height: auto;
margin-bottom: 1.5vh;
}
.home {
background-color: #031418;
flex-direction: column;
align-items: center;
display: absolute;
overflow: hidden;
border: 1px none;
height: auto;
width: 100%;
}
.title {
height: 57px;
letter-spacing: -1.5px;
line-height: 102px;
white-space: nowrap;
}
h1 {
font-size: calc(26px + (82 - 26) * ((100vw - 300px) / (1600 - 300)));
font-weight: 100;
}
h2 {
font-size: calc(15px + (25 - 10) * ((100vw - 300px) / (1600 - 300)));
color: var(--aquamarine);
text-transform: uppercase;
z-index: 999;
}
h3 {
font-size: calc(30px + (45 - 30) * ((100vw - 300px) / (1600 - 300)));
min-width: 75vw;
margin-top: 0.5em;
z-index: 999;
}
h4 {
font-size: calc(15px + (21 - 15) * ((100vw - 300px) / (1600 - 300)));
color: var(--cloud);
font-family: var(--font-family-jaldi);
font-weight: 400;
font-style: normal;
max-width: 550px;
margin-top: 0.5em;
line-height: 35px;
}
h5 {
font-size: calc(15px + (29 - 15) * ((100vw - 300px) / (1600 - 300)));
color: var(--white);
font-family: var(--font-family-jaldi);
font-weight: 400;
font-style: normal;
max-width: 300;
line-height: 2rem;
}
h6 {
font-size: calc(15px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
color: var(--cloud);
font-family: var(--font-family-jaldi);
font-weight: 100;
font-style: normal;
max-width: 300;
}
ul {
list-style-type: none;
}
.container {
max-width: 1240px;
margin: auto;
padding: 0 1rem;
}
2023-04-29 19:33:15 +00:00
@media screen and (width <=1050px) {
2023-04-27 23:33:58 +00:00
.left {
display: flex;
position: relative;
overflow: hidden;
white-space: normal;
}
.h2-alignment {
margin-left: -10em;
}
h5 {
font-size: calc(20px + (29 - 15) * ((100vw - 300px) / (1600 - 300)));
color: var(--white);
font-family: var(--font-family-jaldi);
font-weight: 400;
font-style: normal;
max-width: 300;
line-height: 2rem;
}
h6 {
font-size: calc(17px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
color: var(--cloud);
font-family: var(--font-family-jaldi);
font-weight: 100;
font-style: normal;
max-width: 300;
}
}