Homepage/res/stylesheet.css

170 lines
3.6 KiB
CSS

/*Root*/
:root {
background-color: rgb(110, 0, 0);
background-image: url('bg.jpg');
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;
height: 100%;
}
/*Top bar settings*/
#box {
background: linear-gradient(to left, rgb(220, 0, 0), rgb(170, 0, 0));
width: 100%;
height: 80px;
position: fixed;
top: 0;
left: 0;
transition: ease-in-out 400ms;
z-index: 2;
}
#box:hover > #links-top a {
font-size: 150%;
padding-top: 10px;
padding-bottom: 10px;
opacity: 1;
}
#box:hover ~ #content {
top: 120px;
transition: ease-in-out 300ms;
}
#box:hover {
height: 120px;
transition: ease-in-out 300ms;
}
/*Links in top bar*/
#links-top {
top: 0;
position: absolute;
text-align: center;
width: 100%;
height: auto;
background-color: rgba(0, 0, 0, 0.4);
transition: ease-in-out 300ms;
}
#links-top a {
text-decoration: none;
color: #fff;
padding-top: 5px;
padding-bottom: 5px;
font-family: 'Quicksand', sans-serif;
font-size: 16px;
display: inline-block;
transition: ease-in-out 200ms;
padding-right: 5px;
padding-left: 5px;
opacity: 0.6;
}
#links-top a:hover {
color: rgb(200,0,50);
padding-right: 20px;
padding-left: 20px;
transition: ease-in-out 200ms;
}
/*Title Bar*/
#title {
font-family: 'Abel', sans-serif;
font-size: 30px;
line-height: 40px;
bottom: 0;
width: 80%;
left: 10%;
height: 40px;
display: block;
text-align: center;
position: absolute;
background-color: rgba(0,0,0,0.2);
color: #fff;
border-top-right-radius: 5px;
border-top-left-radius: 5px;
transition: ease-in-out 200ms;
}
#title:hover {
background-color: rgba(255,255,255,0.8);
transition: ease-in-out 200ms;
color: #000;
height: 50px;
line-height: 50px;
}
/*Page Content*/
#content {
background-color: rgba(50,50,50,0.5);
color: #fff;
height: auto;
top: 80px;
width: 80%;
transition: ease-in-out 200ms;
position: absolute;
left: 10%;
z-index: 0;
text-align: center;
vertical-align: middle;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
#content:hover {
background-color: rgba(200,200,200,0.8);
color: #000;
}
/*Content types*/
.subtitle {
font-size: 20px;
line-height: 40px;
width: 100%;
color: #fff;
height: 40px;
background-color: rgba(0, 0, 0, 0.4);
font-family: 'Glegoo', serif;
transition: ease-in-out 300ms;
}
.subtitle:hover {
height: 50px;
line-height: 50px;
transition: ease-in-out 200ms;
background-color: rgba(0, 0, 0, 0.8);
color: rgb(200,0,50);
}
.text {
font-size: 12px;
line-height: 18px;
font-family: 'Quicksand', sans-serif;
transition: ease-in-out 150ms;
}
/*Footer Settings*/
#footer {
font-family: 'Quicksand', sans-serif;
width: 100%;
height: auto;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
background-color: rgba(0, 0, 0, 0.4);
color: #fff;
font-size: 24px;
line-height: 40px;
transition: ease-in-out 200ms;
}
#footer:hover {
transition: ease-in-out 300ms;
line-height: 60px;
background-color: rgba(0, 0, 0, 0.8);
}
#footer a {
text-decoration: none;
color: #fff;
padding-right: 5px;
padding-left: 5px;
transition: ease-in-out 300ms;
}
#footer a:hover {
color: rgb(200,0,50);
padding-right: 20px;
padding-left: 20px;
transition: ease-in-out 200ms;
}