Merge lp:~sajoupa/wordpress/wp-theme-xubuntu-website-r119 into lp:~canonical-sysadmins/wordpress/wp-theme-xubuntu-website

Proposed by Laurent Sesquès
Status: Merged
Merged at revision: 107
Proposed branch: lp:~sajoupa/wordpress/wp-theme-xubuntu-website-r119
Merge into: lp:~canonical-sysadmins/wordpress/wp-theme-xubuntu-website
Diff against target: 3227 lines (+1205/-1479)
26 files modified
xubuntu-fifteen/attachment.php (+0/-69)
xubuntu-fifteen/content-archive.php (+9/-11)
xubuntu-fifteen/content-attachment.php (+51/-0)
xubuntu-fifteen/content-release.php (+23/-84)
xubuntu-fifteen/content-search.php (+9/-11)
xubuntu-fifteen/footer.php (+2/-2)
xubuntu-fifteen/functions-features-release-links.php (+127/-0)
xubuntu-fifteen/functions-features.php (+11/-0)
xubuntu-fifteen/functions.php (+0/-1)
xubuntu-fifteen/header.php (+28/-30)
xubuntu-fifteen/index.php (+15/-7)
xubuntu-fifteen/reset.css (+20/-3)
xubuntu-fifteen/script-menu.js (+4/-16)
xubuntu-fifteen/style-common.css (+181/-280)
xubuntu-fifteen/style-editor.css (+1/-14)
xubuntu-fifteen/style-resp-1000.css (+24/-21)
xubuntu-fifteen/style-resp-1200.css (+9/-23)
xubuntu-fifteen/style-resp-450.css (+0/-161)
xubuntu-fifteen/style-resp-600.css (+264/-293)
xubuntu-fifteen/style-resp-800.css (+67/-57)
xubuntu-fifteen/style.css (+348/-376)
xubuntu-fifteen/template_blank.php (+0/-16)
xubuntu-fifteen/widgets-blog.php (+3/-3)
xubuntu-fifteen/widgets-footer.php (+1/-0)
xubuntu-fifteen/widgets-front.php (+1/-1)
xubuntu-fifteen/widgets-release.php (+7/-0)
To merge this branch: bzr merge lp:~sajoupa/wordpress/wp-theme-xubuntu-website-r119

Description of the change

