260 lines
5.1 KiB
CSS
260 lines
5.1 KiB
CSS
/*
|
|
gollum.css
|
|
A basic stylesheet for Gollum
|
|
*/
|
|
|
|
/* @section core */
|
|
body, html {
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 10px; /* -> 1em */
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#wiki-wrapper {
|
|
margin: 0 auto;
|
|
overflow: visible;
|
|
width: 80%;
|
|
}
|
|
|
|
a:link {
|
|
color: #4183c4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover, a:visited {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
|
|
/* @section head */
|
|
#head {
|
|
border-bottom: 1px solid #ccc;
|
|
margin: 4.5em 0 0.5em;
|
|
padding: 0.5em 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#head h1 {
|
|
font-size: 3.3em;
|
|
float: left;
|
|
line-height: normal;
|
|
margin: 0;
|
|
padding: 0.08em 0 0 0;
|
|
}
|
|
|
|
#head ul.actions {
|
|
display: block;
|
|
float: right;
|
|
list-style-type: none;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
#head ul.actions li {
|
|
float: left;
|
|
font-size: 1.2em;
|
|
margin-left: 0.6em;
|
|
}
|
|
|
|
/* @control minibutton */
|
|
.minibutton a {
|
|
background-color: #f7f7f7;
|
|
border: 1px solid #d4d4d4;
|
|
color: #333;
|
|
display: block;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
padding: 0.4em 1em;
|
|
|
|
text-shadow: 0 1px 0 #fff;
|
|
|
|
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#f4f4f4', endColorstr='#ececec');
|
|
background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#ececec));
|
|
background: -moz-linear-gradient(top, #f4f4f4, #ececec);
|
|
|
|
border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
}
|
|
|
|
.minibutton a:hover {
|
|
background: #3072b3;
|
|
border-color: #518cc6 #518cc6 #2a65a0;
|
|
color: #fff;
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
|
|
text-decoration: none;
|
|
|
|
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#599bdc', endColorstr='#3072b3');
|
|
background: -webkit-gradient(linear, left top, left bottom, from(#599bdc), to(#3072b3));
|
|
background: -moz-linear-gradient(top, #599bdc, #3072b3);
|
|
}
|
|
|
|
|
|
/* @section content */
|
|
#wiki-content {
|
|
height: 1%;
|
|
overflow: visible;
|
|
}
|
|
|
|
/* @section comments */
|
|
#wiki-body #inline-comment {
|
|
display: none; /* todo */
|
|
}
|
|
|
|
/* @section body */
|
|
#wiki-body {
|
|
float: left;
|
|
margin-right: 3%;
|
|
width: 70%;
|
|
}
|
|
|
|
/* @section rightbar */
|
|
#wiki-rightbar {
|
|
float: right;
|
|
width: 27%;
|
|
}
|
|
|
|
#wiki-rightbar #nav {
|
|
background-color: #f7f7f7;
|
|
border: 1px solid #ddd;
|
|
margin-top: 1.5em;
|
|
padding: 1em;
|
|
|
|
border-radius: 0.5em;
|
|
-moz-border-radius: 0.5em;
|
|
-webkit-border-radius: 0.5em;
|
|
}
|
|
|
|
#wiki-rightbar #nav {
|
|
font-size: 1.2em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
#wiki-rightbar #nav p.parent {
|
|
border-bottom: 1px solid #bbb;
|
|
font-weight: bold;
|
|
margin: 0 0 0.5em 0;
|
|
padding: 0 0 0.5em 0;
|
|
text-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
/* Back arrow */
|
|
#wiki-rightbar #nav p.parent:before {
|
|
color: #666;
|
|
content: "← ";
|
|
}
|
|
|
|
#wiki-rightbar #nav h3 {
|
|
font-size: 1.2em;
|
|
color: #333;
|
|
margin: 1.2em 0 0;
|
|
padding: 0;
|
|
text-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
#wiki-rightbar #nav ul {
|
|
margin: 0.5em 0 1em;
|
|
padding: 0;
|
|
}
|
|
|
|
#wiki-rightbar #nav ul li {
|
|
color: #bbb;
|
|
list-style-position: outside;
|
|
list-style-type: none;
|
|
margin: 0 0 0 1em;
|
|
padding: 0;
|
|
line-height: 1.75em;
|
|
}
|
|
|
|
#wiki-rightbar #nav ul li:hover {
|
|
list-style-type: square;
|
|
}
|
|
|
|
#wiki-rightbar #nav ul li a {
|
|
font-weight: bold;
|
|
text-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
/* @section footer */
|
|
#wiki-footer {
|
|
clear: both;
|
|
margin: 2em 0 5em;
|
|
}
|
|
|
|
.has-rightbar #wiki-footer {
|
|
width: 70%;
|
|
}
|
|
|
|
#wiki-footer #footer-content {
|
|
background-color: #f7f7f7;
|
|
border: 1px solid #ddd;
|
|
font-size: 1.2em;
|
|
line-height: 1.5em;
|
|
margin-top: 1.5em;
|
|
padding: 1em;
|
|
|
|
border-radius: 0.5em;
|
|
-moz-border-radius: 0.5em;
|
|
-webkit-border-radius: 0.5em;
|
|
}
|
|
|
|
#wiki-footer #footer-content h3 {
|
|
font-size: 1.2em;
|
|
color: #333;
|
|
margin: 0;
|
|
padding: 0 0 0.2em;
|
|
text-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
#wiki-footer #footer-content p {
|
|
margin: 0.5em 0 0;
|
|
padding: 0;
|
|
}
|
|
|
|
#wiki-footer #footer-content ul.links {
|
|
margin: 0.5em 0 0;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
#wiki-footer #footer-content ul.links li {
|
|
color: #999;
|
|
float: left;
|
|
list-style-position: inside;
|
|
list-style-type: square;
|
|
padding: 0;
|
|
margin-left: 0.75em;
|
|
}
|
|
|
|
#wiki-footer #footer-content ul.links li a {
|
|
font-weight: bold;
|
|
text-shadow: 0 1px 0 #fff;
|
|
}
|
|
|
|
#wiki-footer #footer-content ul.links li:first-child {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.ff #wiki-footer #footer-content ul.links li:first-child {
|
|
margin: 0 -0.75em 0 0;
|
|
}
|
|
|
|
/* @section page-footer */
|
|
#footer {
|
|
border-top: 1px solid #ccc;
|
|
font-size: 1.2em;
|
|
line-height: 1.6em;
|
|
margin: 1em 0 7em;
|
|
}
|
|
|
|
#footer p#last-edit {
|
|
color: #999;
|
|
margin: 0.9em 0;
|
|
}
|
|
|
|
#footer p#last-edit span.username {
|
|
font-weight: bold;
|
|
}
|