Make it pretty

This commit is contained in:
Samuel Cochran 2011-12-23 03:34:15 +08:00
parent 1067c208cb
commit 4978e8c5e7
2 changed files with 84 additions and 49 deletions

View File

@ -42,8 +42,7 @@ q, blockquote {
a img { a img {
border: none; } border: none; }
article, aside, details, figcaption, figure, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
footer, header, hgroup, menu, nav, section {
display: block; } display: block; }
html, body { html, body {
@ -51,11 +50,13 @@ html, body {
height: 100%; } height: 100%; }
body { body {
display: -moz-box;
display: -webkit-box; display: -webkit-box;
display: -moz-box;
display: -ms-box;
display: box; display: box;
-moz-box-orient: vertical;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-moz-box-orient: vertical;
-ms-box-orient: vertical;
box-orient: vertical; box-orient: vertical;
background: #eeeeee; background: #eeeeee;
color: black; color: black;
@ -81,16 +82,16 @@ body {
.button { .button {
padding: 0.5em 1em; padding: 0.5em 1em;
border: 1px solid #cccccc; border: 1px solid #cccccc;
-moz-border-radius: 2px;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
-o-border-radius: 2px; -moz-border-radius: 2px;
-ms-border-radius: 2px; -ms-border-radius: 2px;
-khtml-border-radius: 2px; -o-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f4f4f4), color-stop(100%, #ececec)), #ececec; background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f4f4f4), color-stop(100%, #ececec)), #ececec;
background: -webkit-linear-gradient(#f4f4f4, #ececec), #ececec; background: -webkit-linear-gradient(#f4f4f4, #ececec), #ececec;
background: -moz-linear-gradient(#f4f4f4, #ececec), #ececec; background: -moz-linear-gradient(#f4f4f4, #ececec), #ececec;
background: -o-linear-gradient(#f4f4f4, #ececec), #ececec; background: -o-linear-gradient(#f4f4f4, #ececec), #ececec;
background: -ms-linear-gradient(#f4f4f4, #ececec), #ececec;
background: linear-gradient(#f4f4f4, #ececec), #ececec; background: linear-gradient(#f4f4f4, #ececec), #ececec;
color: #666666; color: #666666;
text-shadow: 1px 1px 0 white; text-shadow: 1px 1px 0 white;
@ -102,6 +103,7 @@ body {
background: -webkit-linear-gradient(#eeeeee, #dddddd), #dddddd; background: -webkit-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: -moz-linear-gradient(#eeeeee, #dddddd), #dddddd; background: -moz-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: -o-linear-gradient(#eeeeee, #dddddd), #dddddd; background: -o-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: -ms-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: linear-gradient(#eeeeee, #dddddd), #dddddd; background: linear-gradient(#eeeeee, #dddddd), #dddddd;
color: #333333; color: #333333;
text-decoration: none; } text-decoration: none; }
@ -112,6 +114,7 @@ body {
background: -webkit-linear-gradient(#dddddd, #eeeeee), #eeeeee; background: -webkit-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: -moz-linear-gradient(#dddddd, #eeeeee), #eeeeee; background: -moz-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: -o-linear-gradient(#dddddd, #eeeeee), #eeeeee; background: -o-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: -ms-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: linear-gradient(#dddddd, #eeeeee), #eeeeee; background: linear-gradient(#dddddd, #eeeeee), #eeeeee;
color: #333333; color: #333333;
text-decoration: none; text-decoration: none;
@ -133,14 +136,10 @@ body > header {
color: black; color: black;
text-decoration: none; text-decoration: none;
text-shadow: 0 1px 0 white; text-shadow: 0 1px 0 white;
-moz-transition-property: 0.1s ease; -webkit-transition: 0.1s ease;
-webkit-transition-property: 0.1s ease; -moz-transition: 0.1s ease;
-o-transition-property: 0.1s ease; -o-transition: 0.1s ease;
transition-property: 0.1s ease; transition: 0.1s ease; }
-moz-transition-duration: 1s;
-webkit-transition-duration: 1s;
-o-transition-duration: 1s;
transition-duration: 1s; }
body > header h1 a:hover { body > header h1 a:hover {
color: #4183c4; } color: #4183c4; }
body > header nav { body > header nav {
@ -167,6 +166,7 @@ body > header {
background: -webkit-linear-gradient(#f4f4f4, #ececec), #ececec; background: -webkit-linear-gradient(#f4f4f4, #ececec), #ececec;
background: -moz-linear-gradient(#f4f4f4, #ececec), #ececec; background: -moz-linear-gradient(#f4f4f4, #ececec), #ececec;
background: -o-linear-gradient(#f4f4f4, #ececec), #ececec; background: -o-linear-gradient(#f4f4f4, #ececec), #ececec;
background: -ms-linear-gradient(#f4f4f4, #ececec), #ececec;
background: linear-gradient(#f4f4f4, #ececec), #ececec; background: linear-gradient(#f4f4f4, #ececec), #ececec;
color: #666666; color: #666666;
text-shadow: 1px 1px 0 white; text-shadow: 1px 1px 0 white;
@ -178,6 +178,7 @@ body > header {
background: -webkit-linear-gradient(#eeeeee, #dddddd), #dddddd; background: -webkit-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: -moz-linear-gradient(#eeeeee, #dddddd), #dddddd; background: -moz-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: -o-linear-gradient(#eeeeee, #dddddd), #dddddd; background: -o-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: -ms-linear-gradient(#eeeeee, #dddddd), #dddddd;
background: linear-gradient(#eeeeee, #dddddd), #dddddd; background: linear-gradient(#eeeeee, #dddddd), #dddddd;
color: #333333; color: #333333;
text-decoration: none; } text-decoration: none; }
@ -186,6 +187,7 @@ body > header {
background: -webkit-linear-gradient(#dddddd, #eeeeee), #eeeeee; background: -webkit-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: -moz-linear-gradient(#dddddd, #eeeeee), #eeeeee; background: -moz-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: -o-linear-gradient(#dddddd, #eeeeee), #eeeeee; background: -o-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: -ms-linear-gradient(#dddddd, #eeeeee), #eeeeee;
background: linear-gradient(#dddddd, #eeeeee), #eeeeee; background: linear-gradient(#dddddd, #eeeeee), #eeeeee;
color: #333333; color: #333333;
text-decoration: none; text-decoration: none;
@ -212,14 +214,10 @@ body > header {
text-shadow: 0 1px 0 white; } text-shadow: 0 1px 0 white; }
#messages table tbody tr { #messages table tbody tr {
cursor: pointer; cursor: pointer;
-moz-transition-property: 0.1s ease; -webkit-transition: 0.1s ease;
-webkit-transition-property: 0.1s ease; -moz-transition: 0.1s ease;
-o-transition-property: 0.1s ease; -o-transition: 0.1s ease;
transition-property: 0.1s ease; transition: 0.1s ease;
-moz-transition-duration: 1s;
-webkit-transition-duration: 1s;
-o-transition-duration: 1s;
transition-duration: 1s;
color: #333333; } color: #333333; }
#messages table tbody tr:hover { #messages table tbody tr:hover {
color: black; } color: black; }
@ -242,14 +240,17 @@ body > header {
border-bottom: 1px solid white; } border-bottom: 1px solid white; }
#message { #message {
display: -moz-box;
display: -webkit-box; display: -webkit-box;
display: -moz-box;
display: -ms-box;
display: box; display: box;
-moz-box-orient: vertical;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-moz-box-orient: vertical;
-ms-box-orient: vertical;
box-orient: vertical; box-orient: vertical;
-moz-box-flex: 1;
-webkit-box-flex: 1; -webkit-box-flex: 1;
-moz-box-flex: 1;
-ms-box-flex: 1;
box-flex: 1; } box-flex: 1; }
#message > header { #message > header {
overflow: hidden; overflow: hidden;
@ -318,8 +319,8 @@ body > header {
background: white; background: white;
color: black; color: black;
height: 13px; height: 13px;
-moz-box-shadow: 1px 1px 0 #cccccc;
-webkit-box-shadow: 1px 1px 0 #cccccc; -webkit-box-shadow: 1px 1px 0 #cccccc;
-moz-box-shadow: 1px 1px 0 #cccccc;
-o-box-shadow: 1px 1px 0 #cccccc; -o-box-shadow: 1px 1px 0 #cccccc;
box-shadow: 1px 1px 0 #cccccc; box-shadow: 1px 1px 0 #cccccc;
margin-bottom: -2px; margin-bottom: -2px;
@ -335,28 +336,45 @@ body > header {
#message > header .views .action { #message > header .views .action {
*display: inline; } *display: inline; }
.fractal-analysis .report-intro { .fractal-analysis {
background: #eef4f5; margin: 12px 0; }
margin-top: 1.5em; .fractal-analysis .report-intro {
padding: 1em; } font-weight: bold; }
.fractal-analysis .report-intro strong { .fractal-analysis .report-intro.valid {
color: #009900; }
.fractal-analysis .report-intro.invalid {
color: #cc3333; }
.fractal-analysis code {
font-family: Monaco, "Courier New", Courier, monospace;
background-color: #f8f8ff;
color: #444444;
padding: 0 0.2em;
border: 1px solid #dedede; }
.fractal-analysis ul {
margin: 1em 0 1em 1em;
list-style-type: square; }
.fractal-analysis ol {
margin: 1em 0 1em 2em;
list-style-type: decimal; }
.fractal-analysis ul li, .fractal-analysis ol li {
display: list-item;
margin: 0.5em 0 0.5em 1em; }
.fractal-analysis .error-intro strong {
font-weight: bold; } font-weight: bold; }
.fractal-analysis .report-intro .code {
background-color: white;
font-family: comic Sans MS;
padding: 1px 5px; }
.fractal-analysis .unsupported-clients {
margin: 1em; }
.fractal-analysis .unsupported-clients dt { .fractal-analysis .unsupported-clients dt {
padding-left: 1em; } padding-left: 1em; }
.fractal-analysis .unsupported-clients dd { .fractal-analysis .unsupported-clients dd {
padding-left: 2em; } padding-left: 2em; }
.fractal-analysis .unsupported-clients dd ul li {
display: list-item; }
iframe { iframe {
display: -moz-box;
display: -webkit-box; display: -webkit-box;
display: -moz-box;
display: -ms-box;
display: box; display: box;
-moz-box-flex: 1;
-webkit-box-flex: 1; -webkit-box-flex: 1;
-moz-box-flex: 1;
-ms-box-flex: 1;
box-flex: 1; box-flex: 1;
background: white; } background: white; }

View File

@ -201,23 +201,40 @@ body > header
margin: 0 .25em margin: 0 .25em
.fractal-analysis .fractal-analysis
margin: 12px 0
.report-intro .report-intro
background: #EEF4F5 font-weight: bold
margin-top: 1.5em &.valid
padding: 1em color: #090
&.invalid
color: #c33
code
font-family: Monaco, "Courier New", Courier, monospace
background-color: #f8f8ff
color: #444
padding: 0 .2em
border: 1px solid #dedede
ul
margin: 1em 0 1em 1em
list-style-type: square
ol
margin: 1em 0 1em 2em
list-style-type: decimal
ul li, ol li
display: list-item
margin: .5em 0 .5em 1em
.error-intro
strong strong
font-weight: bold font-weight: bold
.code
background-color: white
font-family: comic Sans MS
padding: 1px 5px
.unsupported-clients .unsupported-clients
margin: 1em
dt dt
padding-left: 1em padding-left: 1em
dd dd
padding-left: 2em padding-left: 2em
ul
li
display: list-item
iframe iframe
+display-box +display-box
+box-flex(1) +box-flex(1)