Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tweak CSS for better consistency with WordPress 3.8.

  • Loading branch information...
commit aa8f874ab8f43c9305fd41fd57559beacfaa1017 1 parent d0fc481
Michael Sisk authored
View
50 -/css/admin-media.css
@@ -1,4 +1,5 @@
-body {
+#media-upload {
+ background: #eee;
margin: .5em;
}
@@ -7,9 +8,25 @@ div {
}
li {
+ background: #fff;
+ box-shadow: 0 .1em .2em rgba( 0, 0, 0, .1 );
float: left;
margin: .5em;
- text-align: right;
+ padding: .5em;
+}
+
+a {
+ border-top: thin solid #fff;
+ color: #444;
+ display: block;
+ padding: .25em;
+ text-decoration: none;
+}
+
+a:focus,
+a:hover {
+ background: #444;
+ color: #fff;
}
b {
@@ -17,7 +34,7 @@ b {
box-shadow: 0 0 1em 0 rgba( 0, 0, 0, .1 ) inset;
display: block;
height: 10em;
- line-height: 10em;
+ line-height: 9em;
outline: thin solid rgba( 0, 0, 0, .2 );
overflow: hidden;
text-align: center;
@@ -25,30 +42,7 @@ b {
}
img {
+ height: auto;
+ max-width: 100%;
vertical-align: middle;
-}
-
-li a {
- background: url( ../img/media-actions.png ) no-repeat;
- display: inline-block;
- margin: 0 0 0 .25em;
- height: 24px;
- overflow: hidden;
- text-indent: 100%;
- white-space: nowrap;
- width: 24px;
-}
-
-li a + a {
- background-position: -24px 0;
-}
-
-li a:focus,
-li a:hover {
- background-position: 0 -24px;
-}
-
-li a + a:focus,
-li a + a:hover {
- background-position: -24px -24px;
}
View
21 -/css/admin-showcase.css
@@ -1,10 +1,10 @@
#webcomic-showcase .slideshow {
- margin: 0 -12px -10px -10px;
+ margin: 0 -11px -11px;
}
#webcomic-showcase .slideshow:after,
#webcomic-showcase .slideshow:before {
- content: ' ';
+ content: " ";
display: table;
}
@@ -23,14 +23,8 @@
}
#webcomic-showcase .slideshow > a {
- background: -moz-linear-gradient( #fff, #eee );
- background: -ms-linear-gradient( #fff, #eee );
- background: -o-linear-gradient( #fff, #eee );
- background: -webkit-linear-gradient( #fff, #eee );
- background: linear-gradient( #fff, #eee );
- border-right: thin solid #eee;
- border-top: thin solid #dfdfdf;
- color: #00acdc;
+ border-right: thin solid #ddd;
+ border-top: thin solid #ddd;
display: block;
float: left;
font-size: 300%;
@@ -44,24 +38,22 @@
}
#webcomic-showcase .slideshow > a:last-child {
- border-left: thin solid #fff;
border-right: 0;
}
#webcomic-showcase .slideshow figure {
- font: 100%/1.4 'Maven Pro', sans-serif;
margin: 0 12px 10px 10px;
}
#webcomic-showcase .slideshow img {
- border-radius: .5rem;
display: block;
margin: 0 0 1rem;
max-width: 100%;
}
#webcomic-showcase .slideshow h4 {
- font: bold larger/1.4 'Maven Pro', sans-serif;
+ font-size: larger;
+ font-weight: bold;
margin: 1rem 0;
}
@@ -70,7 +62,6 @@
}
#webcomic-showcase .slideshow figcaption a {
- color: #00addc;
font-weight: bold;
}
View
7 -/css/admin-special.css
@@ -7,6 +7,7 @@
background: none;
border: 0;
border-radius: 0;
+ box-shadow: none;
}
.updated.webcomic a {
@@ -21,7 +22,7 @@
box-shadow: 0 .12em .25em rgba( 0, 0, 0, .25 );
color: #00acdc;
display: inline-block;
- font: 200%/2.5 'Maven Pro', sans-serif;
+ font: 200%/2.5 "Maven Pro", sans-serif;
padding: 0 1em;
position: relative;
text-shadow: 0 .1em .1em #fff;
@@ -54,7 +55,7 @@
.updated.webcomic b:after,
.updated.webcomic b:before {
bottom: .25em;
- content: '\2764';
+ content: "\2764";
color: #b72367;
display: block;
font-size: larger;
@@ -96,7 +97,7 @@
.updated.webcomic.legacy b:after,
.updated.webcomic.legacy b:before {
- content: '\2605';
+ content: "\2605";
}
.updated.webcomic.legacy b:after {
View
2  -/css/admin-taxonomy.css
@@ -24,7 +24,7 @@
box-shadow: 0 0 1em 0 rgba( 0, 0, 0, .1 ) inset;
display: inline-block;
height: 3em;
- line-height: 3em;
+ line-height: 2em;
margin: 0 .5em 0 0;
outline: thin solid rgba( 0, 0, 0, .2 );
overflow: hidden;
Please sign in to comment.
Something went wrong with that request. Please try again.