Skip to content

Commit a16b45f

Browse files
committed
Initial set of changes for jqueryui.com theme in new-css branch
1 parent cc688ed commit a16b45f

File tree

3 files changed

+42
-43
lines changed

3 files changed

+42
-43
lines changed

themes/jqueryui.com/page.php

+5-7
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@
1010

1111
get_header(); ?>
1212

13-
<div id="body" class="sidebar-left clearfix">
14-
<div class="inner" role="main">
13+
<div id="content" class="sidebar-left clearfix">
1514

16-
<?php the_post(); ?>
15+
<?php the_post(); ?>
1716

18-
<?php get_template_part( 'content', 'page' ); ?>
17+
<?php get_template_part( 'content', 'page' ); ?>
1918

20-
<?php comments_template( '', true ); ?>
19+
<?php comments_template( '', true ); ?>
2120

22-
</div>
23-
<?php get_sidebar(); ?>
2421
</div>
22+
<?php get_sidebar(); ?>
2523

2624
<?php get_footer(); ?>

themes/jqueryui.com/single.php

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
<?php get_header(); ?>
22

3-
<div id="body" class="sidebar-left clearfix">
4-
<div class="inner" role="main">
3+
<div id="content" class="sidebar-left clearfix">
4+
<?php the_post(); ?>
55

6-
<?php the_post(); ?>
6+
<?php get_template_part( 'content', 'page' ); ?>
77

8-
<?php get_template_part( 'content', 'page' ); ?>
9-
10-
</div>
11-
<?php get_sidebar(); ?>
128
</div>
9+
<?php get_sidebar(); ?>
1310

1411
<?php get_footer(); ?>

themes/jqueryui.com/style.css

+33-29
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,6 @@ Theme Name: jqueryui-com
33
Template: jquery
44
*/
55

6-
html.jquery-ui, #container {
7-
background: #BB6F04 url(../jquery/i/bg-body-ui.jpg) no-repeat center -20px;
8-
}
9-
10-
h1.site-title a {
11-
background: url(../jquery/i/logo-ui.png) no-repeat;
12-
width: 275px;
13-
height: 72px;
14-
left: -14px;
15-
position: relative;
16-
}
17-
18-
.border, #site-footer {
19-
border-color: #d69a06;
20-
}
21-
226
a, .title {
237
color: #BB6F04;
248
}
@@ -27,7 +11,7 @@ a:hover {
2711
color: #333;
2812
}
2913

30-
#container header nav {
14+
#container nav#main {
3115
border-top: solid 1px rgba(236,195,8,0.4);
3216
background: rgba(187,111,4,0.5);
3317
-webkit-box-shadow: rgba(255,255,255,0.1) 0 1px 0,
@@ -38,16 +22,19 @@ a:hover {
3822
inset rgba(137,81,6,0.5) 0 -3px 5px;
3923
}
4024

41-
.intro {
25+
#banner-secondary p.intro {
4226
font-size: 24px;
4327
line-height: 32px;
44-
margin-top: 0;
28+
margin: 0;
29+
padding: 0;
30+
padding-right: 0.5em;
4531
float: left;
4632
width: 50%;
4733
text-shadow: #000 1px 1px;
4834
}
4935

50-
.download-box {
36+
37+
#banner-secondary .download-box {
5138
border: 1px solid #aaa;
5239
background: #333;
5340
background: -moz-linear-gradient(left, #333 0%, #444 100%);
@@ -63,33 +50,49 @@ a:hover {
6350
box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
6451
}
6552

66-
#banner .download-box h2 {
53+
54+
#banner-secondary .download-box h2 {
6755
font: bold 23px/23px "proxima-nova", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
56+
color: #71D1FF;
6857
}
6958

70-
.download-box .btn {
71-
margin: 0;
59+
#banner-secondary .download-box .btn {
7260
float: none;
7361
font-weight: bold;
62+
padding: 5px 10px;
63+
display: block;
64+
margin-top: 15px;
65+
border: 1px solid #bfbfbf;
66+
text-decoration: none;
67+
text-shadow: 0 1px 1px #fff;
68+
border-radius: 3px;
69+
background: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#d5d5d5));
70+
background: -moz-linear-gradient(top, #e5e5e5, #d5d5d5);
71+
background: -o-linear-gradient(top, #e5e5e5, #d5d5d5);
72+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#d5d5d5');
73+
}
74+
75+
#banner-secondary .download-box p {
76+
margin: 15px 0 5px;
7477
}
7578

76-
.download-option {
79+
#banner-secondary .download-option {
7780
width: 45%;
7881
float: left;
7982
font-size: 16px;
8083
}
8184

82-
.download-legacy {
85+
#banner-secondary .download-legacy {
8386
float: right;
8487
}
8588

86-
.download-option span {
89+
#banner-secondary .download-option span {
8790
display: block;
8891
font-size: 14px;
8992
color: #71D1FF;
9093
}
9194

92-
.dev-links {
95+
#content .dev-links {
9396
float: right;
9497
width: 30%;
9598
margin: -15px -25px .5em 1em;
@@ -100,14 +103,15 @@ a:hover {
100103
box-shadow: -2px 2px 10px -2px #666;
101104
}
102105

103-
.dev-links ul {
106+
#content .dev-links ul {
104107
list-style: none;
105108
margin: 0;
106109
}
107110

108-
.dev-links li {
111+
#content .dev-links li {
109112
padding: 0;
110113
margin: .25em 0 .25em 1em;
114+
background-image: none;
111115
}
112116

113117
.demo-list {

0 commit comments

Comments
 (0)