mirror of
https://github.com/Rushilwiz/neurosecure.git
synced 2025-04-08 14:20:18 -04:00
274 lines
4.8 KiB
CSS
274 lines
4.8 KiB
CSS
@font-face {
|
|
font-family: 'Poppins';
|
|
src: url("fonts/Poppins/Poppins-Regular.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Open Sans';
|
|
src: url("fonts/Open_Sans/OpenSans-Regular.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Astro';
|
|
src: url("fonts/astro.ttf");
|
|
}
|
|
|
|
* {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
overflow-x: hidden;
|
|
background-color: #131313;
|
|
}
|
|
|
|
.nav-wrapper {
|
|
position: fixed;
|
|
width: 100%;
|
|
top: 0;
|
|
z-index: 999;
|
|
}
|
|
|
|
nav {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-pack: distribute;
|
|
justify-content: space-around;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
min-height: 8vh;
|
|
background-color: #131313;
|
|
font-family: "Poppins", sans-serif;
|
|
}
|
|
|
|
nav .logo {
|
|
color: #d4d4d4;
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
font-size: 1.75em;
|
|
}
|
|
|
|
nav .logo span {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
nav ul {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-ms-flex-pack: distribute;
|
|
justify-content: space-around;
|
|
width: 30%;
|
|
}
|
|
|
|
nav ul li {
|
|
list-style: none;
|
|
}
|
|
|
|
nav ul a {
|
|
font-family: "Open Sans", sans-serif;
|
|
color: #d4d4d4;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
nav ul a:hover {
|
|
color: white;
|
|
}
|
|
|
|
.hero {
|
|
color: #d4d4d4;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#hero {
|
|
position: absolute;
|
|
left: 10%;
|
|
top: 20%;
|
|
background-color: transparent;
|
|
z-index: 1;
|
|
}
|
|
|
|
#hero h1 {
|
|
font-family: "Astro", sans-serif;
|
|
text-align: left;
|
|
font-size: 8em;
|
|
padding: 0.5em;
|
|
background: -webkit-linear-gradient(#eee 70%, #333 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
#hero h3 {
|
|
font-family: "Open Sans", serif;
|
|
text-align: left;
|
|
font-size: 2em;
|
|
background-color: transparent;
|
|
}
|
|
|
|
#hero canvas {
|
|
z-index: 999;
|
|
}
|
|
|
|
.about {
|
|
position: relative;
|
|
color: #d4d4d4;
|
|
overflow: hidden;
|
|
background-color: transparent;
|
|
text-align: center;
|
|
}
|
|
|
|
.about h1 {
|
|
font-size: 4em;
|
|
font-family: "Open Sans", sans-serif;
|
|
}
|
|
|
|
.about h4 {
|
|
font-size: 1em;
|
|
font-family: "Open Sans", sans-serif;
|
|
margin-left: 20%;
|
|
width: 60%;
|
|
}
|
|
|
|
.about button {
|
|
padding: 10px 20px;
|
|
border: 3px solid #d4d4d4;
|
|
text-transform: uppercase;
|
|
margin-top: 30px;
|
|
border-radius: 20px;
|
|
font-family: "Astro", sans-serif;
|
|
}
|
|
|
|
.about button a {
|
|
color: #d4d4d4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.about div canvas {
|
|
margin-top: -20%;
|
|
z-index: -1;
|
|
}
|
|
|
|
.timeline {
|
|
position: flex;
|
|
color: #d4d4d4;
|
|
width: 100%;
|
|
height: 100vh;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-box-pack: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.container {
|
|
width: 80%;
|
|
height: auto;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
.container ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.container ul li {
|
|
padding: 20px;
|
|
background-color: #1e1f22;
|
|
color: white;
|
|
border-radius: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.container ul li:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.content h1 {
|
|
font-weight: 500;
|
|
font-size: 25px;
|
|
line-height: 30px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.content p {
|
|
font-size: 16px;
|
|
line-height: 30px;
|
|
font-weight: 300;
|
|
}
|
|
|
|
.content .date {
|
|
font-size: 12px;
|
|
font-weight: 300;
|
|
margin-bottom: 10px;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
@media only screen and (min-width: 768px) {
|
|
.container:before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
-webkit-transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
width: 2px;
|
|
height: 100%;
|
|
background-color: #747474;
|
|
}
|
|
.container ul li {
|
|
width: 50%;
|
|
position: relative;
|
|
margin-bottom: 50px;
|
|
}
|
|
.container ul li:nth-child(odd) {
|
|
float: left;
|
|
clear: right;
|
|
-webkit-transform: translateX(-30px);
|
|
transform: translateX(-30px);
|
|
border-radius: 20px 0px 20px 20px;
|
|
}
|
|
.container ul li:nth-child(even) {
|
|
float: right;
|
|
clear: left;
|
|
-webkit-transform: translateX(30px);
|
|
transform: translateX(30px);
|
|
border-radius: 0px 20px 20px 20px;
|
|
}
|
|
.container ul li::before {
|
|
content: "";
|
|
position: absolute;
|
|
height: 20px;
|
|
width: 20px;
|
|
border-radius: 50%;
|
|
background-color: pink !important;
|
|
color: pink !important;
|
|
z-index: 999;
|
|
top: 0px;
|
|
}
|
|
.container ul li:nth-child(odd)::before {
|
|
-webkit-transform: translate(50%, -50%);
|
|
transform: translate(50%, -50%);
|
|
right: -30px;
|
|
}
|
|
.container ul li:nth-child(even)::before {
|
|
-webkit-transform: translate(-50%, -50%);
|
|
transform: translate(-50%, -50%);
|
|
left: -30px;
|
|
}
|
|
.content .date {
|
|
position: absolute;
|
|
top: -30px;
|
|
}
|
|
.container ul li:hover::before {
|
|
background-color: aqua;
|
|
}
|
|
}
|
|
/*# sourceMappingURL=index.css.map */ |