CSS Optimization

This commit is contained in:
NumEricR 2011-04-03 12:03:07 +02:00
parent 11fa9244e4
commit f896082ab5

View File

@ -17,64 +17,60 @@
.msg a:hover { background: #266400; }
/* //-- yui-grids style overrides -- */
body { font-family: Georgia; color: #444; }
body { font-family: Georgia, Garamond, "Times New Roman", Times, serif; color: #444; }
#inner { padding: 10px 80px; margin: 80px auto; background: #f5f5f5; border: solid #666; border-width: 8px 0 2px 0; }
.yui-gf { margin-bottom: 2em; padding-bottom: 2em; border-bottom: 1px solid #ccc; }
/* //-- header, body, footer -- */
#hd { margin: 2.5em 0 3em 0; padding-bottom: 1.5em; border-bottom: 1px solid #ccc }
#hd { margin: 2.5em 0 3em 0; padding-bottom: 1.5em; border-bottom: 1px solid #ccc; }
#hd h2 { text-transform: uppercase; letter-spacing: 2px; }
#bd, #ft { margin-bottom: 2em; }
/* //-- footer -- */
#ft { padding: 1em 0 5em 0; font-size: 92%; border-top: 1px solid #ccc; text-align: center; }
#ft p { margin-bottom: 0; text-align: center; }
#ft p { margin-bottom: 0; text-align: center; }
/* //-- core typography and style -- */
#hd h1 { font-size: 48px; text-transform: uppercase; letter-spacing: 3px; }
h2 { font-size: 152% }
h2 { font-size: 152%; }
h3, h4 { font-size: 122%; }
h1, h2, h3, h4 { color: #333; }
p { font-size: 100%; line-height: 18px; padding-right: 3em; }
a { color: #990003 }
a { color: #990003; }
a:hover { text-decoration: none; }
strong { font-weight: bold; }
li { line-height: 24px; border-bottom: 1px solid #ccc; }
p.enlarge { font-size: 144%; padding-right: 6.5em; line-height: 24px; }
p.enlarge span { color: #000 }
.contact-info { margin-top: 7px; text-align: right; font-size: 12px; position: relative; float: left; width: 100%;}
.contact-info a { position :relative; float: left; width: 100%;}
.contact-info img {float: right; border: 1px solid #ccc; width: 150px; height: 150px; margin: -24px 0 14px;}
.enlarge { font-size: 144%; padding-right: 6.5em; line-height: 24px; }
.enlarge span { color: #000; }
.contact-info { margin-top: 7px; text-align: right; font-size: 12px; position: relative; float: left; width: 100%; }
.contact-info a { position: relative; float: left; width: 100%; }
.contact-info img { float: right; border: 1px solid #ccc; width: 150px; height: 150px; margin: -24px 0 14px; }
.first h2 { font-style: italic; }
.last { border-bottom: 0 }
.last { border-bottom: 0; }
/* //-- section styles -- */
a#pdf { display: block; float: left; background: #666; color: white; padding: 6px 50px 6px 12px; margin-bottom: 6px; text-decoration: none; }
a#pdf:hover { background: #222; }
#pdf { display: block; float: left; background: #666; color: #fff; padding: 6px 50px 6px 12px; margin-bottom: 6px; text-decoration: none; }
#pdf:hover { background: #222; }
.org, .job { position: relative; margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #ccc; }
.org a, .job a { border: none; text-decoration: none; }
.org h4, .job h4 { position: absolute; top: 0.35em; right: 0 }
.org h4, .job h4 { position: absolute; top: 0.35em; right: 0; }
.org p, .job p { margin: 0.75em 0 3em 0; }
.last { border: none; }
.content-languages { }
.content-languages ul { margin: 0; display: inline; float: left; position: relative; width: 30%;}
.content-languages li { margin: 3px 0; padding: 3px 0; position: relative; float: left; display-inline; }
.content-languages li span { font-size: 152%; display: block; margin-bottom: -2px; padding: 0 }
.talent { width: 32%; float: left }
.talent { width: 32%; float: left; }
.talent h2 { margin-bottom: 6px; }
#srt-ttab { margin-bottom: 100px; text-align: center; }
#srt-ttab img.last { margin-top: 20px }
#srt-ttab { margin-bottom: 100px; text-align: center; }
#srt-ttab img.last { margin-top: 20px; }
/* --// override to force 1/8th width grids -- */
.yui-gf .yui-u{width:80.2%;}
.yui-gf div.first{width:12.3%;}
.yui-gf .yui-u { width: 80.2%; }
.yui-gf div.first { width: 12.3%; }
input#username {
#username {
position: relative;
float: left;
height: 30px;
@ -83,20 +79,21 @@ input#username {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
font-family: Georgia; color: #444;
font-family: Georgia, Garamond, "Times New Roman", Times, serif;
color: #444;
font-size: 18px;
padding: 5px;
}
button#gen {
#gen {
position: relative;
float: left;
margin-left: 10px;
width: 20%;
height: 44px;
font-family: Georgia; color: #444;
font-size: 18px;
color: white;
font-family: Georgia, Garamond, "Times New Roman", Times, serif;;
font-size: 18px;
color: #fff;
background-image: -webkit-gradient(
linear,
left bottom,
@ -114,8 +111,7 @@ button#gen {
-moz-border-radius: 4px;
border-radius: 4px;
}
button#gen:hover {
#gen:hover {
cursor: pointer;
}