mirror of
https://github.com/stan-turing/website.git
synced 2025-03-06 20:53:28 +01:00
189 lines
No EOL
3.4 KiB
CSS
189 lines
No EOL
3.4 KiB
CSS
body {
|
|
background-color: #0D1117;
|
|
color: #fff;
|
|
margin: 0;
|
|
text-align: center;
|
|
font-family: 'Roboto', sans-serif;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h3 {
|
|
color: #1F6FEB;
|
|
}
|
|
|
|
p {
|
|
line-height: 2;
|
|
}
|
|
|
|
hr {
|
|
border-style: none;
|
|
background-color: #1F6FEB;
|
|
padding: 3px 0px;
|
|
border-radius: 100px;
|
|
width: 25%;
|
|
margin: 100px auto;
|
|
}
|
|
|
|
.links {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* ######################### Navbar Section ####################### */
|
|
|
|
header {
|
|
height: 80px;
|
|
background: #161b22d5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 30px 0 25px;
|
|
border-radius: 0px 0px 25px 25px;
|
|
position: fixed;
|
|
z-index: 10;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.logo {
|
|
width: 50px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.logo span {
|
|
color: #1F6FEB;
|
|
}
|
|
|
|
.hamburger {
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.nav-bar ul {
|
|
display: flex;
|
|
list-style: none;
|
|
padding-left: 0px;
|
|
}
|
|
|
|
.nav-bar ul li a {
|
|
color: #fff;
|
|
background-color: #2A3039;
|
|
font-size: 16px;
|
|
padding: 8px 17px;
|
|
border: 4px solid #2A3039;
|
|
border-radius: 50px;
|
|
transition: 0.2s;
|
|
margin: 0 8px;
|
|
display: block;
|
|
}
|
|
|
|
.nav-bar ul li a:hover {
|
|
color: #fff;
|
|
border: 4px solid #1F6FEB;
|
|
}
|
|
|
|
.nav-bar ul li a.active {
|
|
color: #fff;
|
|
background-color: #1F6FEB;
|
|
border: 4px solid #1F6FEB;
|
|
}
|
|
|
|
/* ######################### top/home/intro Section ####################### */
|
|
|
|
.top-container {
|
|
background-color: #0D1117;
|
|
}
|
|
|
|
/* ######################### middle container ####################### */
|
|
|
|
.middle-container {
|
|
margin: 100px 0px 0px 0px;
|
|
}
|
|
|
|
/* ########################## whoami Section ####################### */
|
|
|
|
#imprint-title {
|
|
font-size: 2em;
|
|
margin: 50px auto 100px auto;
|
|
padding: 15px 30px;
|
|
background-color: #161B22;
|
|
border: 5px solid #1F6FEB;
|
|
border-radius: 100px;
|
|
width: 180px;
|
|
font-weight: 500;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.imprint {
|
|
width: 400px;
|
|
margin: auto auto 100px auto;
|
|
background-color: #161B22;
|
|
padding: 20px 25px;
|
|
border-radius: 20px;
|
|
text-align: left;
|
|
}
|
|
|
|
/* #################### Media Query aka Responsive Website #################### */
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
|
|
/* ######### Navbar ######### */
|
|
.hamburger {
|
|
display: block;
|
|
cursor: pointer;
|
|
}
|
|
.hamburger .line {
|
|
width: 30px;
|
|
height: 3px;
|
|
background: #1F6FEB;
|
|
margin: 6px 0px;
|
|
border-radius: 50px;
|
|
}
|
|
.nav-bar {
|
|
height: 0px;
|
|
position: absolute;
|
|
top: 80px;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100vw;
|
|
background: #161B22;
|
|
transition: 0.2s;
|
|
overflow: hidden;
|
|
}
|
|
.nav-bar.active {
|
|
height: 210px;
|
|
border-radius: 25px;
|
|
border: 1px solid #2A3039;
|
|
margin: 10px auto 0 auto;
|
|
width: 97%;
|
|
}
|
|
.nav-bar ul {
|
|
display: block;
|
|
width: fit-content;
|
|
margin: 80px auto 0 auto;
|
|
text-align: center;
|
|
transition: 0.5s;
|
|
opacity: 0;
|
|
}
|
|
.nav-bar.active ul {
|
|
opacity: 1;
|
|
}
|
|
.nav-bar ul li a {
|
|
margin-bottom: 15px;
|
|
padding: 10px 30px;
|
|
}
|
|
/* ######### whoami ######### */
|
|
#imprint-title {
|
|
width: 200px;
|
|
}
|
|
.imprint {
|
|
font-size: 1em;
|
|
width: 300px;
|
|
}
|
|
} |