Merge r119 of lp:xubuntu-website as per uRT#29426

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== removed file 'xubuntu-fifteen/attachment.php'
--- xubuntu-fifteen/attachment.php 2015-02-19 15:54:23 +0000
+++ xubuntu-fifteen/attachment.php 1970-01-01 00:00:00 +0000
@@ -1,69 +0,0 @@
1<?php
2 /* Template name: Full size gallery */
3?>
4
5<?php get_header( ); ?>
6<?php the_post( ); ?>
7
8<div id="content_outer">
9 <div id="content" class="air">
10 <?php
11 // Get previous/next attachment if available
12 $args = array(
13 'post_parent' => get_post_field( 'post_parent', get_the_ID( ) ),
14 'post_type' => 'attachment',
15 'post_mime_type' => 'image',
16 'order_by' => 'date',
17 'order' => 'ASC'
18 );
19 $attachments = get_children( $args );
20 sort( $attachments );
21
22 foreach( $attachments as $i => $a ) {
23 if( $a->ID == get_the_ID( ) ) {
24 $prev = $i - 1; $next = $i + 1;
25
26 if( $prev >= 0 ) {
27 $prev_img = $attachments[$prev];
28 } else {
29 $last = count( $attachments ) - 1;
30 $prev_img = $attachments[$last];
31 }
32
33 if( $next <= count( $attachments ) - 1 ) {
34 $next_img = $attachments[$next];
35 } else {
36 $next_img = $attachments[0];
37 }
38 }
39
40 continue;
41 }
42 ?>
43 <?php if( count( $attachments ) > 1 ) { ?>
44 <div id="attachment_navi">
45 <a class="button back" href="<?php echo get_the_permalink( $prev_img->ID ); ?>"><?php _e( 'Previous', 'xubuntu' ); ?></a>
46 <a class="button primary clean" href="<?php echo get_the_permalink( get_post_field( 'post_parent', get_the_ID( ) ) ); ?>"><?php _e( 'Parent', 'xubuntu' ); ?></a>
47 <a class="button" href="<?php echo get_the_permalink( $next_img->ID ); ?>"><?php _e( 'Next', 'xubuntu' ); ?></a>
48 </div>
49 <?php } ?>
50 <div id="attachment">
51 <?php
52 // Output the image
53 echo wp_get_attachment_image( get_the_ID( ), 'original' );
54 ?>
55 </div>
56 <?php
57 $caption = get_the_excerpt( );
58 $description = get_the_content( );
59 ?>
60 <?php if( $caption || $description ) { ?>
61 <div class="boxed">
62 <?php if( $caption ) { ?><h2><?php echo $caption; ?></h2><?php } ?>
63 <?php if( $description ) { ?><p><?php echo $description; ?></p><?php } ?>
64 </div>
65 <?php } ?>
66 </div>
67</div>
68
69<?php get_footer( ); ?>
70\ No newline at end of file0\ No newline at end of file
711
=== modified file 'xubuntu-fifteen/content-archive.php'
--- xubuntu-fifteen/content-archive.php 2016-08-28 23:39:44 +0000
+++ xubuntu-fifteen/content-archive.php 2016-12-15 07:46:28 +0000
@@ -16,14 +16,12 @@
16 }16 }
17?>17?>
18 18
19<div id="archive-posts">
20 <ul>
21 <?php while( have_posts( ) ) { ?>
22 <?php the_post( ); ?>
23 <li class="post-title">
24 <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span>
25 <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b>
26 </li>
27 <?php } ?>
28 </ul>
29</div>
30\ No newline at end of file19\ No newline at end of file
20<ul class="posts-list">
21 <?php while( have_posts( ) ) { ?>
22 <?php the_post( ); ?>
23 <li class="post-title">
24 <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span>
25 <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b>
26 </li>
27 <?php } ?>
28</ul>
31\ No newline at end of file29\ No newline at end of file
3230
=== added file 'xubuntu-fifteen/content-attachment.php'
--- xubuntu-fifteen/content-attachment.php 1970-01-01 00:00:00 +0000
+++ xubuntu-fifteen/content-attachment.php 2016-12-15 07:46:28 +0000
@@ -0,0 +1,51 @@
1<?php
2 if( get_the_excerpt( ) ) {
3 echo '<h1>' . get_the_excerpt( ) . '</h1>';
4 }
5 if( get_the_content( ) ) {
6 echo wpautop( get_the_content( ) );
7 }
8?>
9
10<p><?php echo wp_get_attachment_image( get_the_ID( ), 'original' ); ?></p>
11
12<?php
13 // Get previous/next attachment if available
14 $args = array(
15 'post_parent' => get_post_field( 'post_parent', get_the_ID( ) ),
16 'post_type' => 'attachment',
17 'post_mime_type' => 'image',
18 'order_by' => 'date',
19 'order' => 'ASC'
20 );
21 $attachments = get_children( $args );
22 sort( $attachments );
23
24 foreach( $attachments as $i => $a ) {
25 if( $a->ID == get_the_ID( ) ) {
26 $prev = $i - 1; $next = $i + 1;
27
28 if( $prev >= 0 ) {
29 $prev_img = $attachments[$prev];
30 } else {
31 $last = count( $attachments ) - 1;
32 $prev_img = $attachments[$last];
33 }
34
35 if( $next <= count( $attachments ) - 1 ) {
36 $next_img = $attachments[$next];
37 } else {
38 $next_img = $attachments[0];
39 }
40 }
41
42 continue;
43 }
44?>
45<?php if( count( $attachments ) > 1 ) { ?>
46 <div class="attachment-navi">
47 <a class="button back" href="<?php echo get_the_permalink( $prev_img->ID ); ?>"><?php _e( 'Previous', 'xubuntu' ); ?></a>
48 <a class="button primary clean" href="<?php echo get_the_permalink( get_post_field( 'post_parent', get_the_ID( ) ) ); ?>"><?php _e( 'Parent', 'xubuntu' ); ?></a>
49 <a class="button" href="<?php echo get_the_permalink( $next_img->ID ); ?>"><?php _e( 'Next', 'xubuntu' ); ?></a>
50 </div>
51<?php } ?>
052
=== modified file 'xubuntu-fifteen/content-release.php'
--- xubuntu-fifteen/content-release.php 2016-08-29 12:39:20 +0000
+++ xubuntu-fifteen/content-release.php 2016-12-15 07:46:28 +0000
@@ -11,17 +11,14 @@
11 $eol_time = gmmktime( 0, 0, 1, $month, $day, $year );11 $eol_time = gmmktime( 0, 0, 1, $month, $day, $year );
12 }12 }
1313
14 if( strlen( $release_meta['release_codename'] ) > 0 ) {14 echo '<h1 class="post-title">Xubuntu ' . single_term_title( '', false ) . '</h1>';
15 $codename = ', ' . $release_meta['release_codename'];15 if( strlen( $release_meta['release_codename'] ) > 0 || isset( $release_time ) || isset( $eol_time ) ) {
16 } else {
17 $codename = '';
18 }
19
20 echo '<h1 class="post-title">Xubuntu ' . single_term_title( '', false ) . $codename . '</h1>';
21 if( isset( $release_time ) || isset( $eol_time ) ) {
22 echo '<dl class="release-info group">';16 echo '<dl class="release-info group">';
17 if( strlen( $release_meta['release_codename'] ) > 0 ) {
18 echo '<dt>' . __( 'Codename', 'xubuntu' ) . '</dt><dd>' . $release_meta['release_codename'] . '</dd>';
19 }
23 if( isset( $release_time ) ) {20 if( isset( $release_time ) ) {
24 echo '<dt>' . __( 'Release date', 'xubuntu' ) . '</dt><dd>' . gmdate( 'F j, Y', $release_time ) . '</dd>';21 echo '<dt>' . __( 'Release Date', 'xubuntu' ) . '</dt><dd>' . gmdate( 'F j, Y', $release_time ) . '</dd>';
25 }22 }
26 if( isset( $eol_time ) ) {23 if( isset( $eol_time ) ) {
27 echo '<dt>' . __( 'End of Life', 'xubuntu' ) . '</dt><dd>' . gmdate( 'F j, Y', $eol_time ) . '</dd>';24 echo '<dt>' . __( 'End of Life', 'xubuntu' ) . '</dt><dd>' . gmdate( 'F j, Y', $eol_time ) . '</dd>';
@@ -33,35 +30,14 @@
33?>30?>
3431
35<?php32<?php
36 $official_links = get_posts( array(33 $official_links = release_link_list( array( 'official', 'official-expiring' ), $release->term_id );
37 'post_type' => 'release_link',
38 'posts_per_page' => -1,
39 'tax_query' => array( array(
40 'taxonomy' => 'release',
41 'field' => 'term_id',
42 'terms' => $release->term_id
43 ) ),
44 'meta_query' => array(
45 'relation' => 'OR',
46 array(
47 'key' => 'link_type',
48 'value' => 'official'
49 ),
50 array(
51 'key' => 'link_type',
52 'value' => 'official-expiring'
53 ),
54 ),
55 'orderby' => 'title',
56 'order' => 'ASC'
57 ) );
5834
59 if( is_array( $official_links ) && count( $official_links ) > 0 ) {35 if( $official_links ) {
60 $otuput_links = array( );36 $output_links = array( );
6137
62 foreach( $official_links as $official_link ) {38 foreach( $official_links as $official_link ) {
63 $meta = get_post_meta( $official_link->ID );39 $meta = get_post_meta( $official_link->ID );
64 if( $meta['link_type'][0] == 'official-expiring' && time( ) <= $eol_time ) {40 if( ( $meta['link_type'][0] == 'official-expiring' && time( ) <= $eol_time ) || $meta['link_type'][0] == 'official' ) {
65 $output_links[] = '<li><strong><a href="' . $meta['link_url'][0] . '">' . $official_link->post_title . '</a></strong></li>';41 $output_links[] = '<li><strong><a href="' . $meta['link_url'][0] . '">' . $official_link->post_title . '</a></strong></li>';
66 }42 }
67 }43 }
@@ -79,61 +55,24 @@
7955
80<?php if( have_posts( ) ) { ?>56<?php if( have_posts( ) ) { ?>
81 <h2><?php _e( 'Articles', 'xubuntu' ); ?></h2>57 <h2><?php _e( 'Articles', 'xubuntu' ); ?></h2>
82 <div id="archive-posts">58 <ul class="posts-list">
83 <ul>59 <?php while( have_posts( ) ) { ?>
84 <?php while( have_posts( ) ) { ?>60 <?php the_post( ); ?>
85 <?php the_post( ); ?>61 <?php if( get_post_type( ) == 'post' ) { ?>
86 <?php if( get_post_type( ) == 'post' ) { ?>62 <li class="post-title">
87 <li class="post-title">63 <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span>
88 <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span>64 <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b>
89 <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b>65 </li>
90 </li>
91 <?php } ?>
92 <?php } ?>66 <?php } ?>
93 </ul>67 <?php } ?>
94 </div>68 </ul>
95<?php } ?>69<?php } ?>
9670
97<?php71<?php
98 $press_links = get_posts( array(72 $press_links = release_link_list( 'press', $release->term_id );
99 'post_type' => 'release_link',73 if( $press_links ) {
100 'posts_per_page' => -1,
101 'tax_query' => array( array(
102 'taxonomy' => 'release',
103 'field' => 'term_id',
104 'terms' => $release->term_id
105 ) ),
106 'meta_query' => array( array(
107 'key' => 'link_type',
108 'value' => 'press'
109 ) ),
110 'orderby' => 'title',
111 'order' => 'ASC'
112 ) );
113
114 if( is_array( $press_links ) && count( $press_links ) > 0 ) {
115 echo '<h2>' . __( 'In the Press', 'xubuntu' ) . '</h2>';74 echo '<h2>' . __( 'In the Press', 'xubuntu' ) . '</h2>';
116 echo '<ul class="link-list">';75 echo release_link_press_output( $press_links );
117 foreach( $press_links as $press_link ) {
118 $meta = get_post_meta( $press_link->ID );
119 echo '<li>';
120 echo '<strong><a href="' . $meta['link_url'][0] . '">' . $press_link->post_title . '</a></strong>';
121 if( ( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) || ( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) ) {
122 echo ' by ';
123 }
124 if( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) {
125 echo $meta['author_name'][0] . ' of ';
126 }
127 if( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) {
128 if( isset( $meta['author_url'][0] ) && strlen( $meta['author_url'][0] ) > 0 ) {
129 echo '<a href="' . $meta['author_url'][0] . '">' . $meta['author_site'][0] . '</a>';
130 } else {
131 echo $meta['author_site'][0];
132 }
133 }
134 echo '</li>';
135 }
136 echo '</ul>';
137 }76 }
138?>77?>
13978
14079
=== modified file 'xubuntu-fifteen/content-search.php'
--- xubuntu-fifteen/content-search.php 2016-02-12 23:25:25 +0000
+++ xubuntu-fifteen/content-search.php 2016-12-15 07:46:28 +0000
@@ -1,17 +1,15 @@
1<h1 class="post-title"><?php printf( __( 'Search results for "%s"', 'xubuntu' ), $_GET['s'] ); ?></h1>1<h1 class="post-title"><?php printf( __( 'Search results for "%s"', 'xubuntu' ), $_GET['s'] ); ?></h1>
22
3<?php if( have_posts( ) ) { ?> 3<?php if( have_posts( ) ) { ?>
4 <div id="archive-posts">4 <ul class="posts-list">
5 <ul>5 <?php while( have_posts( ) ) { ?>
6 <?php while( have_posts( ) ) { ?>6 <?php the_post( ); ?>
7 <?php the_post( ); ?>7 <li class="post-title">
8 <li class="post-title">8 <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span>
9 <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span>9 <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b>
10 <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b>10 </li>
11 </li>11 <?php } ?>
12 <?php } ?>12 </ul>
13 </ul>
14 </div>
15<?php } else { ?>13<?php } else { ?>
16 <p><?php _e( 'No content found.', 'xubuntu' ); ?></p>14 <p><?php _e( 'No content found.', 'xubuntu' ); ?></p>
17<?php } ?>15<?php } ?>
1816
=== modified file 'xubuntu-fifteen/footer.php'
--- xubuntu-fifteen/footer.php 2016-07-30 22:50:35 +0000
+++ xubuntu-fifteen/footer.php 2016-12-15 07:46:28 +0000
@@ -1,7 +1,7 @@
1<div id="footer">1<footer>
2 <?php get_template_part( 'widgets', 'footer' ); ?>2 <?php get_template_part( 'widgets', 'footer' ); ?>
3 <?php wp_footer( ); ?>3 <?php wp_footer( ); ?>
4</div>4</footer>
55
6</body>6</body>
7</html>7</html>
88
=== modified file 'xubuntu-fifteen/functions-features-release-links.php'
--- xubuntu-fifteen/functions-features-release-links.php 2016-08-28 23:39:44 +0000
+++ xubuntu-fifteen/functions-features-release-links.php 2016-12-15 07:46:28 +0000
@@ -129,4 +129,131 @@
129 }129 }
130}130}
131131
132/*
133 * Add a function to help listing release links
134 *
135 */
136
137function release_link_list( $link_type = 'press', $term = null ) {
138 $args = array(
139 'post_type' => 'release_link',
140 'posts_per_page' => -1,
141 'orderby' => 'title',
142 'order' => 'ASC'
143 );
144
145 if( isset( $link_type ) ) {
146 $args['meta_query'] = array(
147 'relation' => 'OR',
148 );
149
150 if( is_array( $link_type ) ) {
151 foreach( $link_type as $type ) {
152 $args['meta_query'][] = array(
153 'key' => 'link_type',
154 'value' => $type
155 );
156 }
157 } else {
158 $args['meta_query'][] = array(
159 'key' => 'link_type',
160 'value' => $link_type
161 );
162 }
163 }
164
165 if( isset( $term ) ) {
166 $args['tax_query'] = array( array(
167 'taxonomy' => 'release',
168 'field' => 'term_id',
169 'terms' => $term
170 ) );
171 }
172
173 $links = get_posts( $args );
174
175 if( is_array( $links ) && count( $links ) > 0 ) {
176 return $links;
177 } else {
178 return null;
179 }
180}
181
182/*
183 * Add a function to output press links
184 * Used by: content-release.php !
185 *
186 */
187
188function release_link_press_output( $press_links = array( ) ) {
189 if( count( $press_links ) > 0 ) {
190 $out = '<ul class="link-list">';
191 foreach( $press_links as $press_link ) {
192 $meta = get_post_meta( $press_link->ID );
193 $out .= '<li>';
194 $out .= '<strong><a href="' . $meta['link_url'][0] . '">' . $press_link->post_title . '</a></strong>';
195 if( ( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) || ( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) ) {
196 $out .= ' by ';
197 }
198 if( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) {
199 $out .= $meta['author_name'][0] . ' of ';
200 }
201 if( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) {
202 if( isset( $meta['author_url'][0] ) && strlen( $meta['author_url'][0] ) > 0 ) {
203 $out .= '<a href="' . $meta['author_url'][0] . '">' . $meta['author_site'][0] . '</a>';
204 } else {
205 $out .= $meta['author_site'][0];
206 }
207 }
208 $out .= '</li>';
209 }
210 $out .= '</ul>';
211
212 return $out;
213 }
214}
215
216/*
217 * Add a shortcode for printing out press links
218 *
219 */
220
221add_shortcode( 'press', 'release_link_shortcode_press' );
222
223function release_link_shortcode_press( $atts ) {
224 $atts = shortcode_atts(
225 array(
226 'release' => false,
227 ),
228 $atts,
229 'press'
230 );
231
232 $args = array( );
233
234 if( strlen( $atts['release'] ) > 0 ) {
235 $single_release = get_term_by( 'slug', $atts['release'], 'release' );
236 $args['include'] = $single_release->term_id;
237 }
238
239 $releases = get_terms( 'release', $args );
240 $navi = '';
241 $links_out = '';
242
243 foreach( $releases as $release ) {
244 $links = release_link_list( 'press', $release->term_id );
245 if( count( $links ) > 0 ) {
246 $release_meta = get_option( 'taxonomy_term_' . $release->term_id );
247 $navi .= '<a class="button" href="#' . $release->slug . '">' . $release->name . '</a>';
248 $links_out .= '<h2 id="' . $release->slug . '">' . $release->name . ' (' . $release_meta['release_codename'] . ')</h2>' . release_link_press_output( $links );
249 }
250 }
251
252 if( count( $releases ) > 1 ) {
253 return '<p>' . $navi . '</p>' . $links_out;
254 } else {
255 return $links_out;
256 }
257}
258
132?>259?>
133\ No newline at end of file260\ No newline at end of file
134261
=== modified file 'xubuntu-fifteen/functions-features.php'
--- xubuntu-fifteen/functions-features.php 2016-08-29 13:44:57 +0000
+++ xubuntu-fifteen/functions-features.php 2016-12-15 07:46:28 +0000
@@ -26,6 +26,17 @@
26 'before_title' => '<h2>',26 'before_title' => '<h2>',
27 'after_title' => '</h2>'27 'after_title' => '</h2>'
28 ) );28 ) );
29
30 /* Widgets for release pages */
31 register_sidebar( array(
32 'name' => 'Release page widgets',
33 'id' => 'release_widgets',
34 'before_widget' => '',
35 'after_widget' => '',
36 'before_title' => '<h2>',
37 'after_title' => '</h2>'
38 ) );
39
29 /* Footer */40 /* Footer */
30 register_sidebars( 2, array(41 register_sidebars( 2, array(
31 'name' => 'Footer %d',42 'name' => 'Footer %d',
3243
=== modified file 'xubuntu-fifteen/functions.php'
--- xubuntu-fifteen/functions.php 2016-08-28 23:39:44 +0000
+++ xubuntu-fifteen/functions.php 2016-12-15 07:46:28 +0000
@@ -45,7 +45,6 @@
45 wp_enqueue_style( 'xubuntu-style-resp-1000', get_stylesheet_directory_uri( ) . '/style-resp-1000.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-1200' ), false, 'only screen and (max-width:1000px)' );45 wp_enqueue_style( 'xubuntu-style-resp-1000', get_stylesheet_directory_uri( ) . '/style-resp-1000.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-1200' ), false, 'only screen and (max-width:1000px)' );
46 wp_enqueue_style( 'xubuntu-style-resp-800', get_stylesheet_directory_uri( ) . '/style-resp-800.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-1000' ), false, 'only screen and (max-width:800px)' );46 wp_enqueue_style( 'xubuntu-style-resp-800', get_stylesheet_directory_uri( ) . '/style-resp-800.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-1000' ), false, 'only screen and (max-width:800px)' );
47 wp_enqueue_style( 'xubuntu-style-resp-600', get_stylesheet_directory_uri( ) . '/style-resp-600.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-800' ), false, 'only screen and (max-width:600px)' );47 wp_enqueue_style( 'xubuntu-style-resp-600', get_stylesheet_directory_uri( ) . '/style-resp-600.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-800' ), false, 'only screen and (max-width:600px)' );
48 wp_enqueue_style( 'xubuntu-style-resp-450', get_stylesheet_directory_uri( ) . '/style-resp-450.css', array( 'xubuntu-style', 'xubuntu-style-common', 'xubuntu-style-resp-600' ), false, 'only screen and (max-width:450px)' );
49}48}
5049
51/* Check if the current page is a blog page50/* Check if the current page is a blog page
5251
=== modified file 'xubuntu-fifteen/header.php'
--- xubuntu-fifteen/header.php 2016-01-03 22:40:57 +0000
+++ xubuntu-fifteen/header.php 2016-12-15 07:46:28 +0000
@@ -9,39 +9,37 @@
9 <meta name="author" content="The Xubuntu community" />9 <meta name="author" content="The Xubuntu community" />
10 <meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />10 <meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
1111
12 <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon.png">12 <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri( ); ?>/images/xubuntu-icon-16.png">
1313
14 <?php wp_head( ); ?>14 <?php wp_head( ); ?>
15</head>15</head>
1616
17<body id="xubuntu" <?php echo body_class( ); ?>>17<body id="xubuntu" <?php echo body_class( ); ?>>
1818
19<div id="header_outer">19<header>
20 <div id="header_art"></div>20 <div id="logo">
21 <div id="header">21 <a href="<?php echo home_url( '/' ); ?>"><img src="<?php bloginfo( 'stylesheet_directory' ); ?>/images/xubuntu-logo-45.png" alt="Xubuntu" /></a>
22 <div id="logo">22 </div>
23 <a href="<?php echo home_url( '/' ); ?>"><img src="<?php bloginfo( 'stylesheet_directory' ); ?>/images/xubuntu-logo-45.png" alt="Xubuntu" /></a>23
24 </div>24 <div id="navi">
25 </div>25 <a id="opennavi" class="navi_open_button" href="#footer_navi" title="<?php _e( 'Click to see more', 'xubuntu' ); ?>"></a>
26 <div id="navi_outer">26 <?php
27 <div id="navi">27 wp_nav_menu( array(
28 <a id="opennavi" class="navi_open_button" href="#footer_navi" title="<?php _e( 'Click to see more', 'xubuntu' ); ?>"></a>28 'theme_location' => 'quick_navigation',
29 <?php29 'container' => 'nav',
30 wp_nav_menu( array(30 'container_id' => 'navi_quick',
31 'theme_location' => 'quick_navigation',31 'container_class' => 'group navigation nq',
32 'container_id' => 'navi_quick',32 'fallback_cb' => 'xubuntu_quick_menu_fallback'
33 'container_class' => 'group navigation nq',33 ) );
34 'fallback_cb' => 'xubuntu_quick_menu_fallback'34 ?>
35 ) );35 <?php
36 ?>36 wp_nav_menu( array(
37 <?php37 'theme_location' => 'main_navigation',
38 wp_nav_menu( array(38 'container' => 'nav',
39 'theme_location' => 'main_navigation',39 'container_id' => 'navi_main',
40 'container_id' => 'navi_main',40 'container_class' => 'group navigation nd',
41 'container_class' => 'group navigation nd',41 'fallback_cb' => false
42 'fallback_cb' => false42 ) );
43 ) );43 ?>
44 ?>44 </div>
45 </div>45</header>
46 </div>
47</div>
4846
=== removed file 'xubuntu-fifteen/images/favicon.png'
49Binary files xubuntu-fifteen/images/favicon.png 2015-02-19 15:54:23 +0000 and xubuntu-fifteen/images/favicon.png 1970-01-01 00:00:00 +0000 differ47Binary files xubuntu-fifteen/images/favicon.png 2015-02-19 15:54:23 +0000 and xubuntu-fifteen/images/favicon.png 1970-01-01 00:00:00 +0000 differ
=== added file 'xubuntu-fifteen/images/header.png'
50Binary files xubuntu-fifteen/images/header.png 1970-01-01 00:00:00 +0000 and xubuntu-fifteen/images/header.png 2016-12-15 07:46:28 +0000 differ48Binary files xubuntu-fifteen/images/header.png 1970-01-01 00:00:00 +0000 and xubuntu-fifteen/images/header.png 2016-12-15 07:46:28 +0000 differ
=== added file 'xubuntu-fifteen/images/xubuntu-icon-16.png'
51Binary files xubuntu-fifteen/images/xubuntu-icon-16.png 1970-01-01 00:00:00 +0000 and xubuntu-fifteen/images/xubuntu-icon-16.png 2016-12-15 07:46:28 +0000 differ49Binary files xubuntu-fifteen/images/xubuntu-icon-16.png 1970-01-01 00:00:00 +0000 and xubuntu-fifteen/images/xubuntu-icon-16.png 2016-12-15 07:46:28 +0000 differ
=== modified file 'xubuntu-fifteen/index.php'
--- xubuntu-fifteen/index.php 2016-08-29 12:39:20 +0000
+++ xubuntu-fifteen/index.php 2016-12-15 07:46:28 +0000
@@ -1,13 +1,15 @@
1<?php get_header( ); ?>1<?php get_header( ); ?>
22
3<div id="content_outer">3<section id="middle" class="group">
4 <div id="content" class="group">4 <section id="content" class="group">
5 <div id="main" class="group">5 <main id="main" class="group">
6 <?php6 <?php
7 if( is_search( ) ) {7 if( is_search( ) ) {
8 get_template_part( 'content', 'search' );8 get_template_part( 'content', 'search' );
9 } elseif( is_tax( 'release' ) ) {9 } elseif( is_tax( 'release' ) ) {
10 get_template_part( 'content', 'release' );10 get_template_part( 'content', 'release' );
11 } elseif( is_attachment( ) ) {
12 get_template_part( 'content', 'attachment' );
11 } elseif( have_posts( ) && !is_404( ) ) {13 } elseif( have_posts( ) && !is_404( ) ) {
12 if( is_archive( ) ) {14 if( is_archive( ) ) {
13 get_template_part( 'content', 'archive' );15 get_template_part( 'content', 'archive' );
@@ -23,10 +25,16 @@
23 <?php25 <?php
24 }26 }
25 ?>27 ?>
26 </div>28 </main>
27 <?php if( is_blog( ) || is_search( ) ) { get_template_part( 'widgets', 'blog' ); } ?>29 <?php
28 </div>30 if( is_tax( 'release' ) ) {
31 get_template_part( 'widgets', 'release' );
32 } elseif( is_blog( ) || is_search( ) ) {
33 get_template_part( 'widgets', 'blog' );
34 }
35 ?>
36 </section>
29 <?php if( is_front_page( ) ) { get_template_part( 'widgets', 'front' ); } ?>37 <?php if( is_front_page( ) ) { get_template_part( 'widgets', 'front' ); } ?>
30</div>38</section>
3139
32<?php get_footer( ); ?>40<?php get_footer( ); ?>
33\ No newline at end of file41\ No newline at end of file
3442
=== modified file 'xubuntu-fifteen/reset.css'
--- xubuntu-fifteen/reset.css 2016-02-12 23:56:18 +0000
+++ xubuntu-fifteen/reset.css 2016-12-15 07:46:28 +0000
@@ -50,8 +50,10 @@
50 border-spacing: 0;50 border-spacing: 0;
51}51}
5252
53/* Self-clearing float53/*
54 * (and other little tweaks)54 * Self-clearing float
55 * Tony Aslett, 2004-05-08
56 * http://csscreator.com/attributes/containedfloat.php
55 *57 *
56 */58 */
5759
@@ -61,7 +63,22 @@
61 height: 0;63 height: 0;
62 clear: both;64 clear: both;
63 visibility: hidden;65 visibility: hidden;
64}66 font-size: 0;
67}
68
69/*
70 * Border box model everywhere
71 * Pasi Lallinaho, 2016-04-09
72 *
73 */
74
75* {
76 box-sizing: border-box;
77}
78
79/*
80 *
81 */
6582
66.hidden,83.hidden,
67.screen-reader-text { display: none; }84.screen-reader-text { display: none; }
6885
=== modified file 'xubuntu-fifteen/screenshot.png'
69Binary files xubuntu-fifteen/screenshot.png 2015-02-19 15:54:23 +0000 and xubuntu-fifteen/screenshot.png 2016-12-15 07:46:28 +0000 differ86Binary files xubuntu-fifteen/screenshot.png 2015-02-19 15:54:23 +0000 and xubuntu-fifteen/screenshot.png 2016-12-15 07:46:28 +0000 differ
=== modified file 'xubuntu-fifteen/script-menu.js'
--- xubuntu-fifteen/script-menu.js 2016-07-30 22:48:09 +0000
+++ xubuntu-fifteen/script-menu.js 2016-12-15 07:46:28 +0000
@@ -17,10 +17,6 @@
17 } else if( current.offset( ).left - shift < 0 ) {17 } else if( current.offset( ).left - shift < 0 ) {
18 // The submenu would overflow in the left side18 // The submenu would overflow in the left side
19 current_sub.css( 'left', '-2px' );19 current_sub.css( 'left', '-2px' );
20 } else {
21 // The submenu will fit the screen when centered
22 // Commenting this line keeps menus left-aligned
23 //current_sub.css( 'left', -shift );
24 }20 }
25 } );21 } );
2622
@@ -68,17 +64,9 @@
68} );64} );
6965
70function xubuntu_sticky_header( ) {66function xubuntu_sticky_header( ) {
71 if( jQuery( window ).scrollTop( ) > ( jQuery( '#header' ).outerHeight( ) + jQuery( '#navi' ).outerHeight( ) ) ) {67 if( jQuery( window ).scrollTop( ) > ( jQuery( '#logo' ).outerHeight( ) + jQuery( '#navi' ).outerHeight( ) ) ) {
72 jQuery( '#header_outer' ).addClass( 'scrolled' );68 jQuery( 'header' ).addClass( 'scrolled' );
73 } else {69 } else {
74 jQuery( '#header_outer' ).removeClass( 'scrolled' );70 jQuery( 'header' ).removeClass( 'scrolled' );
75 }
76}
77
78function xubuntu_scrolled( ) {
79 if( jQuery( window ).width( ) < 600 ) {
80 jQuery( '#header_outer' ).addClass( 'scrolled' );
81 } else {
82 jQuery( '#header_outer' ).removeClass( 'scrolled' );
83 }71 }
84}72}
85\ No newline at end of file73\ No newline at end of file
8674
=== modified file 'xubuntu-fifteen/style-common.css'
--- xubuntu-fifteen/style-common.css 2016-08-28 23:39:44 +0000
+++ xubuntu-fifteen/style-common.css 2016-12-15 07:46:28 +0000
@@ -1,4 +1,5 @@
1/* SELECTION1/*
2 * Selection style
2 *3 *
3 */4 */
45
@@ -7,7 +8,8 @@
7 color: #fff;8 color: #fff;
8}9}
910
10/* ELEMENTS11/*
12 * Elements
11 *13 *
12 */14 */
1315
@@ -26,24 +28,23 @@
26 a:active,28 a:active,
27 a:focus {29 a:focus {
28 color: #13385e;30 color: #13385e;
29 border-bottom: 1px solid #3c3c3c;31 }
30 }32 main a:hover,
31 #header a {33 main a:active,
32 border-bottom: none;34 main a:focus {
33 }35 border-bottom: 1px solid #3c3c3c;
34 #sidebar ul li a {36 }
37 aside ul li a {
35 display: block;38 display: block;
36 border: none;
37 }39 }
3840
39 #footer a {41 footer a {
40 color: #333;42 color: #333;
41 border-bottom: none;
42 transition: none;43 transition: none;
43 }44 }
44 #footer a:hover,45 footer a:hover,
45 #footer a:active,46 footer a:active,
46 #footer a:focus {47 footer a:focus {
47 color: #2c82dd;48 color: #2c82dd;
48 text-decoration: underline;49 text-decoration: underline;
49 }50 }
@@ -106,7 +107,7 @@
106 .post-excerpt h2,107 .post-excerpt h2,
107 .post-list h2,108 .post-list h2,
108 .post-post h2,109 .post-post h2,
109 #sidebar h2 {110 aside h2 {
110 border-top: 1px dotted #ccc;111 border-top: 1px dotted #ccc;
111 padding-top: 0.5em;112 padding-top: 0.5em;
112 }113 }
@@ -130,84 +131,107 @@
130 border-bottom: 1px solid #dadada;131 border-bottom: 1px solid #dadada;
131}132}
132133
134main img {
135 max-width: 100%;
136 height: auto;
137
138 border-radius: 3px;
139 box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 );
140}
141 main img.plain {
142 border-radius: 0;
143 box-shadow: none;
144 }
145
133li { list-style-position: inside; }146li { list-style-position: inside; }
134 #main li { margin-bottom: 0.2em; list-style-position: outside; margin-left: 1.2em; }147 main li { margin-bottom: 0.2em; list-style-position: outside; margin-left: 1.2em; }
135 #main ul li { list-style-type: disc; }148 main ul li { list-style-type: disc; }
136 #main ul.link-list li,149 main ul.link-list li,
137 #main .post-list ul li,150 main .post-list ul li,
138 #main .post-post ul li {151 main .post-post ul li {
139 list-style-type: none;152 list-style-type: none;
140 margin-left: 1em;153 margin-left: 1em;
141 }154 }
142 #main ul.link-list li:before,155 main ul.link-list li:before,
143 #main .post-list ul li:before,156 main .post-list ul li:before,
144 #main .post-post ul li:before {157 main .post-post ul li:before {
145 display: block;158 display: block;
146 float: left;159 float: left;
147160
148 width: 0.7em;161 width: 0.7em;
149 margin-left: -0.7em;162 margin-left: -0.7em;
150 margin-top: -0.12em;163 margin-top: -0.12em;
151 content: "›";164 content: "›";
152 font-weight: 300;165 font-weight: 300;
153 font-size: 140%;166 font-size: 140%;
154 color: #555;167 color: #555;
155 }168 }
156 #main ol li { list-style-type: decimal; margin-left: 1.6em; }169 main ol li { list-style-type: decimal; margin-left: 1.6em; }
157 #archive-posts ul li { list-style-type: none; margin-left: 0; }170 aside ul li {
158 #archive-posts ul li .post-time { display: inline-block; width: 25%; margin-right: 5px; }171 list-style-type: none;
159 #sidebar ul li {172 margin-left: 1em;
160 list-style-type: none;173 }
161 margin-left: 1em;174 aside ul li:before {
162 }175 display: block;
163 #sidebar ul li:before {176 float: left;
164 display: block;177
165 float: left;178 width: 0.7em;
166179 margin-left: -0.7em;
167 width: 0.7em;180 margin-top: -0.12em;
168 margin-left: -0.7em;181 content: "›";
169 margin-top: -0.12em;182 font-weight: 300;
170 content: "›";183 font-size: 140%;
171 font-weight: 300;184 color: #555;
172 font-size: 140%;185 }
173 color: #555;
174 }
175
176
177p { }
178186
179table {187table {
180 width: 100%;188 width: 100%;
181}189}
182table td {190 table td {
183 border: 1px solid #ccc;191 border: 1px solid #ccc;
184 background-color: #f6f6f6;192 background-color: #f6f6f6;
185 padding: 3px;193 padding: 3px;
186}194 }
187table th {195 table th {
188 text-align: left;196 text-align: left;
189}197 }
190198
191/* TEMPLATES199/*
192 *200 * Templates
193 */201 *
194202 */
195/* Aligned images203
196 * Usage: TinyMCE204/* Aligned images (TinyMCE) */
197 *205
198 */206.alignright,
199207.alignleft {
200.alignright { float: right; margin: 0 0 0 20px; }208 max-width: 310px;
201.alignleft { float: left; margin: 0 20px 0 0; }209 height: auto;
202210}
203.alignright a, .alignleft a, .aligncenter a {211 .alignleft img,
204 border-bottom: none;212 .alignright img {
205}213 max-width: 300px;
206214 height: auto;
207img.alignright, img.alignleft, img.aligncenter,215 }
208.alignright img, .alignleft img, .aligncenter img {216
209 border-radius: 3px;217 .alignright {
210}218 float: right;
219 margin: 0 0 0 2em;
220 }
221
222 .alignleft {
223 float: left;
224 margin: 0 2em 0 0;
225 }
226
227 .aligncenter {
228 display: block;
229 margin: 0 auto;
230 }
231
232 .alignright a, .alignleft a, .aligncenter a {
233 border-bottom: none !important;
234 }
211235
212.wp-caption-text {236.wp-caption-text {
213 text-align: center;237 text-align: center;
@@ -215,15 +239,8 @@
215 padding-bottom: 0.3em;239 padding-bottom: 0.3em;
216}240}
217241
218.aligncenter {242/* Gallery styling (WordPress) */
219 display: block;
220 margin: 0 auto;
221}
222243
223/* Gallery styling
224 * Usage: WordPress
225 *
226 */
227div.gallery {244div.gallery {
228 width: 100%;245 width: 100%;
229}246}
@@ -260,39 +277,60 @@
260 div.gallery-columns-4 figure:nth-child(4n+3) { margin-left: 1%; margin-right: 2%; }277 div.gallery-columns-4 figure:nth-child(4n+3) { margin-left: 1%; margin-right: 2%; }
261 div.gallery-columns-4 figure:nth-child(4n+5) { clear: left; }278 div.gallery-columns-4 figure:nth-child(4n+5) { clear: left; }
262279
263div.gallery figure img {
264 max-width: 100%;
265 height: auto;
266
267 border-radius: 3px;
268 box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 );
269}
270
271div.gallery a {280div.gallery a {
272 border-bottom: none;281 border-bottom: none;
273}282}
274283
275/* Preface284/* Link buttons (TinyMCE, manual, content.php) */
276 * Usage: manual285
277 *286a.button {
278 */287 display: inline-block;
279p.preface {288
280 margin: 2em 0;289 margin: 0 0.5em 0.5em 0;
281 padding: 1.5em 0;290 padding: 0.5em 0.75em;
282291
283 word-spacing: 0.2em;292 background-color: #fff;
284 line-height: 1.8em;293 box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
285294
286 font-size: 90%;295 border: none;
287 font-weight: 600;296 border-bottom: 2px solid #ccc;
288 border-top: 1px solid #d2d2d2;
289 border-bottom: 1px solid #d2d2d2;
290}297}
291298 a.button:hover, a.button:active, a.button:focus {
292/* Section highlighting299 box-shadow: 0 0 5px rgba( 0, 0, 0, 0.3 );
293 * Usage: TinyMCE300 border-bottom: 2px solid #999;
294 *301 }
295 */302 a.button:after {
303 display: block;
304 float: right;
305
306 content: "›";
307 font-weight: 300;
308 font-size: 140%;
309 margin: -0.1em 0 0 0.5em;
310 color: #555;
311 }
312 a.button.primary {
313 border-bottom: 2px solid #7cb8f7;
314 }
315 a.button.primary:hover, a.button.primary:active, a.button.primary:focus {
316 border-bottom: 2px solid #2c82dd;
317 }
318 a.button.back:after {
319 float: left;
320 content: "‹";
321 margin: -0.1em 0.5em 0 0;
322 }
323 a.button.clean:after {
324 margin: 0;
325 content: "";
326 }
327 .post-pagination a.button.forward {
328 float: right;
329 margin-right: 0;
330 }
331
332/* Section highlighting (TinyMCE) */
333
296.hb {334.hb {
297 margin: 2em 0;335 margin: 2em 0;
298 padding: 10px 25px 10px 25px;336 padding: 10px 25px 10px 25px;
@@ -357,61 +395,10 @@
357 color: rgba( 200, 40, 5, 1 );395 color: rgba( 200, 40, 5, 1 );
358 }396 }
359397
360/* Button styles398
361 * Usage: TinyMCE, manual, content.php, widget399
362 *400/* List in columns (TinyMCE) */
363 */401
364
365a.button {
366 display: inline-block;
367
368 margin: 0 0.5em 0.5em 0;
369 padding: 0.5em 0.75em;
370
371 background-color: #fff;
372 box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 );
373
374 border: none;
375 border-bottom: 2px solid #ccc;
376}
377 a.button:hover, a.button:active, a.button:focus {
378 box-shadow: 0 0 5px rgba( 0, 0, 0, 0.3 );
379 border-bottom: 2px solid #999;
380 }
381 a.button:after {
382 display: block;
383 float: right;
384
385 content: "›";
386 font-weight: 300;
387 font-size: 140%;
388 margin: -0.1em 0 0 0.5em;
389 color: #555;
390 }
391 a.button.primary {
392 border-bottom: 2px solid #7cb8f7;
393 }
394 a.button.primary:hover, a.button.primary:active, a.button.primary:focus {
395 border-bottom: 2px solid #2c82dd;
396 }
397 a.button.back:after {
398 float: left;
399 content: "‹";
400 margin: -0.1em 0.5em 0 0;
401 }
402 a.button.clean:after {
403 margin: 0;
404 content: "";
405 }
406 .post-pagination a.button.forward {
407 float: right;
408 margin-right: 0;
409 }
410
411/* List in columns
412 * Usage: TinyMCE
413 *
414 */
415ul.columnlist {402ul.columnlist {
416 -moz-column-gap: 1em;403 -moz-column-gap: 1em;
417 -webkit-column-gap: 1em;404 -webkit-column-gap: 1em;
@@ -422,108 +409,22 @@
422 column-count: 3;409 column-count: 3;
423}410}
424411
425/* Classes for menus412/*
426 * Usage: manual413 * DEPRECATED
427 *414 *
428 */415 */
429.menu .strong {416
417/* Preface (manual) */
418
419p.preface {
420 margin: 2em 0;
421 padding: 1.5em 0;
422
423 word-spacing: 0.2em;
424 line-height: 1.8em;
425
426 font-size: 90%;
430 font-weight: 600;427 font-weight: 600;
431}428 border-top: 1px solid #d2d2d2;
432429 border-bottom: 1px solid #d2d2d2;
433/* Boxed content
434 * Usage: template_blank.php, TinyMCE, (template_gallery.php)
435 *
436 */
437.boxed {
438 margin-bottom: 1em;
439
440 background-color: #fff;
441 border-radius: 3px;
442 box-shadow: 0 0 5px rgba( 0, 0, 0, 0.05 );
443}
444 .boxed h2 {
445 margin-top: 0;
446 }
447 h1.boxed {
448 padding: 0.3em 35px;
449 }
450 div.boxed {
451 padding: 35px;
452 }
453 div.boxed *:last-child {
454 margin-bottom: 0;
455 }
456
457/* Featured image
458 * Usage: content.php
459 *
460 */
461.post-thumbnail {
462 float: right;
463 margin: -1em 0 2em 2em;
464
465 max-width: 400px;
466 height: auto;
467}
468 body.home .post-thumbnail {
469 margin-top: 0;
470 }
471 /* Adjust the inline header on the front page to allow the floating image */
472 body.home .post-post h1 {
473 display: inline;
474 }
475 body.home .post-post h1:after {
476 display: block;
477 content: "";
478 margin-bottom: 1em;
479 }
480
481/* Featured image alignment in a gallery
482 * Usage: template_featured-gallery.php
483 *
484 */
485.featured {
486 margin-bottom: 2em;
487}
488
489 .featured .image {
490 float: left;
491
492 width: 50%;
493 }
494 .featured .image img {
495 max-width: 100%;
496 float: right;
497 height: auto;
498
499 border-radius: 3px;
500 box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 );
501 }
502
503 .featured .description {
504 float: right;
505 width: 45%;
506 }
507
508 .featured .description h2:first-child {
509 margin-top: 0;
510 }
511
512/* Release list styling
513 * Usage: content-*.php
514 *
515 */
516
517.releases .nobullet::before {
518 content: " " !important;
519}
520.releases .show-eol {
521 color: rgba( 0, 0, 0, 0.5 );
522 margin-left: -1em;
523}
524.releases .eol a::before {
525 content: "EOL";
526 font-size: 90%;
527 margin-right: 0.5em;
528 color: rgba( 0, 0, 0, 0.5 );
529}430}
530\ No newline at end of file431\ No newline at end of file
531432
=== modified file 'xubuntu-fifteen/style-editor.css'
--- xubuntu-fifteen/style-editor.css 2015-12-30 13:33:04 +0000
+++ xubuntu-fifteen/style-editor.css 2016-12-15 07:46:28 +0000
@@ -1,20 +1,12 @@
1body {1body {
2 font-size: small;2 font-size: small;
3 font-family: "Open Sans", sans-serif !important;3 font-family: 'Open Sans', sans-serif !important;
4 line-height: 1.5em;4 line-height: 1.5em;
55
6 background-color: #fafafa;6 background-color: #fafafa;
7 color: #3c3c3c;7 color: #3c3c3c;
8}8}
99
10.group:after {
11 content: ".";
12 display: block;
13 height: 0;
14 clear: both;
15 visibility: hidden;
16}
17
18/* Elements10/* Elements
19 *11 *
20 */12 */
@@ -92,11 +84,6 @@
92 overflow: visible !important;84 overflow: visible !important;
93}85}
9486
95div.boxed {
96 /* Use less padding for editor */
97 padding: 15px !important;
98}
99
10087
101/* Responsive styles88/* Responsive styles
102 * 89 *
10390
=== modified file 'xubuntu-fifteen/style-resp-1000.css'
--- xubuntu-fifteen/style-resp-1000.css 2016-01-03 22:40:57 +0000
+++ xubuntu-fifteen/style-resp-1000.css 2016-12-15 07:46:28 +0000
@@ -1,23 +1,9 @@
1/* For screen sizes less than 1000px wide */1/*
22 * Navigation
3#content, #header, #header_art, #footer,3 *
4#navi, #content_gallery,4 */
5body.home #main, .widgets_inner {5
6 min-width: 0;6/* Navigation, horizontal */
7}
8
9/* Templates */
10#archive-posts span.post-time,
11#archive-posts a {
12 display: block;
13 width: 100% !important;
14}
15
16#archive-posts span.post-time {
17 color: #777;
18}
19
20/* Horizontal navigation */
21.navigation.nh .menu {7.navigation.nh .menu {
22 overflow: hidden;8 overflow: hidden;
23 flex-wrap: wrap;9 flex-wrap: wrap;
@@ -42,4 +28,21 @@
42 }28 }
43 .navigation.nh .menu > li:last-child:nth-child(3n+2) {29 .navigation.nh .menu > li:last-child:nth-child(3n+2) {
44 margin-right: 33.3%;30 margin-right: 33.3%;
45 }
46\ No newline at end of file31\ No newline at end of file
32 }
33
34/*
35 * Templates
36 *
37 */
38
39/* Post lists */
40
41.posts-list span.post-time,
42.posts-list a {
43 display: block;
44 width: 100% !important;
45}
46
47.posts-list span.post-time {
48 color: #777;
49}
47\ No newline at end of file50\ No newline at end of file
4851
=== modified file 'xubuntu-fifteen/style-resp-1200.css'
--- xubuntu-fifteen/style-resp-1200.css 2016-01-03 22:40:57 +0000
+++ xubuntu-fifteen/style-resp-1200.css 2016-12-15 07:46:28 +0000
@@ -1,25 +1,11 @@
1#content, #header, #header_art, #footer,1/*
2#navi, #content_gallery,2 * Content width
3body.home #main, .widgets_inner {3 *
4 */
5
6header #logo, header nav, header::after,
7#content,
8body.home main, .widgets_front .widgets,
9footer {
4 width: 95%;10 width: 95%;
5}11}
6
7/* Front page */
8body.home .alignright,
9body.home .alignleft {
10 max-width: 100%;
11 height: auto;
12}
13
14/* Templates */
15.alignright,
16.alignleft {
17 max-width: 310px;
18 height: auto;
19}
20
21.alignright img,
22.alignleft img {
23 max-width: 300px;
24 height: auto;
25}
26\ No newline at end of file12\ No newline at end of file
2713
=== removed file 'xubuntu-fifteen/style-resp-450.css'
--- xubuntu-fifteen/style-resp-450.css 2016-07-30 22:59:42 +0000
+++ xubuntu-fifteen/style-resp-450.css 1970-01-01 00:00:00 +0000
@@ -1,161 +0,0 @@
1body {
2 min-width: 300px;
3}
4
5#header { }
6 #logo {
7 max-width: 90%;
8 padding: 0;
9 margin: 0 0 0.5em -8px;
10 }
11
12 #logo img {
13 max-width: 80%;
14 height: auto;
15 padding: 0.7em;
16 margin-left: 2.5%;
17 }
18
19 #header #navi {
20 display: none;
21 }
22
23#content { }
24 #main {
25 padding: 1em 2.5% 0 2.5% !important;
26 font-size: 90%;
27 }
28 #sidebar {
29
30 }
31
32#footer { }
33 #footer_navi .menu > li {
34 float: left;
35 clear: none;
36 width: 100% !important;
37
38 margin: 0 !important;
39 border: none !important;
40 }
41 #footer_navi li {
42 padding-right: 0;
43 }
44
45
46/* Front page
47 *
48 */
49
50body.home #main {
51 width: auto;
52 margin: 0;
53}
54 body.home h1 {
55 font-size: 140%;
56 }
57
58 body.home p {
59 font-size: 95%;
60 }
61
62/* Elements
63 *
64 */
65
66#main a {
67 display: inline-block;
68 overflow: hidden;
69
70 max-width: 95%;
71 margin-bottom: -0.6em;
72}
73 #main a.button {
74 margin-bottom: 0.5em;
75 }
76
77figure {
78 width: 100% !important;
79 text-align: center;
80}
81 #main figure a {
82 max-width: 100% !important;
83 }
84
85/* Templates
86 *
87 */
88.navigation.nd .menu > li > a {
89 padding-left: 2.5%;
90 padding-right: 2.5%;
91}
92.navigation.nd .menu li .sub-menu li {
93 float: left;
94 display: block;
95 width: 100%;
96 margin: 0 !important;
97 border-bottom: 1px solid #f1f1f1;
98 overflow: hidden;
99}
100 .navigation.nd .menu li .sub-menu li a {
101 display: block;
102 padding: 0.25em 2.5%;
103 border-right: none;
104 }
105
106#opennavi,
107#navi li.menu-item-has-children .expand {
108 right: 2.5%;
109}
110 #opennavi {
111 margin-right: -3px;
112 }
113
114#footer_navi .menu > li {
115 padding: 0 0 1em 0 !important;
116 margin-bottom: 1em !important;
117
118 border-bottom: 1px solid rgba( 0, 0, 0, 0.10 ) !important;
119}
120 #footer_navi .menu > li:last-child {
121 padding-bottom: 0 !important;
122 border-bottom: none !important;
123 }
124
125
126.boxed {
127 padding: 1.5em 2.5% !important;
128}
129 h1.boxed {
130 padding: 0.3em 2.5% !important;
131 }
132
133.hb {
134 border-left: none;
135 border-top-width: 0.4em;
136 border-top-style: solid;
137
138 padding: 5px 15px;
139}
140 .hb > :first-child { margin-top: 5px; }
141
142ul.columnlist {
143 -moz-column-gap: 0;
144 -webkit-column-gap: 0;
145 column-gap: 0;
146
147 -moz-column-count: 1;
148 -webkit-column-count: 1;
149 column-count: 1;
150}
151
152.post-meta {
153 margin-top: 1em;
154}
155 .post-meta a {
156 display: inline !important;
157 }
158
159#archive-posts .post-time {
160 font-size: 85%;
161}
1620
=== modified file 'xubuntu-fifteen/style-resp-600.css'
--- xubuntu-fifteen/style-resp-600.css 2016-07-30 22:59:42 +0000
+++ xubuntu-fifteen/style-resp-600.css 2016-12-15 07:46:28 +0000
@@ -1,210 +1,182 @@
1/* For screen sizes less than 600px wide */
2
3html {1html {
4 background-image: none;2 background-image: none;
5}3}
64
7body {5body {
8 padding-bottom: 0.3em;6 padding-bottom: 0.3em;
7 min-width: 480px;
9}8}
109
11#content, #header, #header_art, #footer {10/*
11 * Content width
12 *
13 */
14
15header #logo, header nav,
16#content,
17footer {
12 width: 100%;18 width: 100%;
13 border-radius: 0;19 border-radius: 0;
14}20}
15 #header_outer {21
16 z-index: 5000;22/*
17 }23 * Header
18 #header {24 *
19 padding: 0;25 */
20 }26
21 #header_art {27header {
28 z-index: 5000;
29
30 background-image: none !important;
31 border-top: none;
32}
33 header::after {
34 display: none;
35 }
36 /* Fixed positioning on scroll */
37 header.scrolled {
38 position: fixed;
39 top: 0;
40 left: 0;
41 width: 100%;
42 }
43 header.scrolled #navi {
44 width: 100%;
45 position: fixed;
46 left: 0;
47 z-index: 50000;
48 }
49
50 #logo {
51 margin: 0;
52 padding: 0.5em 3.5%;
53 }
54 #logo a img {
22 display: none;55 display: none;
23 }56 }
57 /* Show a compact version of the Xubuntu logo */
58 #logo a:after {
59 font-size: 120%;
60 font-weight: 600;
61
62 padding-right: 30px;
63
64 background: transparent url(images/xubuntu-icon-20.png) 100% 50% no-repeat;
65 content: "Xubuntu";
66
67 color: #fff;
68 }
69
24 #navi {70 #navi {
25 width: 100%;71 font-size: 90%;
26 font-size: 100%;72
73 background-color: #0e82d0;
27 }74 }
28 #navi .navigation .sub-menu .current_page_item a {75 nav#navi_quick {
29 background-color: inherit;76 display: block !important;
30 border-radius: 0;77
31 box-shadow: none;78 padding: 0.5em 40px 0.5em 3.5%;
32 }79 background-color: rgba( 0, 0, 0, 0.2 );
33 a#opennavi {80 border-top: 1px solid rgba( 255, 255, 255, 0.2 );
34 z-index: 6000;81 }
35 }82 nav#navi_quick li {
3683 font-size: 90%;
37#content_outer {84 display: inline;
85 }
86 nav#navi_quick a {
87 display: inline;
88 margin-right: 1em;
89
90 color: #fff;
91 font-weight: 600;
92 white-space: nowrap;
93 }
94
95 #navi.open .navigation.nd .menu li.current-menu-ancestor-hidden .sub-menu { display: none; }
96 #navi.open .navigation.nd .menu li { display: block; }
97
98 #navi .navigation.nd > ul > li {
99 background-color: rgba( 255, 255, 255, 0.25 );
100 }
101 #navi li.menu-item-has-children .expand {
102 display: none;
103
104 position: relative;
105 right: 3.5%;
106 top: 0;
107
108 float: right;
109 z-index: 2000;
110
111 height: 32px;
112 width: 32px;
113 padding: 0;
114 margin-right: -4px;
115
116 background: transparent url(images/menu_arrow.png) 50% 50% no-repeat;
117 }
118 #navi.open li.menu-item-has-children .expand {
119 display: block;
120 transition: 200ms transform;
121 }
122 #navi .open-sub .sub-menu {
123 display: block !important;
124 margin: 0;
125 padding: 0;
126 }
127 #navi .open-sub li.menu-item-has-children .expand {
128 transform: rotate( -90deg );
129 background-size: 65% 65%;
130 }
131
132
133 /* Button to open hidden dropdown navigation */
134 #opennavi {
135 position: absolute;
136 z-index: 2000;
137
138 display: block;
139 float: right;
140
141 top: 0.15em;
142 right: 2.5%;
143
144 width: 2.8em;
145 height: 2.8em;
146
147 overflow: hidden;
148
149 background: transparent url(images/menu.png) 50% 50% no-repeat;
150 }
151
152/*
153 * Main content area
154 *
155 */
156
157section#middle {
38 padding: 0;158 padding: 0;
39}159}
40 body.attachment #content.air {160 body.home #content,
41 padding-top: 1em;161 #content {
42 }162 padding: 1em 3.5%;
43 #content.air {163 }
44 padding-bottom: 0;164
45 }165/*
46 #content.air div.gallery {166 * Footer
47 width: 95%;167 *
48 margin: 0 auto;168 */
49 }169
50 #content.air .boxed {170footer {
51 border-radius: 0;171 padding: 0 3.5%;
52 }172}
53 #content.air h1.boxed {173
54 margin-bottom: 0.5em;174/*
55 box-shadow: inset 0 10px 5px -5px rgba( 0, 0, 0, 0.1 );175 * Navigation
56 }176 *
57 #content.air .gallery + .boxed {177 */
58 margin-top: 1.5em;178
59 }179/* Navigation, dropdown */
60 #main,
61 #sidebar {
62 padding: 1em 2.5% !important;
63 }
64
65 #main .post-post {
66 max-width: 100%;
67 }
68
69 #main figure,
70 #main figure img,
71 #main img {
72 max-width: 100%;
73 height: auto;
74
75 padding: 0;
76 margin: 0;
77 }
78 #main figure figcaption {
79 margin-right: 0;
80 }
81
82#footer {
83 padding: 0 2.5%;
84}
85
86/* Clear all floats and center-align
87 *
88 */
89#main figure[style*="float"],
90.alignleft,
91.alignright,
92.aligncenter {
93 display: block;
94 float: none !important;
95 text-align: center;
96 margin: 0 auto !important;
97}
98
99/* Home page */
100body.home #main {
101 width: 95%;
102}
103
104/* Widget areas */
105.widgets_outer .widgets {
106 width: 95%;
107}
108
109/* Attachments */
110#attachment {
111 width: 95%;
112 margin: 0.5em auto;
113}
114 #attachment_navi {
115 font-size: 90%;
116 margin-bottom: 0;
117 }
118 body.attachment .boxed {
119 padding: 1em 0;
120 margin: 1em 0 -1em 0;
121 }
122 body.attachment .boxed {
123 margin-bottom: 1em;
124 }
125
126/* Elements and templates */
127blockquote {
128 max-width: 90%;
129}
130
131figure {
132 width: 100% !important;
133 text-align: center;
134}
135 #content figure a {
136 max-width: 100% !important;
137 }
138
139 .gallery figure {
140 width: 100%; !important;
141 padding: 0;
142 margin: 0;
143 }
144
145 #content.air .gallery-item {
146 margin: 0 0 0.5em 0;
147 }
148
149ul.columnlist {
150 -moz-column-gap: 1em;
151 -webkit-column-gap: 1em;
152 column-gap: 1em;
153
154 -moz-column-count: 2;
155 -webkit-column-count: 2;
156 column-count: 2;
157}
158
159#main figure,
160#main figure img,
161#main img {
162 margin-top: 0.5em;
163 margin-bottom: 0.5em;
164}
165
166.boxed {
167 padding: 1.5em 2.5% !important;
168}
169 h1.boxed {
170 padding: 0.3em 2.5% !important;
171 }
172
173.hb {
174 padding: 5px 20px;
175}
176
177/* Featured images */
178.post-thumbnail {
179 display: block !important;
180 max-width: 100%;
181 width: 100%;
182 margin: 0 0 1em 0;
183 text-align: center;
184}
185 .post-thumbnail img {
186 max-height: 120px;
187 width: auto;
188 }
189
190.featured {
191 width: 95%;
192 margin: 0 auto;
193}
194
195
196/* WordPress admin bar */
197#wpadminbar, #wp-toolbar {
198 display: none;
199}
200
201body.admin-bar {
202 margin-top: -46px !important;
203}
204
205/* NAVIGATION
206 *
207 */
208180
209.navigation.nd {181.navigation.nd {
210 border-left: none;182 border-left: none;
@@ -214,14 +186,18 @@
214 border-top: 1px solid rgba( 0, 0, 0, 0.2 );186 border-top: 1px solid rgba( 0, 0, 0, 0.2 );
215 }187 }
216 .navigation.nd .menu li {188 .navigation.nd .menu li {
189 display: none;
190
217 float: none;191 float: none;
218 width: 100%;192 width: 100%;
219 height: auto;193 height: auto;
220194
221 position: static;195 position: static;
222 }196 }
197 .navigation.nd .menu li.open { display: block; }
198
223 .navigation.nd .menu li a {199 .navigation.nd .menu li a {
224 padding: 0.5em 2.5%;200 padding: 0.5em 3.5%;
225 }201 }
226 .navigation.nd .menu > li {202 .navigation.nd .menu > li {
227 border: none;203 border: none;
@@ -272,13 +248,11 @@
272 }248 }
273 .navigation.nd .menu li .sub-menu li a {249 .navigation.nd .menu li .sub-menu li a {
274 display: block;250 display: block;
275 padding: 0.25em 5%;251 padding: 0.25em 7%;
276 }252 }
277253
278.navigation.nd .menu li { display: none; }254/* Navigation, horizontal */
279.navigation.nd .menu li.open { display: block; }
280255
281/* Horizontal navigation */
282.navigation.nh .menu > li {256.navigation.nh .menu > li {
283 width: 34% !important;257 width: 34% !important;
284}258}
@@ -299,102 +273,99 @@
299 margin-right: 0;273 margin-right: 0;
300 }274 }
301275
302/* Header */276/*
303#header_outer {277 * Widget areas
304 background-image: none !important;278 *
305 border-top: none;279 */
306}280
307 #header_outer #logo {281.widgets_front .widgets {
282 width: 93%;
283}
284
285/*
286 * Templates
287 *
288 */
289
290/* Featured image */
291.post-thumbnail {
292 display: block !important;
293 max-width: 100%;
294 width: 100%;
295 margin: 0 0 1em 0;
296 text-align: center;
297}
298 .post-thumbnail img {
299 max-height: 120px;
300 width: auto;
301 }
302
303/* Featured image in a gallery */
304
305.featured {
306 width: 95%;
307 margin: 0 auto;
308}
309
310/*
311 * Common
312 *
313 */
314
315/* Aligned images */
316
317main figure[style*="float"],
318.alignleft,
319.alignright,
320.aligncenter {
321 /* Clear all floats and center-align */
322 display: block;
323 float: none !important;
324 text-align: center;
325 margin: 0 auto !important;
326}
327
328/* Elements */
329
330blockquote {
331 max-width: 90%;
332}
333
334figure {
335 width: 100% !important;
336 text-align: center;
337}
338 #content figure a {
339 max-width: 100% !important;
340 }
341 .gallery figure {
342 width: 100%; !important;
343 padding: 0;
308 margin: 0;344 margin: 0;
309 padding: 0.5em 2.5%;345 }
310 }346
311 #header_outer #logo a img {347main figure,
312 display: none;348main figure img,
313 }349main img {
314 #header_outer #logo a:after {350 margin-top: 0.5em;
315 font-size: 120%;351 margin-bottom: 0.5em;
316 font-weight: 600;352}
317353
318 padding-right: 30px;354
319355/* List in columns */
320 background: transparent url(images/xubuntu-icon-20.png) 100% 50% no-repeat;356
321 content: "Xubuntu";357ul.columnlist {
322358 -moz-column-gap: 1em;
323 color: #fff;359 -webkit-column-gap: 1em;
324 }360 column-gap: 1em;
325 /* Fixed positioning on scroll */361
326 #header_outer.scrolled {362 -moz-column-count: 2;
327 position: fixed;363 -webkit-column-count: 2;
328 top: 0;364 column-count: 2;
329 left: 0;365}
330 width: 100%;366
331 }367/* Section highlighting */
332 #header_outer.scrolled #navi {368
333 width: 100%;369.hb {
334 position: fixed;370 padding: 5px 20px;
335 left: 0;371}
336 z-index: 50000;
337 }
338
339 #navi {
340 background-color: #0e82d0;
341 }
342 #navi_main {
343 font-size: 98%;
344 }
345 #navi.open .navigation.nd .menu li.current-menu-ancestor-hidden .sub-menu { display: none; }
346 #navi.open .navigation.nd .menu li { display: block; }
347
348 #navi .navigation.nd > ul > li {
349 background-color: rgba( 255, 255, 255, 0.25 );
350 }
351 #navi li.menu-item-has-children .expand {
352 display: none;
353
354 position: relative;
355 right: 2.5%;
356 top: 0;
357
358 float: right;
359 z-index: 2000;
360
361 height: 32px;
362 width: 32px;
363 padding: 0;
364 margin-right: -4px;
365
366 background: transparent url(images/menu_arrow.png) 50% 50% no-repeat;
367 }
368 #navi.open li.menu-item-has-children .expand {
369 display: block;
370 transition: 200ms transform;
371 }
372 #navi .open-sub .sub-menu {
373 display: block !important;
374 margin: 0;
375 padding: 0;
376 }
377 #navi .open-sub li.menu-item-has-children .expand {
378 transform: rotate( -90deg );
379 background-size: 65% 65%;
380 }
381 #navi_quick {
382 display: block;
383 }
384 #opennavi {
385 position: relative;
386 display: block;
387 height: 0;
388 top: 0;
389 right: 2.5%;
390
391 margin: 0 -0.3em 0 0;
392
393 width: 2.8em;
394 height: 2.8em;
395
396 overflow: hidden;
397
398 background: transparent url(images/menu.png) 50% 50% no-repeat;
399 }
400
401372
=== modified file 'xubuntu-fifteen/style-resp-800.css'
--- xubuntu-fifteen/style-resp-800.css 2016-07-30 22:45:51 +0000
+++ xubuntu-fifteen/style-resp-800.css 2016-12-15 07:46:28 +0000
@@ -1,74 +1,84 @@
1/* For screen sizes less than 800px wide */1/*
2 * Header
3 *
4 */
25
3#navi {6#navi {
4 font-size: 92%;7 font-size: 82%;
5}8}
6 .navigation.nd .menu > li > a {9
7 padding-left: 0.75em;10/*
8 padding-right: 0.75em;11 * Main content area
12 *
13 */
14
15#content {
16 display: block;
17}
18 #content aside {
19 margin-top: 2em;
20 margin-left: 0;
9 }21 }
1022
11#footer {23/*
24 * Footer
25 *
26 */
27
28footer {
12 overflow: hidden;29 overflow: hidden;
13}30}
1431
15/* Front page 32/*
16 *33 * Navigation
17 */34 *
1835 */
19body.home .alignright,36
20body.home .alignleft {37.navigation.nd .menu > li > a {
21 max-width: 310px;38 padding-left: 0.75em;
22 height: auto;39 padding-right: 0.75em;
23}40}
2441
25/* Blog pages42/*
26 *43 * Widget areas
27 */44 *
2845 */
29body.single-post #main,46
30body.blog #main,47.widgets_flex .widgets {
31body.archive #main,48 display: block;
32#sidebar {49}
33 float: none;50 .widgets_flex .widget {
34 width: 100%;51 width: 100% !important;
35 padding: 1.25em 1.75em;52 margin: 0 !important;
36}53 border: none !important;
3754 padding: 1.5em 0 !important;
38/* Widget areas 55
39 *56 border-bottom: 1px dotted rgba( 0, 0, 0, 0.2 ) !important;
40 */
41 .widgets_flex .widgets {
42 display: block;
43 }57 }
44 .widgets_flex .widget {58 .widgets_flex .widget :last-child {
45 width: 100% !important;59 margin-bottom: 0;
46 margin: 0 !important;60 }
47 border: none !important;61 .widgets_flex .widget:first-child {
48 padding: 1.5em 0 !important;62 padding-top: 0 !important;
4963 }
50 border-bottom: 1px dotted rgba( 0, 0, 0, 0.2 ) !important;64 .widgets_flex .widget:last-child {
51 }65 border-bottom: none !important;
52 .widgets_flex .widget :last-child {66 padding-bottom: 0 !important;
53 margin-bottom: 0;67 }
54 }68
55 .widgets_flex .widget:first-child {69/*
56 padding-top: 0 !important;70 * Templates
57 }
58 .widgets_flex .widget:last-child {
59 border-bottom: none !important;
60 padding-bottom: 0 !important;
61 }
62
63
64/* Featured images
65 *71 *
66 */72 */
6773
74/* Featured image */
75
68.post-thumbnail {76.post-thumbnail {
69 max-width: 50%;77 max-width: 50%;
70}78}
7179
80/* Featured image in a gallery */
81
72.featured {82.featured {
73 margin-bottom: 0.5em;83 margin-bottom: 0.5em;
74}84}
@@ -88,4 +98,4 @@
8898
89 .featured .description {99 .featured .description {
90 margin-top: 1em;100 margin-top: 1em;
91 }
92\ No newline at end of file101\ No newline at end of file
102 }
93103
=== modified file 'xubuntu-fifteen/style.css'
--- xubuntu-fifteen/style.css 2016-08-29 13:44:57 +0000
+++ xubuntu-fifteen/style.css 2016-12-15 07:46:28 +0000
@@ -1,16 +1,18 @@
1/*1/*
2 * Theme Name: Xubuntu Fifteen2 * Theme Name: Xubuntu Fifteen
3 * Theme URI: https://xubuntu.org/
3 * Description: A theme built for the Xubuntu website at xubuntu.org.4 * Description: A theme built for the Xubuntu website at xubuntu.org.
5 *
4 * Author: Pasi Lallinaho6 * Author: Pasi Lallinaho
5 * Version: 2016-aug (r116)
6 * Author URI: http://open.knome.fi/7 * Author URI: http://open.knome.fi/
7 * Theme URI: https://xubuntu.org/8 *
9 * Version: 2016-sept (r118)
8 *10 *
9 */11 */
1012
11body {13body {
12 font-size: small;14 font-size: small;
13 font-family: "Open Sans", sans-serif;15 font-family: 'Open Sans', sans-serif;
14 font-weight: 500;16 font-weight: 500;
15 line-height: 1.5em;17 line-height: 1.5em;
1618
@@ -20,13 +22,15 @@
20 min-height: 760px;22 min-height: 760px;
21}23}
2224
23/* Content width25/*
26 * Content width
24 *27 *
25 */28 */
2629
27#content, #main, #header, #header_art, #footer, #navi,30header #logo, header nav, header::after,
28#content_gallery,31#content,
29.widgets_inner {32.widgets_front .widgets,
33footer {
30 width: 90%;34 width: 90%;
31 margin: 0 auto;35 margin: 0 auto;
3236
@@ -35,409 +39,153 @@
35 clear: both;39 clear: both;
36}40}
3741
38/* Basic layouting42/*
43 * Header
39 *44 *
40 */45 */
4146
42#header_outer {47header {
43 background: #0e82d0 linear-gradient( to right top, rgba( 0, 0, 0, 0 ), rgba( 0, 0, 0, 0.15 ) );48 background: #0e82d0 linear-gradient( to right top, rgba( 0, 0, 0, 0 ), rgba( 0, 0, 0, 0.15 ) );
49/* background-color: #0e82d0;
50 background-image: linear-gradient( to right top, rgba( 0, 0, 0, 0 ), rgba( 0, 0, 0, 0.15 ) ), url(images/header.png);
51 background-position: 0 0, auto 50%;
52 background-repeat: no-repeat; */
53
44 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );54 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
45
46 position: relative;
47}55}
48 #header {56 header a { border-bottom: none !important; }
49 padding: 1.6em 0 1.2em 0;57 header ul { margin-bottom: 0; }
50 position: relative;58
51 }59 header::after {
5260 content: " ";
53 #header_art {61 display: block;
54 position: relative;62 position: relative;
55 z-index: 0;63 height: 150px;
56 }64
57 #header_art::before,65 top: -150px;
58 #header_art::after {66 left: -35px;
59 content: "";67 margin-bottom: -150px;
6068 padding: 0 35px;
61 display: block;69
62 position: absolute;70 background: transparent url(images/header.png) 0 50% no-repeat;
63 }71 }
64 #header_art::before {72
65 height: 250px;73 #logo {
66 width: 900px;74 position: relative;
67 top: 0;75 z-index: 1;
68 left: -35px;76
6977 padding: 1.6em 0 1.2em;
70 background: transparent linear-gradient( to left, rgba( 255, 255, 255, 0.2 ), rgba( 20, 165, 245, 0.5 ) );78 color: #fff;
71 transform: rotate( 15deg ) skewX( -2deg );79 }
72 z-index: 1;80 #navi {
73 }81 position: relative;
74 #header_art::after {82 z-index: 1;
75 height: 200px;83
76 width: 850px;84 font-size: 90%;
77 top: 75px;85 background-color: rgba( 0, 0, 0, 0.2 );
78 left: -50px;86 }
7987 nav#navi_quick,
80 background: transparent linear-gradient( to right top, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 0.3 ) );88 #opennavi {
81 transform: rotate( -18deg ) skewX( -6deg );89 display: none;
82 z-index: 2;90 }
83 opacity: 0.5;91
84 }92/*
8593 * Main content area
86 #logo {94 *
87 color: #fff;95 */
88 position: relative;96
89 z-index: 100;97section#middle {
90 }
91 #navi_outer {
92 font-size: 90%;
93 background-color: rgba( 0, 0, 0, 0.2 );
94
95 position: relative;
96 z-index: 100;
97 }
98 #navi .navigation {
99 position: relative;
100 z-index: 100;
101 }
102 #navi .navigation ul {
103 margin-bottom: 0;
104 }
105 #navi .navigation .sub-menu .current_page_item a {
106 background-color: rgba( 255, 255, 255, 0.3 );
107 border-radius: 3px;
108 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
109 }
110 #navi .navigation:hover .sub-menu .current_page_item a {
111 background-color: transparent;
112 box-shadow: none;
113 }
114 #navi_quick {
115 display: none;
116
117 padding: 0.5em 40px 0em 2.5%;
118
119 background-color: rgba( 0, 0, 0, 0.2 );
120 border-top: 1px solid rgba( 255, 255, 255, 0.2 );
121
122 font-size: 90%;
123 }
124 #navi_quick .navi_open_button {
125 font-size: 120%;
126 display: block;
127 border: none;
128 height: 100%;
129 padding: 0 0 0.5em 0;
130 color: rgba( 255, 255, 255, 0.5 );
131 }
132 #navi_quick li {
133 display: inline;
134 }
135 #navi_quick a {
136 color: #fff;
137 margin-right: 1em;
138 font-weight: 600;
139
140 white-space: nowrap;
141 display: inline;
142 }
143 #opennavi {
144 display: none;
145
146 float: right;
147
148 position: relative;
149 top: 1px;
150 right: 1em;
151 z-index: 100;
152
153 border: none;
154 }
155
156#content_outer {
157 padding: 1.5em 0;98 padding: 1.5em 0;
15899
159 background-color: #eee;100 background-color: #eee;
160 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );101 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
161
162 position: relative;
163 z-index: 50;
164}102}
165 #content {103 #content {
104 display: flex;
105 padding: 1.8em 2.2em;
106
166 font-size: 110%;107 font-size: 110%;
167 padding: 0;
168108
169 background-color: #fafafa;109 background-color: #fafafa;
170 border-radius: 4px;110 border-radius: 4px;
171 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );111 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
172 }112 }
173 #content.air {113 main {
174 background-color: transparent;114 flex: 68;
175 border-radius: 0;115 }
176 box-shadow: none;116 aside {
177 }117 flex: 32;
178118 margin-left: 2em;
179 #main {119
180 box-sizing: border-box;120 font-size: 90%;
181 width: 100%;121 }
182 float: left;122 aside > :first-child {
183123 margin-top: 0;
184 padding: 25px 30px;
185 }
186 body.home #main {
187 float: none;
188 width: 90%;
189 margin: 0 auto 25px auto;
190 }124 }
191125
192#footer {126body.home section#middle {
193 box-sizing: border-box;127 background-color: #f8f8f8;
194128 padding: 0;
129}
130 body.home #content {
131 padding: 0;
132
133 background-color: transparent;
134 box-shadow: none;
135 }
136 body.home main {
137 padding: 2em 0 1em 0;
138 }
139 body.home main .post-post { margin: 0; }
140 body.home main h1 { margin-top: 0 !important; }
141
142/*
143 * Footer
144 *
145 */
146
147footer {
195 margin-top: 1em;148 margin-top: 1em;
196 padding: 2px;149 padding: 2px;
197 font-size: 80%;150 font-size: 80%;
198 color: #555;151 color: #555;
199}152}
200 #footer_widgets {153 footer .widgets {
201 padding-bottom: 1.5em;154 padding-bottom: 1.5em;
202 margin-bottom: 1.5em;155 margin-bottom: 1.5em;
203 border-bottom: 1px dotted #aaa;156 border-bottom: 1px dotted #aaa;
204 }157 }
205 #footer_navi .menu .sub-menu {158 nav#footer_navi .menu .sub-menu {
206 font-size: 110%;159 font-size: 110%;
207 }160 }
208161
209162/*
210/* PAGES163 * Post styles
211 *164 *
212 */165 */
213166
214/* Home page
215 *
216 */
217
218body.home #content_outer {
219 background-color: #f8f8f8;
220 padding: 0;
221}
222
223 body.home #content {
224 width: 100%;
225 margin: 0;
226 max-width: 100%;
227
228 background-color: transparent;
229 box-shadow: none;
230 padding: 1.5em 0 0 0;
231 border-radius: 0;
232 }
233 body.home #main {
234 padding: 0;
235 }
236
237 body.home .widgets_outer {
238 padding: 1em 0;
239 margin-bottom: 1em;
240 }
241 body.home .widgets_outer#front,
242 body.home .widgets_outer#front-3 {
243 padding: 2em 0;
244 background-color: #fff;
245 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
246 }
247
248 body.home .widgets_outer:last-child {
249 padding-bottom: 2em;
250 }
251
252/* Blog
253 *
254 */
255
256body.single-post #main,
257body.blog #main,
258body.archive #main,
259body.search #main {
260 float: left;
261 width: 65%;
262}
263
264#sidebar {
265 float: right;
266 box-sizing: border-box;
267 width: 35%;
268
269 font-size: 90%;
270 padding: 0 30px 2em 30px;
271}
272 #sidebar .search-form {
273 display: flex;
274 }
275 #sidebar .search-form label {
276 /* Search input box */
277 flex: 3;
278 margin-right: 0.5em;
279 }
280 #sidebar .search-form label input {
281 width: 100%;
282 }
283 #sidebar .search-form .search-submit {
284 flex: 1;
285 }
286
287/* Blog front and paging */
288
289#main .post + .post,
290.post-pagination {
291 margin-top: 2em;
292 padding-top: 1.25em;
293 border-top: 1px dotted rgba( 28, 80, 161, 0.5 );
294}
295.post-pagination {
296 margin-bottom: 0;
297 font-size: 90%;
298 border-top-color: rgba( 0, 0, 0, 0.5 );
299}
300
301
302/* Post styles */
303.post-post {167.post-post {
304 color: #333;168 color: #333;
305 margin: 1.5em 0 0.5em 0;169 margin: 1.5em 0 0.5em 0;
306}170}
307 .post-post img,171 .post-post > :last-child {
308 .post-post figure {172 margin-bottom: 0;
309 max-width: 100%;
310 height: auto;
311 }173 }
312 .post-post > :last-child {
313 margin-bottom: 0;
314 }
315174
316.post-meta, .post-meta a {175.post-meta,
317 color: #ccc;176.post-meta a {
318 color: rgba( 0, 0, 0, 0.2 );177 color: rgba( 0, 0, 0, 0.2 );
319}178}
320179 .post-meta span a {
321.post-meta span a {180 transition: all 0.5s ease-in-out;
322 transition: all 0.5s ease-in-out;181 }
323}182 .post-meta span a:hover,
324.post-meta span a:hover,183 .post-meta span a:focus {
325.post-meta span a:focus {184 color: rgba( 0, 0, 0, 0.5 );
326 color: #808080;185 }
327 color: rgba( 0, 0, 0, 0.5 );186
328}187/*
329188 * Navigation
330/* Release archive
331 *
332 */
333
334dl.release-info {
335 margin-bottom: 1em;
336}
337 dl.release-info dt {
338 float: left;
339 clear: both;
340
341 width: 25%;
342 margin-right: 5px;
343
344 font-weight: bold;
345 }
346 dl.release-info dd {
347 float: left;
348 }
349 dl.release-info dd.eol::after {
350 content: "Unsupported";
351 margin-left: 0.5em;
352 color: rgba( 200, 0, 0, 1 );
353 }
354
355/* Attachments
356 *
357 */
358
359#attachment {
360 margin-top: -1em;
361 margin-bottom: 1em;
362}
363 #attachment img {
364 width: 100%;
365 height: auto;
366
367 border-radius: 3px;
368 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
369 }
370 body.attachment .boxed {
371 padding: 1em 2em;
372 }
373 #attachment_navi {
374 text-align: center;
375 margin-bottom: 1em;
376 }
377 #attachment_navi .button:last-child {
378 margin-right: 0;
379 }
380 #attachment_navi .primary {
381 font-weight: 600 !important;
382 }
383
384
385/* WIDGET AREAS
386 *
387 */
388
389.widgets_flex .widgets {
390 display: flex;
391}
392 .widgets_flex .widget {
393 float: left;
394 width: 25.1%;
395
396 box-sizing: border-box;
397 flex-grow: 1;
398
399 padding: 0 1.5em;
400
401 border-right: 1px dotted rgba( 0, 0, 0, 0.2 );
402 }
403 .widgets_flex .widget:first-child {
404 padding-left: 0;
405 }
406 .widgets_flex .widget:last-child {
407 border-right: none;
408 padding-right: 0;
409 }
410 .widgets_flex .widget p:last-child {
411 margin-bottom: 0;
412 }
413
414/* Tagclouds */
415
416.tagcloud a {
417 display: block;
418 font-size: 100% !important;
419 margin-left: 1em;
420 margin-bottom: 0.2em;
421}
422 .tagcloud a {
423 border-bottom: none !important;
424 }
425 .tagcloud a::before {
426 /* Imitates the list style */
427 display: block;
428 float: left;
429
430 width: 0.7em;
431 margin-left: -0.7em;
432 margin-top: -0.12em;
433 content: "›";
434 font-weight: 300;
435 font-size: 140%;
436 color: #555;
437 }
438
439
440/* NAVIGATION
441 *189 *
442 */190 */
443191
@@ -457,9 +205,8 @@
457 margin: 0.5em 0 1.5em 0;205 margin: 0.5em 0 1.5em 0;
458 }206 }
459207
460/* Dropdown navigation208/* Navigation, dropdown */
461 *209
462 */
463.navigation.nd {210.navigation.nd {
464 border-left: 1px solid rgba( 0, 0, 0, 0.2 );211 border-left: 1px solid rgba( 0, 0, 0, 0.2 );
465}212}
@@ -577,9 +324,7 @@
577 display: none;324 display: none;
578}325}
579326
580/* Horizontal navigation327/* Navigation, horizontal */
581 *
582 */
583328
584.navigation.nh .menu {329.navigation.nh .menu {
585 display: flex;330 display: flex;
@@ -611,3 +356,230 @@
611 padding-right: 0;356 padding-right: 0;
612 border-right: none;357 border-right: none;
613 }358 }
359
360/*
361 * Widget areas
362 *
363 */
364
365.widgets_flex .widgets {
366 display: flex;
367}
368 .widgets_flex .widget {
369 float: left;
370 width: 25.1%;
371
372 box-sizing: border-box;
373 flex-grow: 1;
374
375 padding: 0 1.5em;
376
377 border-right: 1px dotted rgba( 0, 0, 0, 0.2 );
378 }
379 .widgets_flex .widget:first-child {
380 padding-left: 0;
381 }
382 .widgets_flex .widget:last-child {
383 border-right: none;
384 padding-right: 0;
385 }
386 .widgets_flex .widget p:last-child {
387 margin-bottom: 0;
388 }
389
390/*
391 * Templates
392 *
393 */
394
395/* Attachments browsing */
396
397.attachment_navi {
398 text-align: center;
399}
400 .attachment_navi .button:last-child {
401 margin-right: 0;
402 }
403
404/* Classes for menus */
405
406.menu .strong {
407 font-weight: 600;
408}
409
410/* Featured image */
411
412.post-thumbnail {
413 float: right;
414 margin: -1em 0 2em 2em;
415
416 max-width: 400px;
417 height: auto;
418}
419 .post-thumbnail img {
420 border-radius: 0;
421 box-shadow: none;
422 }
423
424/* Featured image on the front page */
425
426body.home .post-thumbnail {
427 margin-top: 0;
428}
429body.home main h1 {
430 display: inline;
431}
432 body.home main h1:after {
433 display: block;
434 content: "";
435 margin-bottom: 1em;
436 }
437
438/* Featured image in a gallery */
439
440.featured {
441 margin-bottom: 2em;
442}
443 .featured .image {
444 float: left;
445 width: 50%;
446 }
447 .featured .image img {
448 max-width: 100%;
449 float: right;
450 height: auto;
451
452 border-radius: 3px;
453 box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 );
454 }
455
456 .featured .description {
457 float: right;
458 width: 45%;
459 }
460 .featured .description h2:first-child {
461 margin-top: 0;
462 }
463
464/* Home page widgets */
465
466body.home .widgets_outer {
467 padding: 1em 0;
468 margin-bottom: 1em;
469}
470 body.home .widgets_outer#front,
471 body.home .widgets_outer#front-3 {
472 padding: 2em 0;
473 background-color: #fff;
474 box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 );
475 }
476 body.home .widgets_outer:last-child {
477 padding-bottom: 2em;
478 }
479
480/* Post lists */
481
482.posts-list li {
483 list-style-type: none;
484 margin-left: 0;
485}
486 .posts-list li .post-time {
487 display: inline-block;
488 width: 25%;
489 margin-right: 0.25em;
490 }
491
492/* Post pagination */
493
494main .post + .post,
495.post-pagination {
496 margin-top: 2em;
497 padding-top: 1.25em;
498 border-top: 1px dotted rgba( 28, 80, 161, 0.5 );
499}
500.post-pagination {
501 margin-bottom: 0;
502 font-size: 90%;
503 border-top-color: rgba( 0, 0, 0, 0.5 );
504}
505
506/* Release archive information */
507
508dl.release-info {
509 margin-bottom: 1em;
510}
511 dl.release-info dt {
512 float: left;
513 clear: both;
514
515 width: 25%;
516 margin-right: 5px;
517
518 font-weight: bold;
519 }
520 dl.release-info dd {
521 float: left;
522 }
523 dl.release-info dd.eol::after {
524 content: "Unsupported";
525 margin-left: 0.5em;
526 color: rgba( 200, 0, 0, 1 );
527 }
528
529/* Release lists */
530
531.releases .nobullet::before {
532 content: " " !important;
533}
534.releases .show-eol {
535 color: rgba( 0, 0, 0, 0.5 );
536 margin-left: -1em;
537}
538.releases .eol a::before {
539 content: "EOL";
540 font-size: 90%;
541 margin-right: 0.5em;
542 color: rgba( 0, 0, 0, 0.5 );
543}
544
545/* Search form */
546
547.search-form {
548 display: flex;
549}
550 .search-form label {
551 /* Search input box */
552 flex: 3;
553 margin-right: 0.5em;
554 }
555 .search-form label input {
556 width: 100%;
557 }
558 .search-form .search-submit {
559 flex: 1;
560 }
561
562/* Tagclouds */
563
564.tagcloud a {
565 display: block;
566 font-size: 100% !important;
567 margin-left: 1em;
568 margin-bottom: 0.2em;
569}
570 .tagcloud a {
571 border-bottom: none !important;
572 }
573 .tagcloud a::before {
574 /* Imitates the list style */
575 display: block;
576 float: left;
577
578 width: 0.7em;
579 margin-left: -0.7em;
580 margin-top: -0.12em;
581 content: "›";
582 font-weight: 300;
583 font-size: 140%;
584 color: #555;
585 }
614\ No newline at end of file586\ No newline at end of file
615587
=== removed file 'xubuntu-fifteen/template_blank.php'
--- xubuntu-fifteen/template_blank.php 2015-02-23 13:21:04 +0000
+++ xubuntu-fifteen/template_blank.php 1970-01-01 00:00:00 +0000
@@ -1,16 +0,0 @@
1<?php
2 /* Template name: Blank */
3 /* A blank page template with no content area background */
4?>
5
6<?php get_header( ); ?>
7<?php the_post( ); ?>
8
9<div id="content_outer">
10 <div id="content" class="air">
11 <h1 class="boxed"><?php the_title( ); ?></h1>
12 <?php the_content( ); ?>
13 </div>
14</div>
15
16<?php get_footer( ); ?>
17\ No newline at end of file0\ No newline at end of file
181
=== modified file 'xubuntu-fifteen/widgets-blog.php'
--- xubuntu-fifteen/widgets-blog.php 2016-07-30 22:45:51 +0000
+++ xubuntu-fifteen/widgets-blog.php 2016-12-15 07:46:28 +0000
@@ -1,7 +1,7 @@
1<?php1<?php
2 if( function_exists( 'dynamic_sidebar' ) ) {2 if( function_exists( 'dynamic_sidebar' ) && is_active_sidebar( 'blog_navigation' ) ) {
3 ?><div id="sidebar">3 ?><aside id="sidebar">
4 <?php dynamic_sidebar( 'blog_navigation' ); ?>4 <?php dynamic_sidebar( 'blog_navigation' ); ?>
5 </div><?php5 </aside><?php
6 }6 }
7?>7?>
8\ No newline at end of file8\ No newline at end of file
99
=== modified file 'xubuntu-fifteen/widgets-footer.php'
--- xubuntu-fifteen/widgets-footer.php 2015-06-11 20:39:33 +0000
+++ xubuntu-fifteen/widgets-footer.php 2016-12-15 07:46:28 +0000
@@ -6,6 +6,7 @@
66
7 wp_nav_menu( array(7 wp_nav_menu( array(
8 'theme_location' => 'footer_navigation',8 'theme_location' => 'footer_navigation',
9 'container' => 'nav',
9 'container_id' => 'footer_navi',10 'container_id' => 'footer_navi',
10 'container_class' => 'group navigation nh',11 'container_class' => 'group navigation nh',
11 'fallback_cb' => false12 'fallback_cb' => false
1213
=== modified file 'xubuntu-fifteen/widgets-front.php'
--- xubuntu-fifteen/widgets-front.php 2015-11-25 01:41:13 +0000
+++ xubuntu-fifteen/widgets-front.php 2016-12-15 07:46:28 +0000
@@ -4,7 +4,7 @@
44
5 foreach( $widget_areas as $area ) {5 foreach( $widget_areas as $area ) {
6 if( is_active_sidebar( $area ) ) {6 if( is_active_sidebar( $area ) ) {
7 ?><div id="<?php echo $area; ?>" class="widgets_outer widgets_flex"><div class="widgets_inner"><div class="widgets group"><?php dynamic_sidebar( $area ); ?></div></div></div><?php7 ?><div id="<?php echo $area; ?>" class="widgets_front widgets_outer widgets_flex"><div class="widgets group"><?php dynamic_sidebar( $area ); ?></div></div><?php
8 }8 }
9 }9 }
10 }10 }
1111
=== added file 'xubuntu-fifteen/widgets-release.php'
--- xubuntu-fifteen/widgets-release.php 1970-01-01 00:00:00 +0000
+++ xubuntu-fifteen/widgets-release.php 2016-12-15 07:46:28 +0000
@@ -0,0 +1,7 @@
1<?php
2 if( function_exists( 'dynamic_sidebar' ) && is_active_sidebar( 'release_widgets' ) ) {
3 ?><aside id="sidebar">
4 <?php dynamic_sidebar( 'release_widgets' ); ?>
5 </aside><?php
6 }
7?>
0\ No newline at end of file8\ No newline at end of file

Subscribers

People subscribed via source and target branches