Twenty Eleven: adding RTL editor styles and tighter header height - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
Theme Name: Twenty Eleven
|
||||
*/
|
||||
/*
|
||||
Used to style the TinyMCE editor.
|
||||
*/
|
||||
html .mceContentBody{
|
||||
direction:rtl;
|
||||
unicode-bidi:embed;
|
||||
float:right;
|
||||
}
|
||||
* {
|
||||
font-family: Arial, Tahoma, sans-serif;
|
||||
}
|
||||
ul, ol {
|
||||
margin: 0 2.5em 1.625em 0;
|
||||
}
|
||||
blockquote {
|
||||
font-style: normal;
|
||||
}
|
||||
table {
|
||||
text-align: right;
|
||||
}
|
|
@ -124,7 +124,7 @@ function twentyeleven_setup() {
|
|||
// The height and width of your custom header. You can hook into the theme's own filters to change these values.
|
||||
// Add a filter to twentyeleven_header_image_width and twentyeleven_header_image_height to change these values.
|
||||
define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyeleven_header_image_width', 1000 ) );
|
||||
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 300 ) );
|
||||
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 288 ) );
|
||||
|
||||
// We'll be using post thumbnails for custom header images on posts and pages.
|
||||
// We want them to be 940 pixels wide by 198 pixels tall.
|
||||
|
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 221 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 195 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 189 KiB After Width: | Height: | Size: 356 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 246 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 283 KiB |
|
@ -474,7 +474,7 @@ a:hover {
|
|||
z-index: 2;
|
||||
}
|
||||
#site-title {
|
||||
padding: 4em 0 0;
|
||||
padding: 3.65625em 0 0;
|
||||
}
|
||||
#site-title a {
|
||||
color: #111;
|
||||
|
@ -486,7 +486,7 @@ a:hover {
|
|||
#site-description {
|
||||
color: #7a7a7a;
|
||||
font-size: 14px;
|
||||
margin: 0 0 4em;
|
||||
margin: 0 0 3.65625em;
|
||||
}
|
||||
#branding img {
|
||||
height: auto;
|
||||
|
@ -578,7 +578,7 @@ a:hover {
|
|||
/* Search Form */
|
||||
#branding #searchform {
|
||||
position: absolute;
|
||||
top: 4.3em;
|
||||
top: 3.8em;
|
||||
right: 7.6%;
|
||||
text-align: right;
|
||||
}
|
||||
|
@ -1469,6 +1469,10 @@ p img,
|
|||
}
|
||||
.gallery-caption {
|
||||
}
|
||||
img#wpstats {
|
||||
display: block;
|
||||
margin: 0 auto 1.625em;
|
||||
}
|
||||
|
||||
|
||||
/* =Navigation
|
||||
|
|