eidolon/static/css/main.css

263 lines
3.8 KiB
CSS
Raw Normal View History

2016-08-30 12:22:00 +00:00
body {
display: flex;
min-height: 100vh;
flex-direction: column;
background-image: url('../img/overlay.png'), linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('../img/bg.jpg');
background-image: url('../img/overlay.png'), -moz-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('../img/bg.jpg');
background-image: url('../img/overlay.png'), -ms-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('../img/bg.jpg');
background-image: url('../img/overlay.png'), -webkit-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('../img/bg.jpg');
background-image: url('../img/overlay.png'), -o-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('../img/bg.jpg');
background-size: cover;
background-attachment: fixed;
color: rgba(255,255,255,0.7);
}
a {
color: white;
text-decoration: none;
font-weight: 600;
transition: color 0.25s ease-in-out;
}
a figcaption {
font-size: 14pt;
text-decoration: none;
transition: color 0.25s ease-in-out;
}
a:hover, .item a:hover, .medium a:hover, a:hover figcaption {
color: #d64760;
text-decoration: underline;
transition: color 0.25s ease-in-out;
}
#wrapper {
flex: 1;
}
#message {
padding: 1em 2em;
background: lightyellow url('../img/overlay.png');
color: #d64760;
font-size: 1.5em;
position:relative;
top: 80px;
z-index: 5;
}
#header {
margin: 40px 80px 40px;
}
2016-08-31 19:37:20 +00:00
.reel {
2016-08-30 12:22:00 +00:00
list-style: none;
display: block;
2016-08-31 19:37:20 +00:00
margin: 80px 80px 0;
2016-09-02 13:55:50 +00:00
padding: 4em 0 4em;
2016-08-30 12:22:00 +00:00
text-align: center;
}
.item, .medium {
color: rgba(0,0,0,0.7);
display: inline-block;
position: relative;
background: rgba(255,255,255,0.8) url('../img/overlay.png');
border: 10px solid white;
2016-08-31 14:34:50 +00:00
padding-top: 0;
padding-left: 0;
vertical-align: middle;
2016-08-30 12:22:00 +00:00
}
.item {
height: 300px;
width: 400px;
margin-right: -14px;
margin-bottom: -10px;
}
.item a {
padding: 20px;
display: inline-block;
width: 100%;
height: 100%;
}
.subheader {
background: rgba(214, 71, 96, 0.7) url('../img/overlay.png');
2016-08-31 14:34:50 +00:00
display: inline-flex;
flex-direction: column;
}
.subheader > h1 {
flex: 1;
top: 50%;
margin: 0;
display: block;
width: 100%;
}
2016-08-31 19:37:20 +00:00
.subheader > * {
padding: 20px;
}
2016-08-31 14:34:50 +00:00
.subheader a {
flex: 1;
display: inline;
padding: 0;
line-height: 50px;
}
.subheader a:hover {
color: white;
}
.subheader p {
font-size: 14pt;
2016-08-31 19:37:20 +00:00
display: block;
height: 150px;
2016-08-30 12:22:00 +00:00
}
.column {
margin: 0 40px 0;
}
.column > div {
width: 100%
}
.medium {
margin: 0px auto -10px;
padding: 20px;
}
.image {
text-align: center;
2016-08-30 12:33:45 +00:00
padding: 5%;
2016-08-30 12:22:00 +00:00
}
.item a, .medium a {
color: black;
transition: color 0.25s ease-in-out;
}
2016-08-31 14:34:50 +00:00
.item img {
2016-09-02 18:49:37 +00:00
max-height: 230px;
2016-08-31 14:34:50 +00:00
}
2016-09-02 18:47:39 +00:00
figure {
position: relative;
top: 50%;
transform: translateY(-50%);
}
2016-08-30 12:22:00 +00:00
figure img {
display: block;
margin: 0 auto;
}
figcaption {
text-align: center;
font-weight: bold;
}
img {
max-width: 100%;
max-height: 100%;
}
nav {
width: 100%;
padding: 1em 2em;
background: #d64760 url('../img/overlay.png');
position: fixed;
z-index: 6;
}
nav li {
display: inline-block;
}
footer {
padding: 1em 2em;
}
#search {
padding-top: 5px;
}
.left {
float: left;
}
.right {
float: right;
}
2016-09-09 19:38:11 +00:00
ul, ol {
text-align: left;
}
2017-01-06 19:26:34 +00:00
.tags ul {
padding: 0;
}
.tags li {
display: inline;
}
.tags li:before {
display: inline-block;
background-image: url(../img/tags.svg);
width: 1.8ex;
height: 1.5ex;
background-size: contain;
background-repeat: no-repeat;
content: "";
}
.comment {
text-align: left;
}
.reply {
padding-left: 50px;
}
2016-12-03 20:53:55 +00:00
.js-hidden {
display: none;
}
2016-12-03 21:07:17 +00:00
.redbox {
padding: 1em;
border-radius: 5px;
background-color: red;
}
2016-08-30 12:22:00 +00:00
@media (max-width: 755px) {
#main {
margin-top: 120px;
}
2016-09-03 15:07:20 +00:00
2016-08-30 12:22:00 +00:00
#message {
top: 120px;
}
}
@media (max-width: 480px) {
2016-09-03 15:07:39 +00:00
.reel {
margin: 80px 0 0;
}
.item, .medium {
border: 1px solid white;
}
.item {
margin-bottom: -1px;
2016-08-30 12:22:00 +00:00
margin-right: 0;
2016-09-03 15:07:39 +00:00
width: auto;
max-width: 400px;
2016-09-10 10:13:44 +00:00
min-width: 100%;
2016-08-30 12:22:00 +00:00
}
}