156 lines
3.1 KiB
CSS
156 lines
3.1 KiB
CSS
/*Root*/
|
|
:root {
|
|
background-color: rgb(110, 0, 0);
|
|
height: 100%;
|
|
}
|
|
|
|
/*Top bar settings*/
|
|
#box {
|
|
background: linear-gradient(to left, rgb(220, 0, 0), rgb(170, 0, 0));
|
|
width: 100%;
|
|
height: 60px;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
transition: ease-in-out 400ms;
|
|
z-index: 2;
|
|
}
|
|
#box:hover #title {
|
|
height: 40px;
|
|
transition: ease-in-out 200ms;
|
|
line-height: 40px;
|
|
}
|
|
#box:hover > #links-top a {
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
opacity: 1;
|
|
}
|
|
#box:hover ~ #content {
|
|
top: 80px;
|
|
transition: ease-in-out 300ms;
|
|
}
|
|
#box:hover {
|
|
height: 80px;
|
|
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: 20px;
|
|
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: 20px;
|
|
line-height: 30px;
|
|
bottom: 0;
|
|
width: 100%;
|
|
left: 0;
|
|
height: 30px;
|
|
display: block;
|
|
text-align: center;
|
|
position: absolute;
|
|
color: #fff;
|
|
transition: ease-in-out 200ms;
|
|
}
|
|
|
|
/*Page Content*/
|
|
#content {
|
|
background-color: rgba(50,50,50,0.5);
|
|
color: #fff;
|
|
height: auto;
|
|
top: 60px;
|
|
width: 100%;
|
|
transition: ease-in-out 200ms;
|
|
position: absolute;
|
|
z-index: 0;
|
|
left: 0;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
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: 14px;
|
|
line-height: 22px;
|
|
width: 100%;
|
|
color: #fff;
|
|
height: 22px;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
font-family: 'Glegoo', serif;
|
|
transition: ease-in-out 300ms;
|
|
}
|
|
.subtitle:hover {
|
|
height: 30px;
|
|
line-height: 30px;
|
|
transition: ease-in-out 200ms;
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
color: rgb(200,0,50);
|
|
}
|
|
.text {
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
font-family: 'Quicksand', sans-serif;
|
|
transition: ease-in-out 150ms;
|
|
}
|
|
|
|
/*Footer Settings*/
|
|
#footer {
|
|
font-family: 'Quicksand', sans-serif;
|
|
width: 100%;
|
|
height: auto;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
color: #fff;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
transition: ease-in-out 200ms;
|
|
}
|
|
#footer:hover {
|
|
transition: ease-in-out 300ms;
|
|
line-height: 30px;
|
|
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;
|
|
} |