Thiemoo.at/css/style.css

779 lines
12 KiB
CSS

html, body {
background: #121921;
font-family: 'Trebuchet MS', sans-serif;
margin: 0;
padding: 0;
height: 100%;
}
.welcome {
height: 100%;
}
.avatar {
position: absolute;
top: 30%;
left: 10%;
}
.avatar-img {
width: 200px;
height: auto;
border-radius: 50%;
margin-top: 1%;
animation-name: avatar-picture-fadein;
animation-duration: 1.5s;
box-shadow: 2px 1px 3px 1px #1b2631;
}
.avatar .name {
margin-left: -5%;
margin-top: -1px;
margin-bottom: 0;
color: #7996b9;
}
.avatar .social-media {
display: inline-block;
font-size: 1.3em;
margin-left: 20%;
margin-top: 10px;
}
.avatar a {
text-decoration: none;
color: white;
transition: 1s;
}
.avatar a:hover {
color: #6699ff;
}
.avatar .social-media i {
margin-right: 15px;
}
.my-world {
position: absolute;
transform: rotate(10deg);
top: 30%;
left: 45%;
}
.my-world h1 {
color: #7996b9;
font-size: 3em;
}
.my-world span {
color: #6699ff;
}
.my-world p {
margin-left: 10px;
margin-top: -15px;
color: #cccccc;
}
/* Navbar shit */
.navbar {
position: fixed;
top: 0;
transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
transition-duration:0.6s;
width: 100%;
height: 60px;
transition: background-color 0.5s;
background-color: none;
}
.welcome .colored {
background-color: #1b2631 !important;
z-index: 10;
}
.navbar .navbar-name {
position: relative;
top: 20%;
left: 5%;
color: white;
font-family: 'DishOut';
font-size: 2.1em;
text-decoration: none;
width: 20px;
}
.navbar .menu-button {
position: absolute;
right: 3%;
top: 25%;
font-size: 2em;
color: white;
}
.navbar .navbar-name:hover {
cursor: pointer;
}
.navbar .menu-button {
transition: 0.5s;
}
.navbar .menu-button:hover {
color: #66c2ff
}
/* Sidebar shit */
.sidebar {
position: fixed;
background-color: #243242;
transition: 1s;
width: 0%;
height: 100%;
z-index: 2;
box-shadow: 1px 1px #1b2631;
}
.sidebar hr {
color: #1b2631;
}
.uncolapsed {
width: 250px;
}
.content {
position: absolute;
left: -200px;
transition: 1s;
text-align: center;
color: white;
width: 100%;
}
.visible {
left: 0px;
}
.sidebar ul {
text-align: left;
width: 100%;
margin-left: -40px;
list-style: none;
}
.sidebar li {
font-family: "Open Sans", sans-serif;
height: 75px;
transition: 0.5s;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.sidebar li:hover {
background-color: #1b2631;
}
.sidebar a {
position: absolute;
width: 100%;
margin-top: 10%;
text-decoration: none;
color: #5d5f63;
}
.sidebar .icon {
margin-right: 15%;
margin-left: 15%;
}
.sidebar li span {
margin-left: 20px;
text-align: right;
font-size: 1.3em;
top: 50%;
}
.sidebar li i {
width: 10px;
}
.home .icon::before {
font-family: FontAwesome;
content: '\f015';
color: #5d5f63;
font-weight: normal;
font-style: normal;
font-size: 1.3em;
}
.portfolio .icon::before {
font-family: FontAwesome;
content: '\f1ea';
color: #5d5f63;
font-weight: normal;
font-style: normal;
font-size: 1.3em;
}
.server .icon::before {
font-family: FontAwesome;
content: '\f233';
color: #5d5f63;
font-weight: normal;
font-style: normal;
font-size: 1.3em;
}
.projekte .icon::before {
font-family: FontAwesome;
content: '\f21e';
color: #5d5f63;
font-weight: normal;
font-style: normal;
font-size: 1.3em;
}
.blog .icon::before {
font-family: FontAwesome;
content: '\f040';
color: #5d5f63;
font-weight: normal;
font-style: normal;
font-size: 1.3em;
}
.sidebar .active::before {
color: #10b981;
}
.sidebar .active {
color: #10b981;
background-color: #1b2631;
}
/* Animation vavbar-name */
.navbar .name-t {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0;
animation-fill-mode: forwards;
}
.navbar .name-h {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0.125s;
animation-fill-mode: forwards;
color: white;
}
.navbar .name-i {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0.25s;
animation-fill-mode: forwards;
color: white;
}
.navbar .name-e {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0.375s;
animation-fill-mode: forwards;
color: white;
}
.navbar .name-m {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0.5s;
animation-fill-mode: forwards;
color: white;
}
.navbar .name-o {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0.625s;
animation-fill-mode: forwards;
color: white;
}
.navbar .name-o2 {
animation-name: name-fade;
animation-duration: 0.25s;
animation-delay: 0.75s;
animation-fill-mode: forwards;
color: white;
}
/* DIVIDER */
.navbar .navbar-name:hover .name-t {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0s;
}
.navbar .navbar-name:hover .name-h {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0.125s;
}
.navbar .navbar-name:hover .name-i {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0.25s;
}
.navbar .navbar-name:hover .name-e {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0.375s;
}
.navbar .navbar-name:hover .name-m {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0.25s;
}
.navbar .navbar-name:hover .name-o {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0.125s;
}
.navbar .navbar-name:hover .name-o2 {
animation-name: name-color;
animation-duration: 0.5s;
animation-delay: 0s;
}
/* External css */
.mouse {
overflow:hidden;
position:absolute;
left:50%;
top:90%;
width:24px;
margin: -12px;
height:50px;
border:2px solid white;
border-radius:30px;
opacity:.3;
}
.mouse:after {
display: block;
content:"";
position:absolute;
left:13px;
top:10px;
width:4px;
height:4px;
margin-left: -3px;
background-color:white;
border-radius:2px;
animation: mouse-wheel 2.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
/* Fonts */
@font-face {
font-family: DishOut;
src: url(../fonts/dishout.ttf);
}
/* Portfolio */
.portfolio-wrapper {
vertical-align: center;
background-color: white;
height: 300px;
}
.portfolio-wrapper h1 {
text-align: center;
left: 50%;
padding-top: 20px;
font-family: DishOut;
}
.portfolio-wrapper p {
text-align: center;
width: 60%;
color: #1a1a1a;
margin: 0 auto;
}
/* Server */
.server-wrapper {
vertical-align: center;
background-color: #233142;
margin-top: -22px;
height: 400px;
}
.server-wrapper h1 {
text-align: center;
left: 50%;
padding-top: 20px;
font-family: DishOut;
color: white;
}
.server-index {
display: inline-block;
color: #7996b9;
}
.servers {
margin-top: 50px;
text-align: center;
}
.server-index .server-icon {
font-size: 6em;
}
.server-index .server-led {
display: block;
position: relative;
font-size: 0.9em;
left: 37px;
top: -32px;
animation-name: online;
animation-fill-mode:forwards;
animation-duration: 5s;
animation-iteration-count: infinite;
}
.server-index .server-led:nth-child(3) {
top: -73px;
animation-delay: 0.5s;
}
.server-index .server-led:nth-child(4) {
top: -115px;
animation-delay: 0.8s;
}
.server-index .server-led {
color: #66ff66;
}
.server-wrapper .server-info {
display: inline-block;
}
.server-wrapper .server-name {
margin-top: -45px;
}
.server-wrapper a {
text-decoration: none;
color: #7996b9;
}
.server-index:last-child {
margin-left: 400px;
}
.server-wrapper p {
color: white;
text-align: center;
width: 30%;
margin: 0 auto;
}
/* Projekte */
.projekte-wrapper {
vertical-align: center;
background-color: white;
margin-top: -22px;
}
.projekte-wrapper h1 {
text-align: center;
left: 50%;
padding-top: 20px;
font-family: DishOut;
}
.projekte-wrapper p {
text-align: center;
width: 30%;
margin: 0 auto;
}
.projekte-grid {
display: grid;
grid-template-columns: auto auto auto;
margin-left: 50px;
}
.projekt {
margin-top: 25px;
width: 90%;
background: #d9d9d9;
box-shadow: 2px 2px 1px #e6e6e6;
}
.projekt img {
width: 100%;
}
.projekt h2 {
color: black;
font-family: DishOut;
margin-top: 10px;
text-align: center;
font-size: 2em;
}
.projekt a {
font-style: none;
color: green;
}
.projekt p {
width: 90%;
margin-bottom: 10px;
}
.projekt .button {
border: 0;
background: #354a64;
color: #bfbfbf;
width: 110px;
height: 40px;
margin: 20px auto;
border-radius: 5px;
display: block;
text-decoration: none;
text-align: center;
font-family: 'Trebuchet MS', sans-serif;
font-size: 1em;
transition-duration: 0.4s;
line-height: 40px;
}
.projekt .button:hover {
background-color: #006080;
}
/* Blog */
.blog-wrapper {
vertical-align: center;
background-color: #233142;
margin-top: -22px;
}
.blog-wrapper h1 {
text-align: center;
left: 50%;
padding-top: 20px;
font-family: DishOut;
color: white;
}
.blog-wrapper p {
text-align: center;
width: 30%;
margin: 0 auto;
color: white;
}
.blog-grid {
display: grid;
grid-template-columns: auto auto auto;
margin-left: 50px;
}
.blog-index {
margin-top: 25px;
width: 90%;
background: #354a64;
box-shadow: 2px 2px 1px #2c3e54;
}
.blog-index h2 {
font-family: DishOut;
margin-top: 10px;
text-align: center;
font-size: 2em;
color: white;
}
.blog-index p {
width: 90%;
margin-bottom: 10px;
}
.blog-index .button {
border: 0;
background: #233142;
color: #bfbfbf;
width: 110px;
height: 40px;
margin: 20px auto;
border-radius: 5px;
display: block;
text-decoration: none;
text-align: center;
font-family: 'Trebuchet MS', sans-serif;
font-size: 1em;
transition-duration: 0.4s;
line-height: 40px;
}
.blog-index .button:hover {
background-color: #006080;
}
/* Footer */
.footer {
vertical-align: center;
background-color: white;
/*margin-top: -21px;*/
height: 150px;
}
.footer p {
text-align: center;
position: relative;
bottom: -30px;
left: 25%;
width: 50%;
color: #333333;
}
.footer i {
color: red;
}
.footer a {
display: block;
text-decoration: none;
color: #333333;
transition: 1s;
}
.footer a:hover {
color: #6699ff;
}
.footer-links {
position: relative;
width: 20%;
top: 40px;
left: 20%;
}
.footer-socialmedia {
position: relative;
display: inline-block;
float: right;
right: 20%;
}
.footer-socialmedia a:not(:first-child) {
margin-left: 20px;
}
.footer-socialmedia a {
display: inline-block;
font-size: 1.5em;
}
.footer-socialmedia i {
color: #233142;
transition: 1s;
}
.footer-socialmedia i:hover {
color: #6699ff;
}
/* Impressum */
.impressum {
position: fixed;
margin: 0 auto;
top: 10%;
text-align: center;
width: 100%;
}
.thats-me {
position: relative;
text-align: center;
font-family: 'DishOut';
color: #7996b9;
margin-left: 190px;
top: -245px;
width: 100%;
}
.thats-me-arrow {
position: absolute;
height: 125px;
margin-left: 100px;
top: 20px;
transform: rotate(93deg);
color: #6699ff;
}
.impressum-info {
position: fixed;
width: 100%;
top: 300px;
text-align: center;
}
.impressum-info span {
color: #8aa3c1;
}
.impressum-info p {
color: #466386;
}
.impressum-info a {
text-decoration: none;
color: #7996b9;
font-family: 'Trebuchet MS', sans-serif;
}
.impressum-info a:hover {
text-decoration: underline;
}