1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-13 13:56:46 +00:00
wiki.mbirth.de/css/layout-bright.css

271 lines
4.5 KiB
CSS
Raw Normal View History

2014-05-08 20:23:39 +01:00
body {
margin: 0;
padding: 0;
2015-02-19 18:36:25 +00:00
background: #eaeaea url("../images/bkg-white.png") 0 0;
color: #151515;
2014-05-08 20:23:39 +01:00
font: 16px;
line-height: 1.5;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}
/* General & 'Reset' Stuff */
.container {
width: 90%;
2014-05-13 10:47:05 +01:00
max-width: 900px;
2014-05-08 20:23:39 +01:00
margin: 0 auto;
}
section {
display: block;
margin: 0 0 20px 0;
}
h1, h2, h3, h4, h5, h6 {
margin: 0 0 20px;
}
li {
line-height: 1.4 ;
}
/* Header, <header>
header - container
h1 - project name
h2 - project description
*/
header {
background: rgba(0, 0, 0, 0.1);
width: 100%;
border-bottom: 1px dashed #678b22;
2014-05-08 20:23:39 +01:00
padding: 20px 0;
margin: 0 0 40px 0;
}
2014-05-13 10:47:05 +01:00
header h1, #pagetitle {
2014-05-08 20:23:39 +01:00
font-size: 30px;
line-height: 1.5;
font-weight: bold;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color: #678b22;
2014-05-08 20:23:39 +01:00
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
0 0 10px rgba(181, 232, 83, 0.1);
-webkit-font-smoothing: antialiased;
}
2014-05-13 10:47:05 +01:00
header h1 {
letter-spacing: -1px;
margin: 0 0 0 -40px;
}
2014-05-08 20:23:39 +01:00
header h1:before {
content: "./ ";
font-size: 24px;
}
header h2 {
font-size: 18px;
font-weight: 300;
color: #666;
}
#downloads .btn {
display: inline-block;
text-align: center;
margin: 0;
}
2014-05-13 10:47:05 +01:00
/* Main Content */
2014-05-08 20:23:39 +01:00
#main_content {
width: 100%;
-webkit-font-smoothing: antialiased;
}
section img {
max-width: 100%
}
h1, h2, h3, h4, h5, h6 {
font-weight: normal;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color: #678b22;
2014-05-08 20:23:39 +01:00
letter-spacing: -0.03em;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),
0 0 5px rgba(181, 232, 83, 0.1),
0 0 10px rgba(181, 232, 83, 0.1);
}
#main_content h1 {
2014-05-13 10:47:05 +01:00
font-size: 28px;
2014-05-08 20:23:39 +01:00
}
#main_content h2 {
font-size: 24px;
}
#main_content h3 {
font-size: 18px;
}
#main_content h4 {
font-size: 14px;
}
#main_content h5 {
font-size: 12px;
text-transform: uppercase;
margin: 0 0 5px 0;
}
#main_content h6 {
font-size: 12px;
text-transform: uppercase;
color: #999;
margin: 0 0 5px 0;
}
dt {
font-style: italic;
font-weight: bold;
}
ul li {
list-style: none;
}
ul li:before {
content: ">>";
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
font-size: 13px;
color: #678b22;
2014-05-08 20:23:39 +01:00
margin-left: -37px;
margin-right: 21px;
line-height: 16px;
}
blockquote {
color: #aaa;
padding-left: 10px;
border-left: 1px dotted #666;
}
2014-05-13 10:47:05 +01:00
code {
padding: 3px;
white-space: nowrap;
}
2014-05-08 20:23:39 +01:00
pre {
2014-05-13 10:47:05 +01:00
padding: 10px;
}
pre, code {
2015-02-19 18:36:25 +00:00
background: rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.85);
2014-05-08 20:23:39 +01:00
font-size: 14px;
color: #678b22;
2014-05-08 20:23:39 +01:00
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
text-wrap: normal;
overflow: auto;
overflow-y: hidden;
}
2015-02-19 18:36:25 +00:00
pre > code {
background: none;
}
2014-05-13 10:47:05 +01:00
/* Reset styles if code is inside pre
(This is what you get from re-using CSS!)
*/
pre > code {
border: 0 none;
white-space: pre;
padding: 0;
}
2014-05-08 20:23:39 +01:00
table {
2015-02-17 23:21:23 +00:00
/* width: 100%; */
2014-05-08 20:23:39 +01:00
margin: 0 0 20px 0;
}
th {
text-align: left;
border-bottom: 1px dashed #678b22;
2014-05-08 20:23:39 +01:00
padding: 5px 10px;
}
td {
padding: 5px 10px;
}
hr {
height: 0;
border: 0;
border-bottom: 1px dashed #678b22;
color: #678b22;
2014-05-08 20:23:39 +01:00
}
2014-05-13 10:47:05 +01:00
/* Buttons */
2014-05-08 20:23:39 +01:00
.btn {
display: inline-block;
2015-02-19 18:36:25 +00:00
background: -webkit-linear-gradient(top, rgba(215, 215, 215, 0.3), rgba(220, 220, 220, 0.3) 50%, rgba(245, 245, 245, 0.3) 50%, rgba(255, 255, 255, 0.3));
2014-05-08 20:23:39 +01:00
padding: 8px 18px;
border-radius: 50px;
2015-02-19 18:36:25 +00:00
border: 2px solid rgba(255, 255, 255, 0.7);
border-bottom: 2px solid rgba(255, 255, 255, 0.7);
border-top: 2px solid rgba(255, 255, 255, 1);
color: rgba(40, 40, 40, 0.8);
2014-05-08 20:23:39 +01:00
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 13px;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.75);
2015-02-19 18:36:25 +00:00
box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
2014-05-08 20:23:39 +01:00
}
.btn:hover {
2015-02-19 18:36:25 +00:00
background: -webkit-linear-gradient(top, rgba(215, 215, 215, 0.6), rgba(220, 220, 220, 0.6) 50%, rgba(245, 245, 245, 0.8) 50%, rgba(255, 255, 255, 0.8));
2014-05-08 20:23:39 +01:00
}
.btn .icon {
display: inline-block;
width: 16px;
height: 16px;
margin: 1px 8px 0 0;
float: left;
}
.btn-github .icon {
opacity: 0.6;
background: url("../images/blacktocat.png") 0 0 no-repeat;
}
/* Links
a, a:hover, a:visited
*/
a {
2015-02-19 18:36:25 +00:00
color: #41a0d3;
2014-05-08 20:23:39 +01:00
text-shadow: 0 0 5px rgba(104, 182, 255, 0.5);
}
/* Clearfix */
.cf:before, .cf:after {
content:"";
display:table;
}
.cf:after {
clear:both;
}
.cf {
zoom:1;
2014-05-13 10:47:05 +01:00
}