CSS reorganization
1. Fix regression on s/.footer/footer/ 2. Fix whitespace and tabbing 3. Reorganize properties more logically
This commit is contained in:
parent
55b890b407
commit
11419868dc
|
@ -3,9 +3,7 @@
|
|||
/* Common
|
||||
/*
|
||||
/*****************************************************************************/
|
||||
|
||||
/* Global Reset */
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
@ -16,9 +14,9 @@ html, body {
|
|||
}
|
||||
|
||||
body {
|
||||
background-color: white;
|
||||
background-color: #FFF;
|
||||
font: 13.34px helvetica, arial, clean, sans-serif;
|
||||
*font-size: small;
|
||||
font-size: small;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
@ -39,7 +37,7 @@ a {
|
|||
}
|
||||
|
||||
a:hover {
|
||||
color: black;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
|
@ -56,7 +54,6 @@ table {
|
|||
/* Home
|
||||
/*
|
||||
/*****************************************************************************/
|
||||
|
||||
ul.posts {
|
||||
list-style-type: none;
|
||||
margin-bottom: 2em;
|
||||
|
@ -77,49 +74,46 @@ ul.posts {
|
|||
/* Site
|
||||
/*
|
||||
/*****************************************************************************/
|
||||
|
||||
.site {
|
||||
font-size: 110%;
|
||||
font-size: 115%;
|
||||
text-align: justify;
|
||||
width: 42em;
|
||||
margin: 3em auto 2em auto;
|
||||
margin: 3em auto 2em;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #a00;
|
||||
.site header a {
|
||||
font-weight: bold;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.site .title a {
|
||||
color: #a00;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site .title a:hover {
|
||||
color: black;
|
||||
.site header h1.title {
|
||||
display: inline-block;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.site header h1.title {
|
||||
display: inline;
|
||||
.site header h1.title a {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.site header h1.title a:hover {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.site header a.extra {
|
||||
color: #aaa;
|
||||
text-decoration: none;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.site header a.extra:hover {
|
||||
color: black;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.site .meta {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
.site .footer {
|
||||
.site footer {
|
||||
font-size: 80%;
|
||||
color: #666;
|
||||
border-top: 4px solid #eee;
|
||||
|
@ -127,22 +121,22 @@ ul.posts {
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
.site .footer .contact {
|
||||
.site footer .contact {
|
||||
float: left;
|
||||
margin-right: 3em;
|
||||
}
|
||||
|
||||
.site .footer .contact a {
|
||||
.site footer .contact a {
|
||||
color: #8085C1;
|
||||
}
|
||||
|
||||
.site .footer .rss {
|
||||
.site footer .rss {
|
||||
margin-top: 1.1em;
|
||||
margin-right: -.2em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.site .footer .rss img {
|
||||
.site footer .rss img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
@ -151,21 +145,17 @@ ul.posts {
|
|||
/* Posts
|
||||
/*
|
||||
/*****************************************************************************/
|
||||
|
||||
#post {
|
||||
|
||||
}
|
||||
|
||||
/* standard */
|
||||
|
||||
#post pre {
|
||||
border: 1px solid #ddd;
|
||||
background-color: #eef;
|
||||
padding: 0 .4em;
|
||||
}
|
||||
|
||||
#post ul,
|
||||
#post ol {
|
||||
#post ul,#post ol {
|
||||
margin-left: 1.35em;
|
||||
}
|
||||
|
||||
|
@ -181,11 +171,10 @@ ul.posts {
|
|||
}
|
||||
|
||||
/* terminal */
|
||||
|
||||
#post pre.terminal {
|
||||
border: 1px solid black;
|
||||
border: 1px solid #000;
|
||||
background-color: #333;
|
||||
color: white;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#post pre.terminal code {
|
||||
|
|
Loading…
Reference in New Issue