You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
doushio/www/css/base.css

486 lines
8.1 KiB

a {
border: none;
text-decoration: underline;
}
a.nope, a.nope:hover {
color: inherit;
text-decoration: none;
}
article, aside {
display: table;
margin: 2px;
padding: 4px 10px;
}
aside a, #options {
cursor: pointer;
position: relative;
z-index: 15;
}
article figure img {
margin-bottom: 0;
}
body > aside {
margin: 1em;
}
.embed {
background-color: rgba(255, 255, 255, 0.5);
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
cursor: pointer;
display: inline-block;
font-style: normal;
margin: -2px;
padding: 2px;
text-decoration: none;
}
.embed, .embed:hover {
color: inherit;
}
del, del em {
background-color: black;
color: black;
text-decoration: none;
}
del:hover, del:hover em, del.reveal, del.reveal em {
color: white;
}
em {
font-style: normal;
}
fieldset {
border: 0;
visibility: hidden;
}
figcaption {
display: block;
margin: 2px 0;
}
figcaption i {
font-style: normal;
}
figcaption i a {
color: inherit;
text-decoration: none;
}
figure {
display: inline;
margin: 0;
}
figure img {
border: 0;
clear: both;
float: left;
margin: 3px 20px 20px 0;
vertical-align: top;
opacity: 1;
transition: opacity 1s, transform 1s;
-webkit-transition: opacity 1s, -webkit-transform 1s;
}
figure img.new {
opacity: 0;
transform: scale(0.8);
-webkit-transform: scale(0.8);
}
h1, h2 {
text-align: center;
}
h3 {
display: inline;
font-size: inherit;
}
h4 {
font-size: 200%;
font-weight: normal;
margin: 0;
padding: 0;
}
header {
background: url('ui/box.png') left 3px no-repeat;
margin-left: -14px;
padding-left: 14px;
position: relative;
}
article header {
margin-left: -3px;
padding-left: 14px;
}
.preview header {
background-image: none;
}
header nav a {
text-decoration: none;
}
header code {
font-family: inherit;
font-weight: normal;
}
hr {
border: none;
clear: both;
}
#hidden-upload {
display: none;
}
label.ident {
display: inline-block;
text-align: right;
width: 3em;
}
section {
display: block;
margin: 0 1em 1em 1em;
}
section nav, section p, .preview nav {
display: inline;
}
small {
clear: left;
display: block;
padding-top: 0.5em;
}
span.control .popup-menu {
z-index: 10;
}
.popup-menu {
background: url('ui/box.png') 10px 10px no-repeat;
border-bottom: none;
position: absolute;
margin: 0;
padding: 5px;
top: -9px;
left: -9px;
}
.popup-menu, .act {
user-select: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
.popup-menu li {
list-style: none;
margin: 0;
padding: 3px 3px 3px 21px;
}
.control {
cursor: pointer;
display: inline-block;
height: 12px;
left: -1px;
position: absolute;
top: 2px;
width: 12px;
}
#banner {
color: gray;
display: block;
overflow: hidden;
text-align: center;
white-space: nowrap;
}
section #banner {
margin-top: 1em;
text-align: left;
}
.email {
text-decoration: underline;
}
#sync.error {
position: fixed;
top: 12px;
right: 8px;
}
figure {
display: block;
position: relative;
}
section > figure > a {
float: left;
position: relative;
z-index: 5;
}
.hat, .expanded .hat {
background: url('ui/hat.png') no-repeat;
position: absolute;
left: 10px;
top: -75px;
width: 70px;
height: 141px;
}
article .hat {
width: 35px;
height: 70px;
left: 10px;
top: -28px;
background-size: 35px 70px;
}
#lock {
background: url('ui/lock.svg') no-repeat left;
background-size: 10px 12px;
color: gray;
float: right;
padding-left: 15px;
}
.locked:after {
content: "This thread is locked.";
}
.locked > header nav:after {
content: " (locked)";
}
.locked aside {
display: none;
}
.omit {
line-height: 200%;
}
.modal {
overflow: hidden;
padding: 1em;
white-space: nowrap;
z-index: 20;
}
.pagination {
display: inline-block;
padding: 2px 10px;
margin: 1px 0;
}
.pagination a, .pagination strong {
display: inline-block;
padding: 4px;
}
.preview {
padding: 4px 10px;
position: absolute;
z-index: 30;
}
.scroll-lock > header {
background-image: url('ui/lock.svg');
background-size: 10px 12px;
background-position: 0px 5px;
}
.multi-select article {
margin-left: 50px;
}
.multi-select section > header {
clear: both;
margin-left: 55px;
}
.multi-select section > header .select-handle {
margin-left: -65px;
}
.select-handle {
width: 35px;
height: 35px;
margin-left: -55px;
float: left;
border: solid 1px gray;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
}
.selected {
background: url('ui/sel.png') no-repeat center center;
}
.themed {
background-color: transparent;
color: #444;
outline: none;
}
#bottom {
float: left;
margin-bottom: 7px;
min-width: 100px;
}
#feedback {
color: gray;
position: absolute;
right: 0.2em;
top: 0.2em;
}
#options, #sync {
clear: right;
color: gray;
display: block;
float: right;
margin-bottom: 2px;
}
#options-panel {
position: absolute;
right: 70px;
top: 70px;
}
#report-panel {
position: fixed;
right: 10px;
bottom: 10px;
}
#report-panel #captcha, #report-panel .message {
margin: 1em 0;
}
#report-panel .error {
color: red;
}
#report-panel .close {
float: right;
font-weight: bold;
padding-left: 1em;
text-decoration: none;
}
#shortcuts {
margin-top: 1em;
}
#shortcuts input {
border: none;
width: 2em;
margin-right: 1em;
}
pre {
height: auto;
margin: 0;
position: absolute;
top: 0;
width: auto;
visibility: hidden;
}
pre, .themed {
border: 0;
padding: 0;
}
#toggle {
background: url('ui/pane.png') transparent;
background-size: 78px 19px;
border: 0;
height: 19px;
width: 78px;
}
#trans {
display: inline;
margin: 0 0 -3px 0;
overflow-y: hidden;
resize: none;
text-wrap: none;
vertical-align: baseline;
}
@media screen and (max-device-width: 480px) {
article {
clear: both;
}
body {
margin: 1px 0;
-webkit-text-size-adjust: none;
}
blockquote {
margin: 0.5em 0 0.5em 0.5em;
}
section {
margin: 0;
}
.expanded figure img {
margin-right: 0;
}
.scroll-lock {
margin-left: -3px;
}
#return {
min-width: inherit;
margin-right: 0.5em;
}
}
article, article header {
transition: background-color 1.5s, border-color 1.5s, color 1.5s;
-webkit-transition: background-color 1.5s, border-color 1.5s, color 1.5s;
}
#trans {
transition: color 1.5s;
-webkit-transition: color 1.5s;
}
@media screen and (max-device-width: 480px) and (orientation: portrait) {
section > blockquote, section > header, section > #banner, section > .omit {
margin-left: 0.5em;
margin-right: 0.5em;
}
section > header {
clear: both;
}
.full figcaption i {
display: block;
}
}
section.full.floop article { float: left; clear: both; }
section.full.floop article.floop { float: right; clear: right; }
section.full.floop article.mine { margin-bottom: 1em; }
section.full.floop article.mine,
section.full.floop aside { clear: both; }
section.floop > header > nav:after,
section.floop > header > a.nope:after { content: " [Dual]"; font-weight: bold; }
@media screen and (min-width: 900px) {
section.full.floop article.floop { max-width: 50%; min-width: 40%; }
section.full.floop article.floop.expanded { max-width: inherit; min-width: inherit; }
}
blockquote.twitter-tweet {
display: inline-block;
padding: 20px;
margin: 0;
border: #ddd 1px solid;
border-radius: 2px;
font: normal 16px/1.4 Helvetica, Roboto, "Segoe UI", Calibri, sans-serif;
color: #1c2022;
background-color: #fff;
}
blockquote.twitter-tweet > p {
display: block;
margin: 0 5px 10px 0;
}
blockquote.twitter-tweet > a {
color: rgb(105, 120, 130);
display: block;
font-size: 14px;
text-decoration: none;
}
4 years ago
em.fancy {
4 years ago
background-image: repeating-linear-gradient(to left, violet, indigo, blue, green, yellow, orange,red 200px);
4 years ago
background-clip: text;
background-size: 200px;
-webkit-background-clip: text;
color: transparent;
animation: rainbow 4s steps(36) infinite !important;
}
@-webkit-keyframes rainbow {
from {
backgroud-position-x: 0;
-webkit-filter: hue-rotate(10deg);
-webkit-filter:hue-rotate(10deg);
}
to {
background-position-x: 100;
-webkit-filter: hue-rotate(360deg);
-webkit-filter:hue-rotate(360deg);
}
}
@keyframes rainbow {
from {
backgroud-position-x: 0;
-webkit-filter: hue-rotate(10deg);
filter:hue-rotate(10deg);
}
to {
background-position-x: 100;
-webkit-filter: hue-rotate(360deg);
filter:hue-rotate(360deg);
}
}