This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/themes/rule34v2/style.css

364 lines
7.3 KiB
CSS
Raw Normal View History

2020-02-01 18:22:08 +00:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* things common to all pages *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
:root {
2020-02-01 18:22:08 +00:00
font-family: "Arial", sans-serif;
font-size: 14px;
}
BODY {
2023-12-26 02:15:42 +00:00
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPBAMAAADJ+Ih5AAAAFVBMVEV8und+uXeo5aKo5qOq5aOr46Ks5KN5+6UZAAAAN0lEQVQImWNIc2FLcUhzYWBIczRLEU5zNGBwEQlxdHURCWBwdEkRcXN0SWBgVkswSgMSDDRTDADa2B2AhUf94AAAAABJRU5ErkJggg==');
2020-03-13 09:23:54 +00:00
margin: 0;
2020-02-01 18:22:08 +00:00
}
#header {
border-bottom: 1px solid #7EB977;
2020-03-13 09:23:54 +00:00
margin-top: 0;
2020-02-01 18:22:08 +00:00
margin-bottom: 16px;
padding: 8px;
background: #ACE4A3;
text-align: center;
}
H1 {
font-size: 5rem;
2020-03-13 09:23:54 +00:00
margin: 0;
padding: 0;
2020-02-01 18:22:08 +00:00
}
H1 A {
color: black;
}
H3 {
text-align: center;
2020-03-13 09:23:54 +00:00
margin: 0;
2020-02-01 18:22:08 +00:00
}
THEAD {
font-weight: bold;
}
TD {
vertical-align: top;
text-align: center;
}
#flash {
background: #FF7;
display: block;
padding: 8px;
margin: 8px;
border: 1px solid #882;
}
TABLE.zebra {background: #ACE4A3; border-collapse: collapse; border: 1px solid #7EB977;}
TABLE.zebra TD {font-size: 0.8rem;margin: 0; border-top: 1px solid #7EB977; padding: 2px;}
2020-02-01 18:22:08 +00:00
TABLE.zebra TR:nth-child(odd) {background: #9CD493;}
TABLE.zebra TR:nth-child(even) {background: #ACE4A3;}
FOOTER {
clear: both;
padding: 8px;
font-size: 0.7rem;
2020-02-01 18:22:08 +00:00
text-align: center;
border-top: 1px solid #7EB977;
background: #ACE4A3;
}
2020-07-07 09:41:06 +00:00
2020-02-01 18:22:08 +00:00
A {color: #000099; text-decoration: none; font-weight: bold;}
A:hover {color: #000099; text-decoration: underline;}
A:visited {color: #000099; text-decoration: none}
A:active {color: #000099; text-decoration: underline;}
UL {
text-align: left;
}
2021-03-14 15:32:02 +00:00
.ad1{
display:flex;
justify-content:center;
}
2020-02-01 18:22:08 +00:00
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* the navigation bar, and all its blocks *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
NAV {
width: 250px;
float: left;
text-align: center;
margin-left: 16px;
}
NAV .blockbody {
font-size: 0.85rem;
2020-02-01 18:22:08 +00:00
text-align: center;
}
NAV TABLE {
width: 100%;
}
NAV TD {
vertical-align: middle;
}
NAV INPUT {
width: 100%;
2020-03-13 09:23:54 +00:00
padding: 0;
2020-02-01 18:22:08 +00:00
}
NAV SELECT {
width: 100%;
2020-03-13 09:23:54 +00:00
padding: 0;
2020-02-01 18:22:08 +00:00
}
2020-10-25 18:03:47 +00:00
#Friends_of_Pahealleft {
z-index: 0;
position: relative;
}
2020-02-01 18:22:08 +00:00
.comment .info {
background: #ACE4A3;
border: 1px solid #7EB977;
}
.more:after {
content: " >>>";
}
.tag_count:before {
content: "(";
}
.tag_count:after {
content: ")";
}
#imagelist .blockbody,
#paginator .blockbody {
background: none;
border: none;
box-shadow: none;
}
#commentlistimage .blockbody,
#commentlistrecent .blockbody {
background: none;
border: none;
box-shadow: none;
2020-03-13 09:23:54 +00:00
padding: 0;
2020-02-01 18:22:08 +00:00
}
#commentlistimage .blockbody .comment,
#commentlistrecent .blockbody .comment {
2020-03-13 09:23:54 +00:00
margin-left: 0;
margin-right: 0;
2020-02-01 18:22:08 +00:00
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* the main part of each page *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
ARTICLE {
margin-left: 276px;
margin-right: 16px;
text-align: center;
height: 1%;
margin-top: 16px;
}
ARTICLE TABLE {
width: 90%;
margin: auto;
}
NAV SECTION:first-child H3 {
2020-03-13 09:23:54 +00:00
margin-top: 0;
2020-02-01 18:22:08 +00:00
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* specific page types *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#pagelist {
margin-top: 32px;
}
#tagmap A {
padding: 8px 4px 8px 4px;
}
SECTION>.blockbody, .comment, .setupblock {
background: #ACE4A3;
margin: 8px;
border: 1px solid #7EB977;
padding: 8px;
}
SECTION>H3 {
text-align: center;
background: #9CD493;
margin: 8px;
border: 1px solid #7EB977;
padding: 8px;
}
.thumb {
width: 226px;
display: inline-block;
zoom: 1; /* ie6 */
*display: inline; /* ie6 */
text-align: center;
margin-bottom: 8px;
}
.thumb IMG {
border: 1px solid #7EB977;
background: #ACE4A3;
padding: 4px;
}
.username {
font-weight: bold;
}
#bans TD, .image_info TD {
vertical-align: middle;
}
#bans INPUT {
font-size: 0.85rem;
2020-02-01 18:22:08 +00:00
}
.need-del {
display: none;
}
.can-del .need-del {
display: inline;
}
.unread {
color: red;
}
2023-12-14 22:08:31 +00:00
[data-tags~="ai-generated"]>A>IMG { background: #BC8F8F; }
2020-02-01 18:22:08 +00:00
[data-tags~="animated"]>A>IMG { background: #CC00CC; }
[data-ext="mp4"]>A>IMG,
[data-ext="webm"]>A>IMG { background: #0000FF; }
#menuh-container {
float: none;
2020-07-07 09:41:06 +00:00
width: 650px;
2020-02-01 18:22:08 +00:00
margin: auto;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* responsive overrides *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@media (max-width: 750px) {
.atoz, #paginator {
font-size: 2rem;
2020-02-01 18:22:08 +00:00
}
.header-sites {
display: none;
}
SECTION>.blockbody {
overflow-x: auto;
}
}
/* responsive padding */
@media (max-width: 1024px) {
2020-03-13 09:23:54 +00:00
NAV {margin-left: 0;}
ARTICLE {margin-right: 0; margin-left: 242px;}
2020-02-01 18:22:08 +00:00
}
@media (max-width: 750px) {
2020-03-13 09:23:54 +00:00
NAV {margin-left: 0;}
ARTICLE {margin-right: 0; margin-left: 250px;}
2020-02-01 18:22:08 +00:00
}
/* responsive navbar */
#nav-toggle {display: none;}
@media (max-width: 750px) {
TD#nav-toggle {display: table-cell; width: 40px;}
#nav-toggle A {border: 1px solid black; border-radius: 8px;}
#nav-toggle A:hover {text-decoration: none;}
NAV>SECTION>.blockbody,
NAV>SECTION>.blockbody>.comment {
2020-03-13 09:23:54 +00:00
margin: 0;
2020-02-01 18:22:08 +00:00
}
NAV>SECTION>H3 {
2020-03-13 09:23:54 +00:00
margin: 0;
2020-02-01 18:22:08 +00:00
}
BODY.navHidden #menuh-container {display: none;}
BODY.navHidden NAV {display: none;}
2020-03-13 09:23:54 +00:00
BODY.navHidden ARTICLE {margin-left: 0;}
2020-02-01 18:22:08 +00:00
/*
NAV {
position: fixed;
top: 6.5em;
bottom: 0px;
overflow-y: scroll;
}
*/
}
/* sticky header */
@media (max-width: 750px) {
BODY.navHidden {padding-top: 5.4em}
}
@media (max-width: 750px) {
2020-03-13 09:23:54 +00:00
#header {position: fixed; top: 0; left: 0; z-index: 99999999999;}
2020-02-01 18:22:08 +00:00
.ui-autocomplete {z-index: 999999999999;}
BODY {padding-top: 7em}
}
/* responsive header */
#Uploadleft {display: none;}
#Uploadhead {display: block;}
#UserBlockleft {display: none;}
#UserBlockhead {display: block;}
#Loginleft {display: none;}
#Loginhead {display: block;}
.headcol {width: 250px; font-size: 0.85rem;}
2020-02-01 18:22:08 +00:00
.headbox {width: 80%; margin: auto;}
#big-logo {display: table-cell;}
#mini-logo {display: none;}
@media (max-width: 1024px) {
#Uploadleft {display: block;}
#Uploadhead {display: none;}
#UserBlockleft {display: block;}
#UserBlockhead {display: none;}
#Loginleft {display: block;}
#Loginhead {display: none;}
.headcol {display: none;}
.headbox {width: 100%; margin: auto;}
#big-logo {display: none;}
#mini-logo {display: table-cell; width: 100px;}
/* hide nav-search when header-search is sticky */
2020-03-13 09:23:54 +00:00
ARTICLE {margin-top: 0;}
#Navigationleft .blockbody {font-size: 1.5rem;}
2020-02-01 18:22:08 +00:00
#Navigationleft .blockbody P,
#Navigationleft .blockbody FORM
{display: none;}
}
/* responsive comments */
.comment_list_table {width: 100%;}
/* responsive misc */
@media (max-width: 750px) {
#shm-main-image { max-width: 95%; }
}
#ed91727bc9c7a73fdcec6db562e63151main {
overflow: scroll;
}
2023-12-26 13:08:50 +00:00
/* front page */
div#front-page h1 {font-size: 4rem; margin-top: 2em; margin-bottom: 0; text-align: center; border: none; background: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none;}
div#front-page {text-align:center;}
.space {margin-bottom: 1em;}
div#front-page div#links a {margin: 0 0.5em;}
div#front-page li {list-style-type: none; margin: 0;}
@media (max-width: 800px) {
div#front-page h1 {font-size: 3rem; margin-top: 0.5em; margin-bottom: 0.5em;}
#counter {display: none;}
}