homepage/assets/css/default.css

119 lines
1.6 KiB
CSS

/* http://www.colourlovers.com/palette/92095/Giant_Goldfish */
html {
background-color: white;
background-image: url("../images/bg.jpg");
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;
}
body {
background-color: rgba(255, 255, 255, 0.8);
margin: auto;
padding: 1em;
border-radius: 1em;
max-width: 35em;
font-family: "Roboto", sans-serif;
}
#title, td.main {
background-color: #e0e4cc;
border-radius: 0.5em;
padding: 0em 1em;
margin-top: 0;
}
h1, h2, h3, h4, h5, h6 {
color: #fa6900;
}
a {
color: #38d;
text-decoration: none;
}
a:visited {
color: #579;
}
a:hover {
color: #f83;
}
img {
max-width: 60%;
}
img.face {
margin: 1em;
width: 10em;
}
pre {
background: #e0e4cc;
overflow-x: auto;
}
blockquote {
background: #e0e4cc;
padding: 0.1em 1em;
border-radius: 0.4em;
}
footer {
clear: both;
border-top: solid black 1px;
}
nav ul {
padding: 0;
margin: 0;
}
nav li {
display: inline;
padding-right: 1em;
}
.left {
float: left;
}
.right {
float: right;
}
/* Formatting */
p, li, dd {
text-align: left;
}
body > p {
text-indent: 1.5em;
}
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, ol + p, ul + p, pre + p, blockquote + p, img + p {
text-indent: 0;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bolt;
}
pre {
margin: 1em 2em;
padding: 1em;
border: solid black 1px;
}
.figure {
float: right;
padding: 0.25em;
margin: 0.5em;
font-size: small;
border: solid black 1px;
}
#timestamp {
font-size: small;
text-indent: inherit;
}