346 lines
4.4 KiB
CSS
346 lines
4.4 KiB
CSS
body {
|
|
font-family: Fira Sans, Liberation Sans, DejaVu Sans, sans-serif;
|
|
font-size: 1.1em;
|
|
line-height: 1.5em;
|
|
color: #ffc8dd;
|
|
background-color: #2e2016;
|
|
hyphens: auto;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 10px solid #c6888d;
|
|
padding: 1px 1em;
|
|
margin-left: 1em;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
h1 {
|
|
line-height: 1.5em;
|
|
max-width: 90%;
|
|
}
|
|
|
|
h1.error {
|
|
line-height: 0;
|
|
font-size: 20em;
|
|
}
|
|
|
|
a {
|
|
color: #ff99c8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.box {
|
|
border: 5px solid #c6888d;
|
|
border-radius: 10px;
|
|
margin: 1%;
|
|
background-color: #473032;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.left {
|
|
margin: 1%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 58%;
|
|
float: left;
|
|
display: inline-block;
|
|
}
|
|
|
|
.right {
|
|
margin: 1%;
|
|
margin-right: 2%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 34%;
|
|
float: right;
|
|
display: inline-block;
|
|
}
|
|
|
|
.sidebar.box,
|
|
.articles.box,
|
|
.pagination.box {
|
|
margin: 0 0 5% 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.wide-pagination {
|
|
margin: 1% 1% -4% 1%;
|
|
width: 92.5%;
|
|
}
|
|
|
|
.trending.box,
|
|
.leaderboard.box,
|
|
.heading.box,
|
|
.footer.box {
|
|
line-height: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.footer.box {
|
|
width: 97%;
|
|
}
|
|
|
|
.leaderboard.box p {
|
|
line-height: 1.1em;
|
|
}
|
|
|
|
.heading.box {
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
ul.navbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
list-style-type: none;
|
|
align-items: center;
|
|
width: 80%;
|
|
}
|
|
|
|
.dropdown,
|
|
.tooltip {
|
|
display: none;
|
|
position: absolute;
|
|
margin-left: 0;
|
|
margin-top: 0;
|
|
padding: 0.5% 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
hr {
|
|
width: 90%;
|
|
}
|
|
|
|
div.dropdown ul {
|
|
list-style-type: none;
|
|
margin-left: -20%;
|
|
}
|
|
|
|
ul.navbar li:hover div.dropdown,
|
|
div.dropdown:hover,
|
|
ul.leaderboard li:hover p {
|
|
display: block;
|
|
}
|
|
|
|
ul.leaderboard {
|
|
display: flex;
|
|
flex-wrap: none;
|
|
justify-content: space-between;
|
|
list-style-type: none;
|
|
align-items: center;
|
|
margin: 0%;
|
|
padding: 1% 0;
|
|
width: 95%;
|
|
}
|
|
|
|
ul.leaderboard li a img {
|
|
width: 95%;
|
|
}
|
|
|
|
div.trending p {
|
|
display: inline-block;
|
|
padding: 0 1%;
|
|
}
|
|
|
|
ul.newsfeed {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.articles img {
|
|
max-width: 80%;
|
|
}
|
|
|
|
ul.rl {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
list-style-type: none;
|
|
margin-left: -40px;
|
|
margin-right: 10%;
|
|
}
|
|
|
|
h3 {
|
|
text-align: center;
|
|
}
|
|
|
|
table.gallery tr td {
|
|
width: 50%;
|
|
vertical-align: top;
|
|
}
|
|
|
|
table.gallery img {
|
|
width: 100%;
|
|
}
|
|
|
|
table.trending-images tr td {
|
|
width: 30%;
|
|
}
|
|
|
|
table.trending-images img {
|
|
width: 10vw;
|
|
height: 10vw;
|
|
}
|
|
|
|
.articles.box {
|
|
margin-bottom: 3%;
|
|
padding-bottom: 3%;
|
|
padding-left: 5%;
|
|
}
|
|
|
|
.pagination.box {
|
|
text-align: center;
|
|
margin-top: 0;
|
|
width: 105%;
|
|
}
|
|
|
|
.meme.box {
|
|
width: 93%;
|
|
min-height: 8em;
|
|
padding: 0 2%;
|
|
padding-bottom: 1em;
|
|
position: relative;
|
|
}
|
|
|
|
.meme.box .subdiv {
|
|
bottom: 1em;
|
|
position: absolute;
|
|
}
|
|
|
|
.meme-body.box {
|
|
padding: 1em 2%;
|
|
}
|
|
|
|
.meme.box h1 {
|
|
margin-bottom: 0.5em;
|
|
margin-top: 0.3em;
|
|
max-width: 65%;
|
|
}
|
|
|
|
.meme.box img {
|
|
max-height: 100%;
|
|
width: 35%;
|
|
float: right;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.meme.box .subdiv p, .meme.box .subdiv h5 {
|
|
margin: 0.5em 0;
|
|
line-height: 1.1em;
|
|
}
|
|
|
|
.meme.box .subdiv h5 {
|
|
margin-bottom: 0.75em;
|
|
}
|
|
|
|
.meme-body.box img {
|
|
display: inline-block;
|
|
margin-right: 1%;
|
|
margin-bottom: 1%;
|
|
height: 8em;
|
|
transition: transform .2s;
|
|
|
|
}
|
|
|
|
.meme-body.box img:hover {
|
|
transform: scale(1.5);
|
|
}
|
|
|
|
div.references p {
|
|
width: 50%;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
float: left;
|
|
}
|
|
|
|
ul.meme-list-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
list-style-type: none;
|
|
align-items: flex-start;
|
|
margin: 0%;
|
|
padding: 1% 0;
|
|
width: 100%;
|
|
}
|
|
|
|
ul.meme-list-list a:hover p.tooltip {
|
|
display: block;
|
|
margin-top: -5em;
|
|
}
|
|
|
|
.photos.box,
|
|
.videos.box,
|
|
.meme-list.box,
|
|
.category-list.box {
|
|
width: 93%;
|
|
padding: 0 2%;
|
|
}
|
|
|
|
.photos.box ul li,
|
|
.videos.box ul li,
|
|
.meme-list.box ul li {
|
|
display: inline;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.category-list.box ul {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.category-list.box ul li {
|
|
width: 30%;
|
|
}
|
|
.category-list.box ul li ul {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.category-list.box ul li ul li {
|
|
width: 100%;
|
|
}
|
|
|
|
.photos.box ul li ul,
|
|
.videos.box ul li ul,
|
|
.meme-list.box ul li ul {
|
|
display: none;
|
|
}
|
|
|
|
.photo-container {
|
|
display: flex;
|
|
}
|
|
|
|
.photos-gallery.box,
|
|
.videos-table.box,
|
|
.meme-list-body.box {
|
|
width: 87%;
|
|
padding: 1% 5%;
|
|
}
|
|
|
|
.photos-gallery.box img,
|
|
.videos-table.box img,
|
|
.meme-list-body.box img {
|
|
margin: 0.5em;
|
|
max-height: 15em;
|
|
}
|
|
|
|
.photo-header.box {
|
|
padding: 0 2%;
|
|
width: 50%;
|
|
}
|
|
|
|
.photo-body.box {
|
|
padding: 2%;
|
|
width: 36%;
|
|
}
|
|
|
|
.photo-body.box img {
|
|
width: 100%;
|
|
}
|