forked from github/kensanata.oddmuse
348 lines
7.3 KiB
CSS
348 lines
7.3 KiB
CSS
/* Public Domain
|
|
Written by Alex Schroeder and Evgkeni Sampelnikof */
|
|
textarea { width:100%; }
|
|
h1 a { color: inherit }
|
|
div.journal h1 { font-size:large; }
|
|
table { margin-bottom: 1em; }
|
|
|
|
div.diff { padding-left:5%; padding-right:5%; }
|
|
div.old { background-color:#FFFFAF; }
|
|
div.new { background-color:#CFFFCF; }
|
|
|
|
img.portrait { float: left; clear: left; margin: 1ex; border:#999 1px solid; }
|
|
div.footer, div.comment, hr { clear: both; }
|
|
div.portrait { float: left; clear: left; font-size: xx-small; margin-right: 1em; }
|
|
div.portrait img.portrait { float: none; margin: 0; }
|
|
div.portrait a { text-decoration: none; color: #999; }
|
|
div.color {
|
|
clear: both;
|
|
padding: 1ex 2em;
|
|
margin: 0 -1em;
|
|
box-shadow: inset 40px 0px 20px -20px #EEEEEE,
|
|
inset -40px 0px 20px -20px #EEEEEE;
|
|
}
|
|
|
|
.left { float:left; margin-right:1em; }
|
|
.right { float:right; margin-left:1em; }
|
|
|
|
div.two, div.one {
|
|
color: #444;
|
|
background-color: #f8f8f8;
|
|
margin: 7px -1em;
|
|
box-shadow: inset 40px 0px 20px -20px #EEEEEE,
|
|
inset -40px 0px 20px -20px #EEEEEE,
|
|
0px 8px 4px -8px #ccc,
|
|
0px -6px 4px -8px #ccc;
|
|
}
|
|
|
|
.irc .time { display: none; }
|
|
dl.irc dt { float: left; text-align: right; width: 13ex; }
|
|
dl.irc dd { margin-left: 15ex; display: block; }
|
|
|
|
div.toc {
|
|
background-color: #FAFAFA;
|
|
border: 1px solid #dddddd;
|
|
font-family: sans-serif;
|
|
font-size: 80%;
|
|
line-height: 90%;
|
|
margin: 3em 0 1em;
|
|
padding: 1em 0px 0px 1em;
|
|
border-radius: 3px;
|
|
}
|
|
div.toc li {
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
}
|
|
.ell .toc li {
|
|
display: inline;
|
|
padding-right: 1em;
|
|
}
|
|
div.letter { column-count: 3; -webkit-column-count: 3; -moz-column-count: 3 }
|
|
|
|
.footer .edit.bar {
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.specialdays {
|
|
line-height: 1em; /* has no effect: set for div.header instead? */
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.footer .time {
|
|
display: block;
|
|
text-align: center;
|
|
color: #666;
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.footer {
|
|
color: #888;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.footer .legal {
|
|
text-align: justify;
|
|
-moz-text-align-last: center;
|
|
text-align-last: center;
|
|
font-size: 0.9em;
|
|
line-height: 1.4em;
|
|
margin: 0 120px 0;
|
|
padding: 1em 0 0;
|
|
}
|
|
.footer .legal a {
|
|
color: #888;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.translation.bar {
|
|
display: block;
|
|
text-align: center;
|
|
font-size: 0.8em;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
/* .include.WikiLanguageMenu could share those styles,
|
|
(altough it might be better to leave it left-aligned) */
|
|
|
|
.translation.bar a:nth-child(n+2) {
|
|
border-left: 1px solid #999;
|
|
}
|
|
|
|
.translation.bar a {
|
|
padding: 6px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.navbar .nav > li > a.brand {
|
|
color: #C76A0D;
|
|
padding: 5px 8px 0;
|
|
}
|
|
|
|
a {
|
|
color: #C76A0D;
|
|
}
|
|
a:hover {
|
|
color: #8F3E0F;
|
|
}
|
|
|
|
body {
|
|
word-wrap: break-word;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
background-color: #EEEEEE;
|
|
color: #000;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
pre {
|
|
font-size: 1em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
hr {
|
|
border-top: #ccc 1px solid;
|
|
border-bottom: #fff 1px solid;
|
|
}
|
|
|
|
.footer_wrapper {
|
|
background: #EEEEEE;
|
|
background: linear-gradient(to bottom, #EEEEEE, #CCCCCC);
|
|
padding-bottom: 20px;
|
|
margin-left: -20px;
|
|
margin-right: -20px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
.footer.container hr:first-child {
|
|
display: none;
|
|
}
|
|
.footer hr {
|
|
margin: 10px 100px 0;
|
|
}
|
|
.footer.container {
|
|
padding-top: 10px;
|
|
margin-top: 10px;
|
|
background: radial-gradient(
|
|
50% 8px at top,
|
|
rgba(0, 0, 0, 0.3) 0%,
|
|
rgba(0, 0, 0, 0) 100%
|
|
);
|
|
box-shadow: 0 -1px 2px -2px white;
|
|
/* border-top: 1px #ccc solid; */
|
|
}
|
|
body, li {
|
|
line-height: 2em;
|
|
}
|
|
h1, h2, h3 {
|
|
text-shadow: 1px 1px white;
|
|
}
|
|
.navbar-inner {
|
|
border-radius: 0 0 4px 4px;
|
|
border-width: 0 1px 1px;
|
|
}
|
|
.navbar .nav > li > a {
|
|
padding: 10px;
|
|
}
|
|
|
|
label[for="searchlang"], input#searchlang {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width:480px){
|
|
h1 { font-size: 1.8em; }
|
|
.navbar .nav > li > a {
|
|
padding: 0px 2px;
|
|
line-height: 10px;
|
|
}
|
|
/* hide CC logo */
|
|
.footer .licence {
|
|
display: none;
|
|
}
|
|
/* make legal foo*/
|
|
.footer .legal {
|
|
margin: 5px 5px 5px;
|
|
}
|
|
.footer .bar a {
|
|
margin: 2px 0;
|
|
}
|
|
}
|
|
|
|
/* Right-alignment. Will make it harder to achieve responsive behaviour:
|
|
|
|
twitter.github.com/bootstrap/components.html#navbar
|
|
Look for "Responsive navbar" heading.
|
|
|
|
If this is undesirable, remove the lines with the "RA" comment;
|
|
*/
|
|
|
|
.navbar .nav {
|
|
text-align: right; /* RA */
|
|
*text-align: left; /* RA */
|
|
width: 100%; /* RA */
|
|
}
|
|
|
|
.navbar .nav > li:first-child {
|
|
float: left; /* RA */
|
|
}
|
|
|
|
.navbar .nav > li {
|
|
display: inline-block; /* RA */
|
|
float: none; /* RA */
|
|
*float: left;
|
|
*display: inline;
|
|
|
|
line-height: 20px;
|
|
}
|
|
|
|
textarea:focus,
|
|
input[type="text"]:focus,
|
|
input[type="password"]:focus,
|
|
input[type="datetime"]:focus,
|
|
input[type="datetime-local"]:focus,
|
|
input[type="date"]:focus,
|
|
input[type="month"]:focus,
|
|
input[type="time"]:focus,
|
|
input[type="week"]:focus,
|
|
input[type="number"]:focus,
|
|
input[type="email"]:focus,
|
|
input[type="url"]:focus,
|
|
input[type="search"]:focus,
|
|
input[type="tel"]:focus,
|
|
input[type="color"]:focus,
|
|
.uneditable-input:focus {
|
|
border-color: rgba(236,160,73,.8);
|
|
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),
|
|
0 0 8px rgba(236,160,73,.6);
|
|
}
|
|
|
|
/* IE7/8 Flexibility */
|
|
|
|
.container,
|
|
.navbar-static-top .container,
|
|
.navbar-fixed-top .container,
|
|
.navbar-fixed-bottom .container {
|
|
width: auto;
|
|
max-width: 940px;
|
|
}
|
|
|
|
/* Don't widen the layout past 940 */
|
|
|
|
@media (min-width: 1200px) {
|
|
.container,
|
|
.navbar-static-top .container,
|
|
.navbar-fixed-top .container,
|
|
.navbar-fixed-bottom .container {
|
|
width: 940px;
|
|
}
|
|
}
|
|
|
|
div.comment {
|
|
background: radial-gradient(
|
|
50% 8px at top,
|
|
rgba(0, 0, 0, 0.3) 0%,
|
|
rgba(0, 0, 0, 0) 100%
|
|
);
|
|
background-repeat: no-repeat;
|
|
box-shadow: 0 -1px 2px -2px white;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
div.comment p:nth-child(2) {
|
|
color: #666;
|
|
/* line-height: 15px; */
|
|
font-size: 0.9em;
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
div.comment p:nth-child(1) {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.comment textarea {
|
|
width: 100%;
|
|
*width: auto;
|
|
resize: vertical;
|
|
*resize: both;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* highlighting source code */
|
|
|
|
span.builtin { color: #483d8b; } /* DarkSlateBlue */
|
|
span.comment { color: #b22222; } /* Firebrick */
|
|
span.constant { color: #008b8b; } /* DarkCyan */
|
|
span.function { color: #0000ff; } /* Blue1 */
|
|
span.keyword { color: #7f007f; } /* Purple */
|
|
span.string { color: #8b475d; } /* VioletRed4 */
|
|
span.type { color: #228b22; } /* ForestGreen */
|
|
span.warning { color: #ff0000; font-weight: bold; } /* Red1 */
|
|
span.comment span,
|
|
span.string span { color: inherit; }
|
|
span.comment span.important.constant,
|
|
span.string span.important.constant { color: #008b8b; }
|
|
|
|
/* old: Equivalent to Output::HTML */
|
|
|
|
span.linecomment { color: #b22222; } /* firebrick */
|
|
span.blockcomment { color: #b22222; } /* firebrick */
|
|
span.prepro { color: purple; }
|
|
span.select { font-weight: bold; }
|
|
span.quote { color: #8b475d; } /* VioletRed4 */
|
|
span.category_1 { color: teal; }
|
|
span.category_2 { color: blue; }
|
|
span.category_3 { color: blue; }
|
|
|
|
code {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Local Variables: */
|
|
/* css-indent-offset: 4 */
|
|
/* End: */
|