epicyon/epicyon.css

122 lines
2.0 KiB
CSS
Raw Normal View History

2019-07-21 11:20:49 +00:00
@charset "UTF-8";
2019-07-21 09:09:28 +00:00
body {
2019-07-21 12:41:31 +00:00
margin: 0 auto;
max-width: 80%;
padding: 0 20px;
2019-07-21 09:09:28 +00:00
}
.container {
2019-07-21 12:41:31 +00:00
border: 2px solid #dedede;
background-color: #f1f1f1;
border-radius: 5px;
padding: 10px;
margin: 10px 0;
2019-07-21 09:09:28 +00:00
}
.darker {
2019-07-21 12:41:31 +00:00
border-color: #ccc;
background-color: #ddd;
2019-07-21 09:09:28 +00:00
}
.container::after {
2019-07-21 12:41:31 +00:00
content: "";
clear: both;
display: table;
2019-07-21 09:09:28 +00:00
}
.container img {
2019-07-21 12:41:31 +00:00
float: left;
max-width: 60px;
width: 100%;
margin-right: 20px;
2019-07-21 20:22:58 +00:00
border-radius: 10%;
2019-07-21 09:09:28 +00:00
}
2019-07-21 11:20:49 +00:00
.container img.attachment {
2019-07-21 12:41:31 +00:00
max-width: 100%;
margin-left: 25%;
width: 50%;
2019-07-21 20:22:58 +00:00
border-radius: 10%;
2019-07-21 11:20:49 +00:00
}
2019-07-21 09:09:28 +00:00
.container img.right {
2019-07-21 12:41:31 +00:00
float: right;
margin-left: 20px;
margin-right:0;
2019-07-21 09:09:28 +00:00
}
.time-right {
2019-07-21 12:41:31 +00:00
float: right;
color: #aaa;
2019-07-21 09:09:28 +00:00
}
.time-left {
2019-07-21 12:41:31 +00:00
float: left;
color: #999;
}
.post-title {
margin-top: 0px;
color: #999;
2019-07-21 09:09:28 +00:00
}
2019-07-21 18:18:58 +00:00
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
}
.title {
color: grey;
font-size: 18px;
}
button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
a {
text-decoration: none;
font-size: 22px;
color: black;
}
button:hover, a:hover {
opacity: 0.7;
}
/* The hero image */
.hero-image {
/* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
/*background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("photographer.jpg");*/
/* Set a specific height */
height: 50%;
/* Position and center the image to scale nicely on all screens */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
/* Place text in the middle of the image */
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}