Select Git revision
reset.css 2.82 KiB
/**
* Anchor, default reset
*/
* {
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
/* Don't count padding and borders towards widths */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/**
* Typographic reset
*/
@font-face{
font-family: Revalia;
src: url(fonts/Revalia/Revalia-Regular.ttf)
}
@font-face{
font-family: Cabin;
src: url(fonts/Cabin/Cabin-Medium.ttf)
}
@font-face{
font-family: Cabin-Bold;
src: url(fonts/Cabin/Cabin-Bold.ttf)
}
/* Use a serif font for nice readability, but not Times */
body {
font: 17px/26px Cabin;
}
h1, h2, h3, h4, h5, #top, .slidey b, .slidey label, .counter, input, textarea, button, .pagination {
font-family: Cabin-Bold;
font-weight: 300;
}
h1 a, h2 a, h3 a, h4 a, h5 a{
color : #6e8678;
}
#logo {
font-family: Revalia;
font-weight: 300;
}
pr, code, .mono {
font: 12px/19px "Anonymous Pro", Consolas, monospace;
padding: 0 2px;
}
p {
padding-bottom: 15px;
text-align: justify;
}
pre {
padding: 15px 20px;
margin-bottom: 20px;
border-radius: 5px;
white-space: pre-wrap;
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
}
a img {
border: none;
}
/**
* Layout reset
*/
.wrap {
min-width: 280px;
max-width: 750px;
width: 60%;
margin: 0 auto;
}
/**
* Default colours
*/
body, .items > li:first-child {
color: #6e8678;
}
a, .items h1 a:hover {
color: #40c375;
}
a:hover {
color: #1e924d;
}
pre, .hilite, mark {
background: #f9f6ea;
color: #8b657c;
text-shadow: 0 1px 0 rgba(255,255,255,.2);
}
input, textarea {
color: #698172;
}
::-webkit-input-placeholder {
color: #b2c5b9;
}
:-moz-placeholder {
color: #b2c5b9;
}
.error, .success {
padding: 20px 30px;
margin-bottom: 30px;
background: #e25d47;
color: #fff;
border-radius: 5px;
}
.success {
background: #88be33;
}
.error p, .success p {
float: none !important;
width: 100%;
padding: 0;
margin: 0 !important;
}
/**
* Transitions and animations
*/
a, a img {
-webkit-transition: opacity .2s, color .2s;
-moz-transition: opacity .2s, color .2s;
transition: opacity .2s, color .2s;
}
img.center{
display: block;
margin: auto;
width: 50%;
}
img.picture{
width: 30%;
}
.odd{
float:left;
margin: 0% 10% 0% 0%;
}
.even{
float:right;
margin: 0% 0% 0% 10%;
}
.clearfix {
overflow: auto;
}
.center{
margin: auto;
width: 50%;
}
.right{
text-align:right;
}
footer#bottom{
font-size: medium;
}
.half-right{
}
.half-left{
width: 100%;
}
.navigation{
margin-bottom: 1%;
background-color: #ffffff!important;
border-color: #ffffff!important;
}
/*collapse*/
.collapse > a{
cursor: pointer;
display: block;
}
.collapse:focus{
outline: none;
}
.collapse > div{
display: none;
}
.collapse:focus div{
display: block;
}