Files
danbooru/public/stylesheets/compiled/default.css
2010-10-27 13:40:50 -04:00

347 lines
7.3 KiB
CSS

.blacklisted {
display: none !important; }
body, div, h1, h2, h3, h4, h5, h6, p, ul, li, dd, dt {
font-family: verdana, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
border: 0;
vertical-align: baseline; }
h1, h2, h3, h4 {
font-family: Tahoma;
line-height: 1em; }
body {
font-size: 80%;
padding: 1em 2em;
margin: 0; }
article, section {
display: block; }
a:link {
color: #006ffa;
text-decoration: none; }
a:visited {
color: #006ffa;
text-decoration: none; }
a:hover {
color: #9093ff;
text-decoration: none; }
a:active {
color: #006ffa;
text-decoration: none; }
blockquote {
margin: 0 0 1em 0;
padding: 1em;
border: 1px solid #666;
background: #EEE; }
code {
font-family: monospace;
font-size: 1.2em; }
dd {
margin-bottom: 1em; }
dt {
font-weight: bold; }
h1 {
font-size: 2em; }
h2 {
font-size: 1.8em; }
h3 {
font-size: 1.6em; }
h4 {
font-size: 1.4em; }
h5 {
font-size: 1.2em; }
h6 {
font-size: 1em; }
header {
margin: 0 0 1em 0;
padding: 0;
display: block; }
img {
border: none;
vertical-align: middle; }
input[type=text], input[type=password], input[type=url], textarea, button {
/* border: 1px solid #AAA;*/
font-size: 1em;
/* -moz-border-radius: 4px;*/
/* -webkit-border-radius: 4px;*/ }
input[type=submit] {
padding: 1px 4px;
/* border: 1px solid #AAA;*/
/* background-color: #EEE;*/
/* -moz-border-radius: 4px;*/
/* -webkit-border-radius: 4px;*/
font-size: 1em;
cursor: pointer; }
input:focus, textarea:focus {
/* background-color: #FFD;*/ }
input[type=submit]:hover {
/* background-color: #F6F6F6;*/ }
menu {
margin: 0;
padding: 0; }
menu ul {
margin: 0;
padding: 0; }
menu li {
margin: 0 1em 0 0;
padding: 0;
list-style-type: none;
display: inline; }
section {
display: block; }
span.link {
color: #006ffa;
cursor: pointer; }
table tfoot {
margin-top: 2em; }
div#notice {
margin: 1em;
padding: 1em;
border: 2px solid #666;
background: #EEE; }
div#page aside#sidebar {
width: 20%;
float: left; }
div#page aside#sidebar > section {
margin-bottom: 1em; }
div#page section#content {
width: 75%;
float: left;
margin-left: 2em; }
div.clearfix {
clear: both; }
/*** Paginator ***/
div.paginator {
display: block;
padding: 2em 0 1em 0;
font-size: 1em;
text-align: center;
font-weight: bold;
clear: both; }
div.paginator a {
margin: 0 3px;
padding: 2px 6px;
font-weight: normal;
border: 1px solid #EAEAEA; }
div.paginator a.arrow {
border: none; }
div.paginator a.arrow:hover {
background: white;
color: #9093FF; }
div.paginator a.current {
border: 1px solid #AAA; }
div.paginator a:hover {
background: #3c3cdc;
color: white; }
div.paginator span {
margin: 0 3px;
padding: 2px 6px; }
/*** Header ***/
body > header > h1 {
font-size: 3em;
font-family: Tahoma, Helvetica, sans-serif; }
/*** Simple Form ***/
form.simple_form input[type=submit] {
margin-left: 10.3em; }
form.simple_form div.input {
margin-bottom: 0.5em; }
form.simple_form div.input input[type=text], form.simple_form div.input input[type=file], form.simple_form div.input textarea {
width: 300px; }
form.simple_form div.input textarea {
height: 100px; }
form.simple_form div.input label {
vertical-align: top;
display: inline-block;
width: 10em;
cursor: pointer;
font-weight: bold; }
form.simple_form div.input span.hint {
margin-left: 10em;
color: #666;
font-style: italic;
vertical-align: top;
display: block; }
form.simple_form div.input fieldset {
border: none;
display: inline;
margin: 0;
padding: 0; }
form.simple_form div.input fieldset label {
font-weight: normal;
width: auto;
margin-right: 2em; }
/*** DText Preview ***/
div.dtext p {
margin-bottom: 1em; }
/*** Comments ***/
div.comments-for-post div.list-of-comments article {
margin-bottom: 2em; }
div.comments-for-post div.list-of-comments article div.author {
width: 20%;
float: left; }
div.comments-for-post div.list-of-comments article div.content {
margin-left: 2em;
width: 40em;
float: left; }
div.comments-for-post div.comment-preview {
width: 40em;
margin-bottom: 2em; }
div.comments div.index div.preview {
float: left;
width: 180px; }
div.comments div.index div.post {
margin-bottom: 4em; }
div.comments div.index div.post div.comments-for-post {
float: left;
width: 55em; }
div.comments div.index div.post div.comments-for-post h1 {
font-size: 1.2em; }
/*** Posts ***/
div.posts h1 {
font-size: 1.2em; }
div.posts h2 {
font-size: 1.1em; }
div.posts aside#sidebar > section > ul li {
list-style-type: none; }
div.posts aside#sidebar > section > ul ul li {
margin-left: 1em; }
div.posts section#tag-and-wiki-box {
padding: 0; }
div.posts section#tag-and-wiki-box menu li {
display: inline-block; }
div.posts section#tag-and-wiki-box menu li.active a {
color: #000; }
div.posts section#tag-and-wiki-box h1 {
font-size: 1.2em; }
div.posts section#tag-and-wiki-box div#tag-box h2 {
display: none; }
div.posts section#tag-and-wiki-box div#tag-box li {
list-style-type: none; }
div.posts section#tag-and-wiki-box div#wiki-box h2 {
display: none; }
div.posts section#content > h1 {
display: none; }
div.posts section#content section > h2 {
display: none; }
div.posts section#content menu#post-sections {
margin-bottom: 1em; }
div.posts section#content menu#post-sections li {
font-size: 1.1em;
font-weight: bold; }
div.posts section#content menu#post-sections li.active a {
color: black; }
/*** Comments ***/
div.comment-response > div {
margin-top: 1em; }
div.comment-list > article {
margin-bottom: 1em;
display: block; }
div.comment-list > article > header {
float: left;
width: 15em; }
div.comment-list > article > div {
float: left;
width: 40em; }
/*** Sessions ***/
div#sessions div#new section {
width: 30em;
float: left; }
div#sessions div#new aside {
width: 20em;
float: left; }
div#sessions div#new aside li {
display: list-item;
margin-bottom: 0.5em;
list-style-type: square;
margin-left: 1em; }
div#sessions div#new h2 {
margin-bottom: 5px; }
/*** Artists ***/
div#artists span.new-artist {
font-weight: bold;
color: #A00; }
div#artists div#show {
max-width: 60em; }
div#artists div#show h1 {
font-size: 1.5em;
margin-bottom: 5px; }
div#artists div#show p.legend {
margin-bottom: 2em;
font-size: 0.8em;
font-style: italic; }
/*** Users ***/
div#users div#new {
max-width: 60em; }
div#users div#new h1 {
margin-bottom: 0.5em; }
div#users div#new p {
margin-bottom: 1em; }
div#users div#new li {
margin-left: 1em; }
div#users div#new div#account-comparison h1 {
font-size: 1.4em;
margin-bottom: 3px; }
div#users div#new div#account-comparison li {
font-size: 0.9em;
line-height: 1.5em; }
div#users div#new div#account-comparison section {
width: 18em;
float: left;
padding: 1em; }
div#users div#new footer.nav-links {
font-size: 1.5em;
font-weight: bold;
text-align: center;
display: block; }
div#users div#new div#p2 ul {
margin-bottom: 2em; }
/*** Uploads ***/
div.uploads div.new div#upload-guide-notice {
margin-bottom: 2em; }