Merge lp:~sajoupa/wordpress/wp-theme-xubuntu-website-r119 into lp:~canonical-sysadmins/wordpress/wp-theme-xubuntu-website
- wp-theme-xubuntu-website-r119
- Merge into 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 |
Related bugs: |
Commit message
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
1 | === removed file 'xubuntu-fifteen/attachment.php' | |||
2 | --- xubuntu-fifteen/attachment.php 2015-02-19 15:54:23 +0000 | |||
3 | +++ xubuntu-fifteen/attachment.php 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,69 +0,0 @@ | |||
5 | 1 | <?php | ||
6 | 2 | /* Template name: Full size gallery */ | ||
7 | 3 | ?> | ||
8 | 4 | |||
9 | 5 | <?php get_header( ); ?> | ||
10 | 6 | <?php the_post( ); ?> | ||
11 | 7 | |||
12 | 8 | <div id="content_outer"> | ||
13 | 9 | <div id="content" class="air"> | ||
14 | 10 | <?php | ||
15 | 11 | // Get previous/next attachment if available | ||
16 | 12 | $args = array( | ||
17 | 13 | 'post_parent' => get_post_field( 'post_parent', get_the_ID( ) ), | ||
18 | 14 | 'post_type' => 'attachment', | ||
19 | 15 | 'post_mime_type' => 'image', | ||
20 | 16 | 'order_by' => 'date', | ||
21 | 17 | 'order' => 'ASC' | ||
22 | 18 | ); | ||
23 | 19 | $attachments = get_children( $args ); | ||
24 | 20 | sort( $attachments ); | ||
25 | 21 | |||
26 | 22 | foreach( $attachments as $i => $a ) { | ||
27 | 23 | if( $a->ID == get_the_ID( ) ) { | ||
28 | 24 | $prev = $i - 1; $next = $i + 1; | ||
29 | 25 | |||
30 | 26 | if( $prev >= 0 ) { | ||
31 | 27 | $prev_img = $attachments[$prev]; | ||
32 | 28 | } else { | ||
33 | 29 | $last = count( $attachments ) - 1; | ||
34 | 30 | $prev_img = $attachments[$last]; | ||
35 | 31 | } | ||
36 | 32 | |||
37 | 33 | if( $next <= count( $attachments ) - 1 ) { | ||
38 | 34 | $next_img = $attachments[$next]; | ||
39 | 35 | } else { | ||
40 | 36 | $next_img = $attachments[0]; | ||
41 | 37 | } | ||
42 | 38 | } | ||
43 | 39 | |||
44 | 40 | continue; | ||
45 | 41 | } | ||
46 | 42 | ?> | ||
47 | 43 | <?php if( count( $attachments ) > 1 ) { ?> | ||
48 | 44 | <div id="attachment_navi"> | ||
49 | 45 | <a class="button back" href="<?php echo get_the_permalink( $prev_img->ID ); ?>"><?php _e( 'Previous', 'xubuntu' ); ?></a> | ||
50 | 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> | ||
51 | 47 | <a class="button" href="<?php echo get_the_permalink( $next_img->ID ); ?>"><?php _e( 'Next', 'xubuntu' ); ?></a> | ||
52 | 48 | </div> | ||
53 | 49 | <?php } ?> | ||
54 | 50 | <div id="attachment"> | ||
55 | 51 | <?php | ||
56 | 52 | // Output the image | ||
57 | 53 | echo wp_get_attachment_image( get_the_ID( ), 'original' ); | ||
58 | 54 | ?> | ||
59 | 55 | </div> | ||
60 | 56 | <?php | ||
61 | 57 | $caption = get_the_excerpt( ); | ||
62 | 58 | $description = get_the_content( ); | ||
63 | 59 | ?> | ||
64 | 60 | <?php if( $caption || $description ) { ?> | ||
65 | 61 | <div class="boxed"> | ||
66 | 62 | <?php if( $caption ) { ?><h2><?php echo $caption; ?></h2><?php } ?> | ||
67 | 63 | <?php if( $description ) { ?><p><?php echo $description; ?></p><?php } ?> | ||
68 | 64 | </div> | ||
69 | 65 | <?php } ?> | ||
70 | 66 | </div> | ||
71 | 67 | </div> | ||
72 | 68 | |||
73 | 69 | <?php get_footer( ); ?> | ||
74 | 70 | \ No newline at end of file | 0 | \ No newline at end of file |
75 | 71 | 1 | ||
76 | === modified file 'xubuntu-fifteen/content-archive.php' | |||
77 | --- xubuntu-fifteen/content-archive.php 2016-08-28 23:39:44 +0000 | |||
78 | +++ xubuntu-fifteen/content-archive.php 2016-12-15 07:46:28 +0000 | |||
79 | @@ -16,14 +16,12 @@ | |||
80 | 16 | } | 16 | } |
81 | 17 | ?> | 17 | ?> |
82 | 18 | 18 | ||
83 | 19 | <div id="archive-posts"> | ||
84 | 20 | <ul> | ||
85 | 21 | <?php while( have_posts( ) ) { ?> | ||
86 | 22 | <?php the_post( ); ?> | ||
87 | 23 | <li class="post-title"> | ||
88 | 24 | <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span> | ||
89 | 25 | <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b> | ||
90 | 26 | </li> | ||
91 | 27 | <?php } ?> | ||
92 | 28 | </ul> | ||
93 | 29 | </div> | ||
94 | 30 | \ No newline at end of file | 19 | \ No newline at end of file |
95 | 20 | <ul class="posts-list"> | ||
96 | 21 | <?php while( have_posts( ) ) { ?> | ||
97 | 22 | <?php the_post( ); ?> | ||
98 | 23 | <li class="post-title"> | ||
99 | 24 | <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span> | ||
100 | 25 | <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b> | ||
101 | 26 | </li> | ||
102 | 27 | <?php } ?> | ||
103 | 28 | </ul> | ||
104 | 31 | \ No newline at end of file | 29 | \ No newline at end of file |
105 | 32 | 30 | ||
106 | === added file 'xubuntu-fifteen/content-attachment.php' | |||
107 | --- xubuntu-fifteen/content-attachment.php 1970-01-01 00:00:00 +0000 | |||
108 | +++ xubuntu-fifteen/content-attachment.php 2016-12-15 07:46:28 +0000 | |||
109 | @@ -0,0 +1,51 @@ | |||
110 | 1 | <?php | ||
111 | 2 | if( get_the_excerpt( ) ) { | ||
112 | 3 | echo '<h1>' . get_the_excerpt( ) . '</h1>'; | ||
113 | 4 | } | ||
114 | 5 | if( get_the_content( ) ) { | ||
115 | 6 | echo wpautop( get_the_content( ) ); | ||
116 | 7 | } | ||
117 | 8 | ?> | ||
118 | 9 | |||
119 | 10 | <p><?php echo wp_get_attachment_image( get_the_ID( ), 'original' ); ?></p> | ||
120 | 11 | |||
121 | 12 | <?php | ||
122 | 13 | // Get previous/next attachment if available | ||
123 | 14 | $args = array( | ||
124 | 15 | 'post_parent' => get_post_field( 'post_parent', get_the_ID( ) ), | ||
125 | 16 | 'post_type' => 'attachment', | ||
126 | 17 | 'post_mime_type' => 'image', | ||
127 | 18 | 'order_by' => 'date', | ||
128 | 19 | 'order' => 'ASC' | ||
129 | 20 | ); | ||
130 | 21 | $attachments = get_children( $args ); | ||
131 | 22 | sort( $attachments ); | ||
132 | 23 | |||
133 | 24 | foreach( $attachments as $i => $a ) { | ||
134 | 25 | if( $a->ID == get_the_ID( ) ) { | ||
135 | 26 | $prev = $i - 1; $next = $i + 1; | ||
136 | 27 | |||
137 | 28 | if( $prev >= 0 ) { | ||
138 | 29 | $prev_img = $attachments[$prev]; | ||
139 | 30 | } else { | ||
140 | 31 | $last = count( $attachments ) - 1; | ||
141 | 32 | $prev_img = $attachments[$last]; | ||
142 | 33 | } | ||
143 | 34 | |||
144 | 35 | if( $next <= count( $attachments ) - 1 ) { | ||
145 | 36 | $next_img = $attachments[$next]; | ||
146 | 37 | } else { | ||
147 | 38 | $next_img = $attachments[0]; | ||
148 | 39 | } | ||
149 | 40 | } | ||
150 | 41 | |||
151 | 42 | continue; | ||
152 | 43 | } | ||
153 | 44 | ?> | ||
154 | 45 | <?php if( count( $attachments ) > 1 ) { ?> | ||
155 | 46 | <div class="attachment-navi"> | ||
156 | 47 | <a class="button back" href="<?php echo get_the_permalink( $prev_img->ID ); ?>"><?php _e( 'Previous', 'xubuntu' ); ?></a> | ||
157 | 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> | ||
158 | 49 | <a class="button" href="<?php echo get_the_permalink( $next_img->ID ); ?>"><?php _e( 'Next', 'xubuntu' ); ?></a> | ||
159 | 50 | </div> | ||
160 | 51 | <?php } ?> | ||
161 | 0 | 52 | ||
162 | === modified file 'xubuntu-fifteen/content-release.php' | |||
163 | --- xubuntu-fifteen/content-release.php 2016-08-29 12:39:20 +0000 | |||
164 | +++ xubuntu-fifteen/content-release.php 2016-12-15 07:46:28 +0000 | |||
165 | @@ -11,17 +11,14 @@ | |||
166 | 11 | $eol_time = gmmktime( 0, 0, 1, $month, $day, $year ); | 11 | $eol_time = gmmktime( 0, 0, 1, $month, $day, $year ); |
167 | 12 | } | 12 | } |
168 | 13 | 13 | ||
177 | 14 | if( strlen( $release_meta['release_codename'] ) > 0 ) { | 14 | echo '<h1 class="post-title">Xubuntu ' . single_term_title( '', false ) . '</h1>'; |
178 | 15 | $codename = ', ' . $release_meta['release_codename']; | 15 | if( strlen( $release_meta['release_codename'] ) > 0 || isset( $release_time ) || isset( $eol_time ) ) { |
171 | 16 | } else { | ||
172 | 17 | $codename = ''; | ||
173 | 18 | } | ||
174 | 19 | |||
175 | 20 | echo '<h1 class="post-title">Xubuntu ' . single_term_title( '', false ) . $codename . '</h1>'; | ||
176 | 21 | if( isset( $release_time ) || isset( $eol_time ) ) { | ||
179 | 22 | echo '<dl class="release-info group">'; | 16 | echo '<dl class="release-info group">'; |
180 | 17 | if( strlen( $release_meta['release_codename'] ) > 0 ) { | ||
181 | 18 | echo '<dt>' . __( 'Codename', 'xubuntu' ) . '</dt><dd>' . $release_meta['release_codename'] . '</dd>'; | ||
182 | 19 | } | ||
183 | 23 | if( isset( $release_time ) ) { | 20 | if( isset( $release_time ) ) { |
185 | 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>'; |
186 | 25 | } | 22 | } |
187 | 26 | if( isset( $eol_time ) ) { | 23 | if( isset( $eol_time ) ) { |
188 | 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>'; |
189 | @@ -33,35 +30,14 @@ | |||
190 | 33 | ?> | 30 | ?> |
191 | 34 | 31 | ||
192 | 35 | <?php | 32 | <?php |
215 | 36 | $official_links = get_posts( array( | 33 | $official_links = release_link_list( array( 'official', 'official-expiring' ), $release->term_id ); |
194 | 37 | 'post_type' => 'release_link', | ||
195 | 38 | 'posts_per_page' => -1, | ||
196 | 39 | 'tax_query' => array( array( | ||
197 | 40 | 'taxonomy' => 'release', | ||
198 | 41 | 'field' => 'term_id', | ||
199 | 42 | 'terms' => $release->term_id | ||
200 | 43 | ) ), | ||
201 | 44 | 'meta_query' => array( | ||
202 | 45 | 'relation' => 'OR', | ||
203 | 46 | array( | ||
204 | 47 | 'key' => 'link_type', | ||
205 | 48 | 'value' => 'official' | ||
206 | 49 | ), | ||
207 | 50 | array( | ||
208 | 51 | 'key' => 'link_type', | ||
209 | 52 | 'value' => 'official-expiring' | ||
210 | 53 | ), | ||
211 | 54 | ), | ||
212 | 55 | 'orderby' => 'title', | ||
213 | 56 | 'order' => 'ASC' | ||
214 | 57 | ) ); | ||
216 | 58 | 34 | ||
219 | 59 | if( is_array( $official_links ) && count( $official_links ) > 0 ) { | 35 | if( $official_links ) { |
220 | 60 | $otuput_links = array( ); | 36 | $output_links = array( ); |
221 | 61 | 37 | ||
222 | 62 | foreach( $official_links as $official_link ) { | 38 | foreach( $official_links as $official_link ) { |
223 | 63 | $meta = get_post_meta( $official_link->ID ); | 39 | $meta = get_post_meta( $official_link->ID ); |
225 | 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' ) { |
226 | 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>'; |
227 | 66 | } | 42 | } |
228 | 67 | } | 43 | } |
229 | @@ -79,61 +55,24 @@ | |||
230 | 79 | 55 | ||
231 | 80 | <?php if( have_posts( ) ) { ?> | 56 | <?php if( have_posts( ) ) { ?> |
232 | 81 | <h2><?php _e( 'Articles', 'xubuntu' ); ?></h2> | 57 | <h2><?php _e( 'Articles', 'xubuntu' ); ?></h2> |
243 | 82 | <div id="archive-posts"> | 58 | <ul class="posts-list"> |
244 | 83 | <ul> | 59 | <?php while( have_posts( ) ) { ?> |
245 | 84 | <?php while( have_posts( ) ) { ?> | 60 | <?php the_post( ); ?> |
246 | 85 | <?php the_post( ); ?> | 61 | <?php if( get_post_type( ) == 'post' ) { ?> |
247 | 86 | <?php if( get_post_type( ) == 'post' ) { ?> | 62 | <li class="post-title"> |
248 | 87 | <li class="post-title"> | 63 | <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span> |
249 | 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> |
250 | 89 | <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b> | 65 | </li> |
241 | 90 | </li> | ||
242 | 91 | <?php } ?> | ||
251 | 92 | <?php } ?> | 66 | <?php } ?> |
254 | 93 | </ul> | 67 | <?php } ?> |
255 | 94 | </div> | 68 | </ul> |
256 | 95 | <?php } ?> | 69 | <?php } ?> |
257 | 96 | 70 | ||
258 | 97 | <?php | 71 | <?php |
276 | 98 | $press_links = get_posts( array( | 72 | $press_links = release_link_list( 'press', $release->term_id ); |
277 | 99 | 'post_type' => 'release_link', | 73 | if( $press_links ) { |
261 | 100 | 'posts_per_page' => -1, | ||
262 | 101 | 'tax_query' => array( array( | ||
263 | 102 | 'taxonomy' => 'release', | ||
264 | 103 | 'field' => 'term_id', | ||
265 | 104 | 'terms' => $release->term_id | ||
266 | 105 | ) ), | ||
267 | 106 | 'meta_query' => array( array( | ||
268 | 107 | 'key' => 'link_type', | ||
269 | 108 | 'value' => 'press' | ||
270 | 109 | ) ), | ||
271 | 110 | 'orderby' => 'title', | ||
272 | 111 | 'order' => 'ASC' | ||
273 | 112 | ) ); | ||
274 | 113 | |||
275 | 114 | if( is_array( $press_links ) && count( $press_links ) > 0 ) { | ||
278 | 115 | echo '<h2>' . __( 'In the Press', 'xubuntu' ) . '</h2>'; | 74 | echo '<h2>' . __( 'In the Press', 'xubuntu' ) . '</h2>'; |
300 | 116 | echo '<ul class="link-list">'; | 75 | echo release_link_press_output( $press_links ); |
280 | 117 | foreach( $press_links as $press_link ) { | ||
281 | 118 | $meta = get_post_meta( $press_link->ID ); | ||
282 | 119 | echo '<li>'; | ||
283 | 120 | echo '<strong><a href="' . $meta['link_url'][0] . '">' . $press_link->post_title . '</a></strong>'; | ||
284 | 121 | if( ( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) || ( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) ) { | ||
285 | 122 | echo ' by '; | ||
286 | 123 | } | ||
287 | 124 | if( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) { | ||
288 | 125 | echo $meta['author_name'][0] . ' of '; | ||
289 | 126 | } | ||
290 | 127 | if( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) { | ||
291 | 128 | if( isset( $meta['author_url'][0] ) && strlen( $meta['author_url'][0] ) > 0 ) { | ||
292 | 129 | echo '<a href="' . $meta['author_url'][0] . '">' . $meta['author_site'][0] . '</a>'; | ||
293 | 130 | } else { | ||
294 | 131 | echo $meta['author_site'][0]; | ||
295 | 132 | } | ||
296 | 133 | } | ||
297 | 134 | echo '</li>'; | ||
298 | 135 | } | ||
299 | 136 | echo '</ul>'; | ||
301 | 137 | } | 76 | } |
302 | 138 | ?> | 77 | ?> |
303 | 139 | 78 | ||
304 | 140 | 79 | ||
305 | === modified file 'xubuntu-fifteen/content-search.php' | |||
306 | --- xubuntu-fifteen/content-search.php 2016-02-12 23:25:25 +0000 | |||
307 | +++ xubuntu-fifteen/content-search.php 2016-12-15 07:46:28 +0000 | |||
308 | @@ -1,17 +1,15 @@ | |||
309 | 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> |
310 | 2 | 2 | ||
311 | 3 | <?php if( have_posts( ) ) { ?> | 3 | <?php if( have_posts( ) ) { ?> |
323 | 4 | <div id="archive-posts"> | 4 | <ul class="posts-list"> |
324 | 5 | <ul> | 5 | <?php while( have_posts( ) ) { ?> |
325 | 6 | <?php while( have_posts( ) ) { ?> | 6 | <?php the_post( ); ?> |
326 | 7 | <?php the_post( ); ?> | 7 | <li class="post-title"> |
327 | 8 | <li class="post-title"> | 8 | <span class="post-time"><?php print strftime( __( '%B %e, %Y', 'xubuntu' ), get_the_time( 'U' ) ); ?></span> |
328 | 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> |
329 | 10 | <b><a href="<?php the_permalink( ); ?>" rel="bookmark" title="<?php the_title( ); ?>"><?php the_title( ); ?></a></b> | 10 | </li> |
330 | 11 | </li> | 11 | <?php } ?> |
331 | 12 | <?php } ?> | 12 | </ul> |
321 | 13 | </ul> | ||
322 | 14 | </div> | ||
332 | 15 | <?php } else { ?> | 13 | <?php } else { ?> |
333 | 16 | <p><?php _e( 'No content found.', 'xubuntu' ); ?></p> | 14 | <p><?php _e( 'No content found.', 'xubuntu' ); ?></p> |
334 | 17 | <?php } ?> | 15 | <?php } ?> |
335 | 18 | 16 | ||
336 | === modified file 'xubuntu-fifteen/footer.php' | |||
337 | --- xubuntu-fifteen/footer.php 2016-07-30 22:50:35 +0000 | |||
338 | +++ xubuntu-fifteen/footer.php 2016-12-15 07:46:28 +0000 | |||
339 | @@ -1,7 +1,7 @@ | |||
341 | 1 | <div id="footer"> | 1 | <footer> |
342 | 2 | <?php get_template_part( 'widgets', 'footer' ); ?> | 2 | <?php get_template_part( 'widgets', 'footer' ); ?> |
343 | 3 | <?php wp_footer( ); ?> | 3 | <?php wp_footer( ); ?> |
345 | 4 | </div> | 4 | </footer> |
346 | 5 | 5 | ||
347 | 6 | </body> | 6 | </body> |
348 | 7 | </html> | 7 | </html> |
349 | 8 | 8 | ||
350 | === modified file 'xubuntu-fifteen/functions-features-release-links.php' | |||
351 | --- xubuntu-fifteen/functions-features-release-links.php 2016-08-28 23:39:44 +0000 | |||
352 | +++ xubuntu-fifteen/functions-features-release-links.php 2016-12-15 07:46:28 +0000 | |||
353 | @@ -129,4 +129,131 @@ | |||
354 | 129 | } | 129 | } |
355 | 130 | } | 130 | } |
356 | 131 | 131 | ||
357 | 132 | /* | ||
358 | 133 | * Add a function to help listing release links | ||
359 | 134 | * | ||
360 | 135 | */ | ||
361 | 136 | |||
362 | 137 | function release_link_list( $link_type = 'press', $term = null ) { | ||
363 | 138 | $args = array( | ||
364 | 139 | 'post_type' => 'release_link', | ||
365 | 140 | 'posts_per_page' => -1, | ||
366 | 141 | 'orderby' => 'title', | ||
367 | 142 | 'order' => 'ASC' | ||
368 | 143 | ); | ||
369 | 144 | |||
370 | 145 | if( isset( $link_type ) ) { | ||
371 | 146 | $args['meta_query'] = array( | ||
372 | 147 | 'relation' => 'OR', | ||
373 | 148 | ); | ||
374 | 149 | |||
375 | 150 | if( is_array( $link_type ) ) { | ||
376 | 151 | foreach( $link_type as $type ) { | ||
377 | 152 | $args['meta_query'][] = array( | ||
378 | 153 | 'key' => 'link_type', | ||
379 | 154 | 'value' => $type | ||
380 | 155 | ); | ||
381 | 156 | } | ||
382 | 157 | } else { | ||
383 | 158 | $args['meta_query'][] = array( | ||
384 | 159 | 'key' => 'link_type', | ||
385 | 160 | 'value' => $link_type | ||
386 | 161 | ); | ||
387 | 162 | } | ||
388 | 163 | } | ||
389 | 164 | |||
390 | 165 | if( isset( $term ) ) { | ||
391 | 166 | $args['tax_query'] = array( array( | ||
392 | 167 | 'taxonomy' => 'release', | ||
393 | 168 | 'field' => 'term_id', | ||
394 | 169 | 'terms' => $term | ||
395 | 170 | ) ); | ||
396 | 171 | } | ||
397 | 172 | |||
398 | 173 | $links = get_posts( $args ); | ||
399 | 174 | |||
400 | 175 | if( is_array( $links ) && count( $links ) > 0 ) { | ||
401 | 176 | return $links; | ||
402 | 177 | } else { | ||
403 | 178 | return null; | ||
404 | 179 | } | ||
405 | 180 | } | ||
406 | 181 | |||
407 | 182 | /* | ||
408 | 183 | * Add a function to output press links | ||
409 | 184 | * Used by: content-release.php ! | ||
410 | 185 | * | ||
411 | 186 | */ | ||
412 | 187 | |||
413 | 188 | function release_link_press_output( $press_links = array( ) ) { | ||
414 | 189 | if( count( $press_links ) > 0 ) { | ||
415 | 190 | $out = '<ul class="link-list">'; | ||
416 | 191 | foreach( $press_links as $press_link ) { | ||
417 | 192 | $meta = get_post_meta( $press_link->ID ); | ||
418 | 193 | $out .= '<li>'; | ||
419 | 194 | $out .= '<strong><a href="' . $meta['link_url'][0] . '">' . $press_link->post_title . '</a></strong>'; | ||
420 | 195 | if( ( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) || ( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) ) { | ||
421 | 196 | $out .= ' by '; | ||
422 | 197 | } | ||
423 | 198 | if( isset( $meta['author_name'][0] ) && strlen( $meta['author_name'][0] ) > 0 ) { | ||
424 | 199 | $out .= $meta['author_name'][0] . ' of '; | ||
425 | 200 | } | ||
426 | 201 | if( isset( $meta['author_site'][0] ) && strlen( $meta['author_site'][0] ) > 0 ) { | ||
427 | 202 | if( isset( $meta['author_url'][0] ) && strlen( $meta['author_url'][0] ) > 0 ) { | ||
428 | 203 | $out .= '<a href="' . $meta['author_url'][0] . '">' . $meta['author_site'][0] . '</a>'; | ||
429 | 204 | } else { | ||
430 | 205 | $out .= $meta['author_site'][0]; | ||
431 | 206 | } | ||
432 | 207 | } | ||
433 | 208 | $out .= '</li>'; | ||
434 | 209 | } | ||
435 | 210 | $out .= '</ul>'; | ||
436 | 211 | |||
437 | 212 | return $out; | ||
438 | 213 | } | ||
439 | 214 | } | ||
440 | 215 | |||
441 | 216 | /* | ||
442 | 217 | * Add a shortcode for printing out press links | ||
443 | 218 | * | ||
444 | 219 | */ | ||
445 | 220 | |||
446 | 221 | add_shortcode( 'press', 'release_link_shortcode_press' ); | ||
447 | 222 | |||
448 | 223 | function release_link_shortcode_press( $atts ) { | ||
449 | 224 | $atts = shortcode_atts( | ||
450 | 225 | array( | ||
451 | 226 | 'release' => false, | ||
452 | 227 | ), | ||
453 | 228 | $atts, | ||
454 | 229 | 'press' | ||
455 | 230 | ); | ||
456 | 231 | |||
457 | 232 | $args = array( ); | ||
458 | 233 | |||
459 | 234 | if( strlen( $atts['release'] ) > 0 ) { | ||
460 | 235 | $single_release = get_term_by( 'slug', $atts['release'], 'release' ); | ||
461 | 236 | $args['include'] = $single_release->term_id; | ||
462 | 237 | } | ||
463 | 238 | |||
464 | 239 | $releases = get_terms( 'release', $args ); | ||
465 | 240 | $navi = ''; | ||
466 | 241 | $links_out = ''; | ||
467 | 242 | |||
468 | 243 | foreach( $releases as $release ) { | ||
469 | 244 | $links = release_link_list( 'press', $release->term_id ); | ||
470 | 245 | if( count( $links ) > 0 ) { | ||
471 | 246 | $release_meta = get_option( 'taxonomy_term_' . $release->term_id ); | ||
472 | 247 | $navi .= '<a class="button" href="#' . $release->slug . '">' . $release->name . '</a>'; | ||
473 | 248 | $links_out .= '<h2 id="' . $release->slug . '">' . $release->name . ' (' . $release_meta['release_codename'] . ')</h2>' . release_link_press_output( $links ); | ||
474 | 249 | } | ||
475 | 250 | } | ||
476 | 251 | |||
477 | 252 | if( count( $releases ) > 1 ) { | ||
478 | 253 | return '<p>' . $navi . '</p>' . $links_out; | ||
479 | 254 | } else { | ||
480 | 255 | return $links_out; | ||
481 | 256 | } | ||
482 | 257 | } | ||
483 | 258 | |||
484 | 132 | ?> | 259 | ?> |
485 | 133 | \ No newline at end of file | 260 | \ No newline at end of file |
486 | 134 | 261 | ||
487 | === modified file 'xubuntu-fifteen/functions-features.php' | |||
488 | --- xubuntu-fifteen/functions-features.php 2016-08-29 13:44:57 +0000 | |||
489 | +++ xubuntu-fifteen/functions-features.php 2016-12-15 07:46:28 +0000 | |||
490 | @@ -26,6 +26,17 @@ | |||
491 | 26 | 'before_title' => '<h2>', | 26 | 'before_title' => '<h2>', |
492 | 27 | 'after_title' => '</h2>' | 27 | 'after_title' => '</h2>' |
493 | 28 | ) ); | 28 | ) ); |
494 | 29 | |||
495 | 30 | /* Widgets for release pages */ | ||
496 | 31 | register_sidebar( array( | ||
497 | 32 | 'name' => 'Release page widgets', | ||
498 | 33 | 'id' => 'release_widgets', | ||
499 | 34 | 'before_widget' => '', | ||
500 | 35 | 'after_widget' => '', | ||
501 | 36 | 'before_title' => '<h2>', | ||
502 | 37 | 'after_title' => '</h2>' | ||
503 | 38 | ) ); | ||
504 | 39 | |||
505 | 29 | /* Footer */ | 40 | /* Footer */ |
506 | 30 | register_sidebars( 2, array( | 41 | register_sidebars( 2, array( |
507 | 31 | 'name' => 'Footer %d', | 42 | 'name' => 'Footer %d', |
508 | 32 | 43 | ||
509 | === modified file 'xubuntu-fifteen/functions.php' | |||
510 | --- xubuntu-fifteen/functions.php 2016-08-28 23:39:44 +0000 | |||
511 | +++ xubuntu-fifteen/functions.php 2016-12-15 07:46:28 +0000 | |||
512 | @@ -45,7 +45,6 @@ | |||
513 | 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)' ); |
514 | 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)' ); |
515 | 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)' ); |
516 | 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)' ); | ||
517 | 49 | } | 48 | } |
518 | 50 | 49 | ||
519 | 51 | /* Check if the current page is a blog page | 50 | /* Check if the current page is a blog page |
520 | 52 | 51 | ||
521 | === modified file 'xubuntu-fifteen/header.php' | |||
522 | --- xubuntu-fifteen/header.php 2016-01-03 22:40:57 +0000 | |||
523 | +++ xubuntu-fifteen/header.php 2016-12-15 07:46:28 +0000 | |||
524 | @@ -9,39 +9,37 @@ | |||
525 | 9 | <meta name="author" content="The Xubuntu community" /> | 9 | <meta name="author" content="The Xubuntu community" /> |
526 | 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" /> |
527 | 11 | 11 | ||
529 | 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"> |
530 | 13 | 13 | ||
531 | 14 | <?php wp_head( ); ?> | 14 | <?php wp_head( ); ?> |
532 | 15 | </head> | 15 | </head> |
533 | 16 | 16 | ||
534 | 17 | <body id="xubuntu" <?php echo body_class( ); ?>> | 17 | <body id="xubuntu" <?php echo body_class( ); ?>> |
535 | 18 | 18 | ||
565 | 19 | <div id="header_outer"> | 19 | <header> |
566 | 20 | <div id="header_art"></div> | 20 | <div id="logo"> |
567 | 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> |
568 | 22 | <div id="logo"> | 22 | </div> |
569 | 23 | <a href="<?php echo home_url( '/' ); ?>"><img src="<?php bloginfo( 'stylesheet_directory' ); ?>/images/xubuntu-logo-45.png" alt="Xubuntu" /></a> | 23 | |
570 | 24 | </div> | 24 | <div id="navi"> |
571 | 25 | </div> | 25 | <a id="opennavi" class="navi_open_button" href="#footer_navi" title="<?php _e( 'Click to see more', 'xubuntu' ); ?>"></a> |
572 | 26 | <div id="navi_outer"> | 26 | <?php |
573 | 27 | <div id="navi"> | 27 | wp_nav_menu( array( |
574 | 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', |
575 | 29 | <?php | 29 | 'container' => 'nav', |
576 | 30 | wp_nav_menu( array( | 30 | 'container_id' => 'navi_quick', |
577 | 31 | 'theme_location' => 'quick_navigation', | 31 | 'container_class' => 'group navigation nq', |
578 | 32 | 'container_id' => 'navi_quick', | 32 | 'fallback_cb' => 'xubuntu_quick_menu_fallback' |
579 | 33 | 'container_class' => 'group navigation nq', | 33 | ) ); |
580 | 34 | 'fallback_cb' => 'xubuntu_quick_menu_fallback' | 34 | ?> |
581 | 35 | ) ); | 35 | <?php |
582 | 36 | ?> | 36 | wp_nav_menu( array( |
583 | 37 | <?php | 37 | 'theme_location' => 'main_navigation', |
584 | 38 | wp_nav_menu( array( | 38 | 'container' => 'nav', |
585 | 39 | 'theme_location' => 'main_navigation', | 39 | 'container_id' => 'navi_main', |
586 | 40 | 'container_id' => 'navi_main', | 40 | 'container_class' => 'group navigation nd', |
587 | 41 | 'container_class' => 'group navigation nd', | 41 | 'fallback_cb' => false |
588 | 42 | 'fallback_cb' => false | 42 | ) ); |
589 | 43 | ) ); | 43 | ?> |
590 | 44 | ?> | 44 | </div> |
591 | 45 | </div> | 45 | </header> |
563 | 46 | </div> | ||
564 | 47 | </div> | ||
592 | 48 | 46 | ||
593 | === removed file 'xubuntu-fifteen/images/favicon.png' | |||
594 | 49 | Binary 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 | 47 | Binary 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 |
595 | === added file 'xubuntu-fifteen/images/header.png' | |||
596 | 50 | Binary 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 | 48 | Binary 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 |
597 | === added file 'xubuntu-fifteen/images/xubuntu-icon-16.png' | |||
598 | 51 | Binary 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 | 49 | Binary 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 |
599 | === modified file 'xubuntu-fifteen/index.php' | |||
600 | --- xubuntu-fifteen/index.php 2016-08-29 12:39:20 +0000 | |||
601 | +++ xubuntu-fifteen/index.php 2016-12-15 07:46:28 +0000 | |||
602 | @@ -1,13 +1,15 @@ | |||
603 | 1 | <?php get_header( ); ?> | 1 | <?php get_header( ); ?> |
604 | 2 | 2 | ||
608 | 3 | <div id="content_outer"> | 3 | <section id="middle" class="group"> |
609 | 4 | <div id="content" class="group"> | 4 | <section id="content" class="group"> |
610 | 5 | <div id="main" class="group"> | 5 | <main id="main" class="group"> |
611 | 6 | <?php | 6 | <?php |
612 | 7 | if( is_search( ) ) { | 7 | if( is_search( ) ) { |
613 | 8 | get_template_part( 'content', 'search' ); | 8 | get_template_part( 'content', 'search' ); |
614 | 9 | } elseif( is_tax( 'release' ) ) { | 9 | } elseif( is_tax( 'release' ) ) { |
615 | 10 | get_template_part( 'content', 'release' ); | 10 | get_template_part( 'content', 'release' ); |
616 | 11 | } elseif( is_attachment( ) ) { | ||
617 | 12 | get_template_part( 'content', 'attachment' ); | ||
618 | 11 | } elseif( have_posts( ) && !is_404( ) ) { | 13 | } elseif( have_posts( ) && !is_404( ) ) { |
619 | 12 | if( is_archive( ) ) { | 14 | if( is_archive( ) ) { |
620 | 13 | get_template_part( 'content', 'archive' ); | 15 | get_template_part( 'content', 'archive' ); |
621 | @@ -23,10 +25,16 @@ | |||
622 | 23 | <?php | 25 | <?php |
623 | 24 | } | 26 | } |
624 | 25 | ?> | 27 | ?> |
628 | 26 | </div> | 28 | </main> |
629 | 27 | <?php if( is_blog( ) || is_search( ) ) { get_template_part( 'widgets', 'blog' ); } ?> | 29 | <?php |
630 | 28 | </div> | 30 | if( is_tax( 'release' ) ) { |
631 | 31 | get_template_part( 'widgets', 'release' ); | ||
632 | 32 | } elseif( is_blog( ) || is_search( ) ) { | ||
633 | 33 | get_template_part( 'widgets', 'blog' ); | ||
634 | 34 | } | ||
635 | 35 | ?> | ||
636 | 36 | </section> | ||
637 | 29 | <?php if( is_front_page( ) ) { get_template_part( 'widgets', 'front' ); } ?> | 37 | <?php if( is_front_page( ) ) { get_template_part( 'widgets', 'front' ); } ?> |
639 | 30 | </div> | 38 | </section> |
640 | 31 | 39 | ||
641 | 32 | <?php get_footer( ); ?> | 40 | <?php get_footer( ); ?> |
642 | 33 | \ No newline at end of file | 41 | \ No newline at end of file |
643 | 34 | 42 | ||
644 | === modified file 'xubuntu-fifteen/reset.css' | |||
645 | --- xubuntu-fifteen/reset.css 2016-02-12 23:56:18 +0000 | |||
646 | +++ xubuntu-fifteen/reset.css 2016-12-15 07:46:28 +0000 | |||
647 | @@ -50,8 +50,10 @@ | |||
648 | 50 | border-spacing: 0; | 50 | border-spacing: 0; |
649 | 51 | } | 51 | } |
650 | 52 | 52 | ||
653 | 53 | /* Self-clearing float | 53 | /* |
654 | 54 | * (and other little tweaks) | 54 | * Self-clearing float |
655 | 55 | * Tony Aslett, 2004-05-08 | ||
656 | 56 | * http://csscreator.com/attributes/containedfloat.php | ||
657 | 55 | * | 57 | * |
658 | 56 | */ | 58 | */ |
659 | 57 | 59 | ||
660 | @@ -61,7 +63,22 @@ | |||
661 | 61 | height: 0; | 63 | height: 0; |
662 | 62 | clear: both; | 64 | clear: both; |
663 | 63 | visibility: hidden; | 65 | visibility: hidden; |
665 | 64 | } | 66 | font-size: 0; |
666 | 67 | } | ||
667 | 68 | |||
668 | 69 | /* | ||
669 | 70 | * Border box model everywhere | ||
670 | 71 | * Pasi Lallinaho, 2016-04-09 | ||
671 | 72 | * | ||
672 | 73 | */ | ||
673 | 74 | |||
674 | 75 | * { | ||
675 | 76 | box-sizing: border-box; | ||
676 | 77 | } | ||
677 | 78 | |||
678 | 79 | /* | ||
679 | 80 | * | ||
680 | 81 | */ | ||
681 | 65 | 82 | ||
682 | 66 | .hidden, | 83 | .hidden, |
683 | 67 | .screen-reader-text { display: none; } | 84 | .screen-reader-text { display: none; } |
684 | 68 | 85 | ||
685 | === modified file 'xubuntu-fifteen/screenshot.png' | |||
686 | 69 | Binary 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 | 86 | Binary 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 |
687 | === modified file 'xubuntu-fifteen/script-menu.js' | |||
688 | --- xubuntu-fifteen/script-menu.js 2016-07-30 22:48:09 +0000 | |||
689 | +++ xubuntu-fifteen/script-menu.js 2016-12-15 07:46:28 +0000 | |||
690 | @@ -17,10 +17,6 @@ | |||
691 | 17 | } else if( current.offset( ).left - shift < 0 ) { | 17 | } else if( current.offset( ).left - shift < 0 ) { |
692 | 18 | // The submenu would overflow in the left side | 18 | // The submenu would overflow in the left side |
693 | 19 | current_sub.css( 'left', '-2px' ); | 19 | current_sub.css( 'left', '-2px' ); |
694 | 20 | } else { | ||
695 | 21 | // The submenu will fit the screen when centered | ||
696 | 22 | // Commenting this line keeps menus left-aligned | ||
697 | 23 | //current_sub.css( 'left', -shift ); | ||
698 | 24 | } | 20 | } |
699 | 25 | } ); | 21 | } ); |
700 | 26 | 22 | ||
701 | @@ -68,17 +64,9 @@ | |||
702 | 68 | } ); | 64 | } ); |
703 | 69 | 65 | ||
704 | 70 | function xubuntu_sticky_header( ) { | 66 | function xubuntu_sticky_header( ) { |
717 | 71 | if( jQuery( window ).scrollTop( ) > ( jQuery( '#header' ).outerHeight( ) + jQuery( '#navi' ).outerHeight( ) ) ) { | 67 | if( jQuery( window ).scrollTop( ) > ( jQuery( '#logo' ).outerHeight( ) + jQuery( '#navi' ).outerHeight( ) ) ) { |
718 | 72 | jQuery( '#header_outer' ).addClass( 'scrolled' ); | 68 | jQuery( 'header' ).addClass( 'scrolled' ); |
719 | 73 | } else { | 69 | } else { |
720 | 74 | jQuery( '#header_outer' ).removeClass( 'scrolled' ); | 70 | jQuery( 'header' ).removeClass( 'scrolled' ); |
709 | 75 | } | ||
710 | 76 | } | ||
711 | 77 | |||
712 | 78 | function xubuntu_scrolled( ) { | ||
713 | 79 | if( jQuery( window ).width( ) < 600 ) { | ||
714 | 80 | jQuery( '#header_outer' ).addClass( 'scrolled' ); | ||
715 | 81 | } else { | ||
716 | 82 | jQuery( '#header_outer' ).removeClass( 'scrolled' ); | ||
721 | 83 | } | 71 | } |
722 | 84 | } | 72 | } |
723 | 85 | \ No newline at end of file | 73 | \ No newline at end of file |
724 | 86 | 74 | ||
725 | === modified file 'xubuntu-fifteen/style-common.css' | |||
726 | --- xubuntu-fifteen/style-common.css 2016-08-28 23:39:44 +0000 | |||
727 | +++ xubuntu-fifteen/style-common.css 2016-12-15 07:46:28 +0000 | |||
728 | @@ -1,4 +1,5 @@ | |||
730 | 1 | /* SELECTION | 1 | /* |
731 | 2 | * Selection style | ||
732 | 2 | * | 3 | * |
733 | 3 | */ | 4 | */ |
734 | 4 | 5 | ||
735 | @@ -7,7 +8,8 @@ | |||
736 | 7 | color: #fff; | 8 | color: #fff; |
737 | 8 | } | 9 | } |
738 | 9 | 10 | ||
740 | 10 | /* ELEMENTS | 11 | /* |
741 | 12 | * Elements | ||
742 | 11 | * | 13 | * |
743 | 12 | */ | 14 | */ |
744 | 13 | 15 | ||
745 | @@ -26,24 +28,23 @@ | |||
746 | 26 | a:active, | 28 | a:active, |
747 | 27 | a:focus { | 29 | a:focus { |
748 | 28 | color: #13385e; | 30 | color: #13385e; |
755 | 29 | border-bottom: 1px solid #3c3c3c; | 31 | } |
756 | 30 | } | 32 | main a:hover, |
757 | 31 | #header a { | 33 | main a:active, |
758 | 32 | border-bottom: none; | 34 | main a:focus { |
759 | 33 | } | 35 | border-bottom: 1px solid #3c3c3c; |
760 | 34 | #sidebar ul li a { | 36 | } |
761 | 37 | aside ul li a { | ||
762 | 35 | display: block; | 38 | display: block; |
763 | 36 | border: none; | ||
764 | 37 | } | 39 | } |
765 | 38 | 40 | ||
767 | 39 | #footer a { | 41 | footer a { |
768 | 40 | color: #333; | 42 | color: #333; |
769 | 41 | border-bottom: none; | ||
770 | 42 | transition: none; | 43 | transition: none; |
771 | 43 | } | 44 | } |
775 | 44 | #footer a:hover, | 45 | footer a:hover, |
776 | 45 | #footer a:active, | 46 | footer a:active, |
777 | 46 | #footer a:focus { | 47 | footer a:focus { |
778 | 47 | color: #2c82dd; | 48 | color: #2c82dd; |
779 | 48 | text-decoration: underline; | 49 | text-decoration: underline; |
780 | 49 | } | 50 | } |
781 | @@ -106,7 +107,7 @@ | |||
782 | 106 | .post-excerpt h2, | 107 | .post-excerpt h2, |
783 | 107 | .post-list h2, | 108 | .post-list h2, |
784 | 108 | .post-post h2, | 109 | .post-post h2, |
786 | 109 | #sidebar h2 { | 110 | aside h2 { |
787 | 110 | border-top: 1px dotted #ccc; | 111 | border-top: 1px dotted #ccc; |
788 | 111 | padding-top: 0.5em; | 112 | padding-top: 0.5em; |
789 | 112 | } | 113 | } |
790 | @@ -130,84 +131,107 @@ | |||
791 | 130 | border-bottom: 1px solid #dadada; | 131 | border-bottom: 1px solid #dadada; |
792 | 131 | } | 132 | } |
793 | 132 | 133 | ||
794 | 134 | main img { | ||
795 | 135 | max-width: 100%; | ||
796 | 136 | height: auto; | ||
797 | 137 | |||
798 | 138 | border-radius: 3px; | ||
799 | 139 | box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 ); | ||
800 | 140 | } | ||
801 | 141 | main img.plain { | ||
802 | 142 | border-radius: 0; | ||
803 | 143 | box-shadow: none; | ||
804 | 144 | } | ||
805 | 145 | |||
806 | 133 | li { list-style-position: inside; } | 146 | li { list-style-position: inside; } |
851 | 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; } |
852 | 135 | #main ul li { list-style-type: disc; } | 148 | main ul li { list-style-type: disc; } |
853 | 136 | #main ul.link-list li, | 149 | main ul.link-list li, |
854 | 137 | #main .post-list ul li, | 150 | main .post-list ul li, |
855 | 138 | #main .post-post ul li { | 151 | main .post-post ul li { |
856 | 139 | list-style-type: none; | 152 | list-style-type: none; |
857 | 140 | margin-left: 1em; | 153 | margin-left: 1em; |
858 | 141 | } | 154 | } |
859 | 142 | #main ul.link-list li:before, | 155 | main ul.link-list li:before, |
860 | 143 | #main .post-list ul li:before, | 156 | main .post-list ul li:before, |
861 | 144 | #main .post-post ul li:before { | 157 | main .post-post ul li:before { |
862 | 145 | display: block; | 158 | display: block; |
863 | 146 | float: left; | 159 | float: left; |
864 | 147 | 160 | ||
865 | 148 | width: 0.7em; | 161 | width: 0.7em; |
866 | 149 | margin-left: -0.7em; | 162 | margin-left: -0.7em; |
867 | 150 | margin-top: -0.12em; | 163 | margin-top: -0.12em; |
868 | 151 | content: "›"; | 164 | content: "›"; |
869 | 152 | font-weight: 300; | 165 | font-weight: 300; |
870 | 153 | font-size: 140%; | 166 | font-size: 140%; |
871 | 154 | color: #555; | 167 | color: #555; |
872 | 155 | } | 168 | } |
873 | 156 | #main ol li { list-style-type: decimal; margin-left: 1.6em; } | 169 | main ol li { list-style-type: decimal; margin-left: 1.6em; } |
874 | 157 | #archive-posts ul li { list-style-type: none; margin-left: 0; } | 170 | aside ul li { |
875 | 158 | #archive-posts ul li .post-time { display: inline-block; width: 25%; margin-right: 5px; } | 171 | list-style-type: none; |
876 | 159 | #sidebar ul li { | 172 | margin-left: 1em; |
877 | 160 | list-style-type: none; | 173 | } |
878 | 161 | margin-left: 1em; | 174 | aside ul li:before { |
879 | 162 | } | 175 | display: block; |
880 | 163 | #sidebar ul li:before { | 176 | float: left; |
881 | 164 | display: block; | 177 | |
882 | 165 | float: left; | 178 | width: 0.7em; |
883 | 166 | 179 | margin-left: -0.7em; | |
884 | 167 | width: 0.7em; | 180 | margin-top: -0.12em; |
885 | 168 | margin-left: -0.7em; | 181 | content: "›"; |
886 | 169 | margin-top: -0.12em; | 182 | font-weight: 300; |
887 | 170 | content: "›"; | 183 | font-size: 140%; |
888 | 171 | font-weight: 300; | 184 | color: #555; |
889 | 172 | font-size: 140%; | 185 | } |
846 | 173 | color: #555; | ||
847 | 174 | } | ||
848 | 175 | |||
849 | 176 | |||
850 | 177 | p { } | ||
890 | 178 | 186 | ||
891 | 179 | table { | 187 | table { |
892 | 180 | width: 100%; | 188 | width: 100%; |
893 | 181 | } | 189 | } |
923 | 182 | table td { | 190 | table td { |
924 | 183 | border: 1px solid #ccc; | 191 | border: 1px solid #ccc; |
925 | 184 | background-color: #f6f6f6; | 192 | background-color: #f6f6f6; |
926 | 185 | padding: 3px; | 193 | padding: 3px; |
927 | 186 | } | 194 | } |
928 | 187 | table th { | 195 | table th { |
929 | 188 | text-align: left; | 196 | text-align: left; |
930 | 189 | } | 197 | } |
931 | 190 | 198 | ||
932 | 191 | /* TEMPLATES | 199 | /* |
933 | 192 | * | 200 | * Templates |
934 | 193 | */ | 201 | * |
935 | 194 | 202 | */ | |
936 | 195 | /* Aligned images | 203 | |
937 | 196 | * Usage: TinyMCE | 204 | /* Aligned images (TinyMCE) */ |
938 | 197 | * | 205 | |
939 | 198 | */ | 206 | .alignright, |
940 | 199 | 207 | .alignleft { | |
941 | 200 | .alignright { float: right; margin: 0 0 0 20px; } | 208 | max-width: 310px; |
942 | 201 | .alignleft { float: left; margin: 0 20px 0 0; } | 209 | height: auto; |
943 | 202 | 210 | } | |
944 | 203 | .alignright a, .alignleft a, .aligncenter a { | 211 | .alignleft img, |
945 | 204 | border-bottom: none; | 212 | .alignright img { |
946 | 205 | } | 213 | max-width: 300px; |
947 | 206 | 214 | height: auto; | |
948 | 207 | img.alignright, img.alignleft, img.aligncenter, | 215 | } |
949 | 208 | .alignright img, .alignleft img, .aligncenter img { | 216 | |
950 | 209 | border-radius: 3px; | 217 | .alignright { |
951 | 210 | } | 218 | float: right; |
952 | 219 | margin: 0 0 0 2em; | ||
953 | 220 | } | ||
954 | 221 | |||
955 | 222 | .alignleft { | ||
956 | 223 | float: left; | ||
957 | 224 | margin: 0 2em 0 0; | ||
958 | 225 | } | ||
959 | 226 | |||
960 | 227 | .aligncenter { | ||
961 | 228 | display: block; | ||
962 | 229 | margin: 0 auto; | ||
963 | 230 | } | ||
964 | 231 | |||
965 | 232 | .alignright a, .alignleft a, .aligncenter a { | ||
966 | 233 | border-bottom: none !important; | ||
967 | 234 | } | ||
968 | 211 | 235 | ||
969 | 212 | .wp-caption-text { | 236 | .wp-caption-text { |
970 | 213 | text-align: center; | 237 | text-align: center; |
971 | @@ -215,15 +239,8 @@ | |||
972 | 215 | padding-bottom: 0.3em; | 239 | padding-bottom: 0.3em; |
973 | 216 | } | 240 | } |
974 | 217 | 241 | ||
979 | 218 | .aligncenter { | 242 | /* Gallery styling (WordPress) */ |
976 | 219 | display: block; | ||
977 | 220 | margin: 0 auto; | ||
978 | 221 | } | ||
980 | 222 | 243 | ||
981 | 223 | /* Gallery styling | ||
982 | 224 | * Usage: WordPress | ||
983 | 225 | * | ||
984 | 226 | */ | ||
985 | 227 | div.gallery { | 244 | div.gallery { |
986 | 228 | width: 100%; | 245 | width: 100%; |
987 | 229 | } | 246 | } |
988 | @@ -260,39 +277,60 @@ | |||
989 | 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%; } |
990 | 261 | div.gallery-columns-4 figure:nth-child(4n+5) { clear: left; } | 278 | div.gallery-columns-4 figure:nth-child(4n+5) { clear: left; } |
991 | 262 | 279 | ||
992 | 263 | div.gallery figure img { | ||
993 | 264 | max-width: 100%; | ||
994 | 265 | height: auto; | ||
995 | 266 | |||
996 | 267 | border-radius: 3px; | ||
997 | 268 | box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 ); | ||
998 | 269 | } | ||
999 | 270 | |||
1000 | 271 | div.gallery a { | 280 | div.gallery a { |
1001 | 272 | border-bottom: none; | 281 | border-bottom: none; |
1002 | 273 | } | 282 | } |
1003 | 274 | 283 | ||
1019 | 275 | /* Preface | 284 | /* Link buttons (TinyMCE, manual, content.php) */ |
1020 | 276 | * Usage: manual | 285 | |
1021 | 277 | * | 286 | a.button { |
1022 | 278 | */ | 287 | display: inline-block; |
1023 | 279 | p.preface { | 288 | |
1024 | 280 | margin: 2em 0; | 289 | margin: 0 0.5em 0.5em 0; |
1025 | 281 | padding: 1.5em 0; | 290 | padding: 0.5em 0.75em; |
1026 | 282 | 291 | ||
1027 | 283 | word-spacing: 0.2em; | 292 | background-color: #fff; |
1028 | 284 | line-height: 1.8em; | 293 | box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 ); |
1029 | 285 | 294 | ||
1030 | 286 | font-size: 90%; | 295 | border: none; |
1031 | 287 | font-weight: 600; | 296 | border-bottom: 2px solid #ccc; |
1017 | 288 | border-top: 1px solid #d2d2d2; | ||
1018 | 289 | border-bottom: 1px solid #d2d2d2; | ||
1032 | 290 | } | 297 | } |
1038 | 291 | 298 | a.button:hover, a.button:active, a.button:focus { | |
1039 | 292 | /* Section highlighting | 299 | box-shadow: 0 0 5px rgba( 0, 0, 0, 0.3 ); |
1040 | 293 | * Usage: TinyMCE | 300 | border-bottom: 2px solid #999; |
1041 | 294 | * | 301 | } |
1042 | 295 | */ | 302 | a.button:after { |
1043 | 303 | display: block; | ||
1044 | 304 | float: right; | ||
1045 | 305 | |||
1046 | 306 | content: "›"; | ||
1047 | 307 | font-weight: 300; | ||
1048 | 308 | font-size: 140%; | ||
1049 | 309 | margin: -0.1em 0 0 0.5em; | ||
1050 | 310 | color: #555; | ||
1051 | 311 | } | ||
1052 | 312 | a.button.primary { | ||
1053 | 313 | border-bottom: 2px solid #7cb8f7; | ||
1054 | 314 | } | ||
1055 | 315 | a.button.primary:hover, a.button.primary:active, a.button.primary:focus { | ||
1056 | 316 | border-bottom: 2px solid #2c82dd; | ||
1057 | 317 | } | ||
1058 | 318 | a.button.back:after { | ||
1059 | 319 | float: left; | ||
1060 | 320 | content: "‹"; | ||
1061 | 321 | margin: -0.1em 0.5em 0 0; | ||
1062 | 322 | } | ||
1063 | 323 | a.button.clean:after { | ||
1064 | 324 | margin: 0; | ||
1065 | 325 | content: ""; | ||
1066 | 326 | } | ||
1067 | 327 | .post-pagination a.button.forward { | ||
1068 | 328 | float: right; | ||
1069 | 329 | margin-right: 0; | ||
1070 | 330 | } | ||
1071 | 331 | |||
1072 | 332 | /* Section highlighting (TinyMCE) */ | ||
1073 | 333 | |||
1074 | 296 | .hb { | 334 | .hb { |
1075 | 297 | margin: 2em 0; | 335 | margin: 2em 0; |
1076 | 298 | padding: 10px 25px 10px 25px; | 336 | padding: 10px 25px 10px 25px; |
1077 | @@ -357,61 +395,10 @@ | |||
1078 | 357 | color: rgba( 200, 40, 5, 1 ); | 395 | color: rgba( 200, 40, 5, 1 ); |
1079 | 358 | } | 396 | } |
1080 | 359 | 397 | ||
1136 | 360 | /* Button styles | 398 | |
1137 | 361 | * Usage: TinyMCE, manual, content.php, widget | 399 | |
1138 | 362 | * | 400 | /* List in columns (TinyMCE) */ |
1139 | 363 | */ | 401 | |
1085 | 364 | |||
1086 | 365 | a.button { | ||
1087 | 366 | display: inline-block; | ||
1088 | 367 | |||
1089 | 368 | margin: 0 0.5em 0.5em 0; | ||
1090 | 369 | padding: 0.5em 0.75em; | ||
1091 | 370 | |||
1092 | 371 | background-color: #fff; | ||
1093 | 372 | box-shadow: 0 0 5px rgba( 0, 0, 0, 0.1 ); | ||
1094 | 373 | |||
1095 | 374 | border: none; | ||
1096 | 375 | border-bottom: 2px solid #ccc; | ||
1097 | 376 | } | ||
1098 | 377 | a.button:hover, a.button:active, a.button:focus { | ||
1099 | 378 | box-shadow: 0 0 5px rgba( 0, 0, 0, 0.3 ); | ||
1100 | 379 | border-bottom: 2px solid #999; | ||
1101 | 380 | } | ||
1102 | 381 | a.button:after { | ||
1103 | 382 | display: block; | ||
1104 | 383 | float: right; | ||
1105 | 384 | |||
1106 | 385 | content: "›"; | ||
1107 | 386 | font-weight: 300; | ||
1108 | 387 | font-size: 140%; | ||
1109 | 388 | margin: -0.1em 0 0 0.5em; | ||
1110 | 389 | color: #555; | ||
1111 | 390 | } | ||
1112 | 391 | a.button.primary { | ||
1113 | 392 | border-bottom: 2px solid #7cb8f7; | ||
1114 | 393 | } | ||
1115 | 394 | a.button.primary:hover, a.button.primary:active, a.button.primary:focus { | ||
1116 | 395 | border-bottom: 2px solid #2c82dd; | ||
1117 | 396 | } | ||
1118 | 397 | a.button.back:after { | ||
1119 | 398 | float: left; | ||
1120 | 399 | content: "‹"; | ||
1121 | 400 | margin: -0.1em 0.5em 0 0; | ||
1122 | 401 | } | ||
1123 | 402 | a.button.clean:after { | ||
1124 | 403 | margin: 0; | ||
1125 | 404 | content: ""; | ||
1126 | 405 | } | ||
1127 | 406 | .post-pagination a.button.forward { | ||
1128 | 407 | float: right; | ||
1129 | 408 | margin-right: 0; | ||
1130 | 409 | } | ||
1131 | 410 | |||
1132 | 411 | /* List in columns | ||
1133 | 412 | * Usage: TinyMCE | ||
1134 | 413 | * | ||
1135 | 414 | */ | ||
1140 | 415 | ul.columnlist { | 402 | ul.columnlist { |
1141 | 416 | -moz-column-gap: 1em; | 403 | -moz-column-gap: 1em; |
1142 | 417 | -webkit-column-gap: 1em; | 404 | -webkit-column-gap: 1em; |
1143 | @@ -422,108 +409,22 @@ | |||
1144 | 422 | column-count: 3; | 409 | column-count: 3; |
1145 | 423 | } | 410 | } |
1146 | 424 | 411 | ||
1149 | 425 | /* Classes for menus | 412 | /* |
1150 | 426 | * Usage: manual | 413 | * DEPRECATED |
1151 | 427 | * | 414 | * |
1152 | 428 | */ | 415 | */ |
1154 | 429 | .menu .strong { | 416 | |
1155 | 417 | /* Preface (manual) */ | ||
1156 | 418 | |||
1157 | 419 | p.preface { | ||
1158 | 420 | margin: 2em 0; | ||
1159 | 421 | padding: 1.5em 0; | ||
1160 | 422 | |||
1161 | 423 | word-spacing: 0.2em; | ||
1162 | 424 | line-height: 1.8em; | ||
1163 | 425 | |||
1164 | 426 | font-size: 90%; | ||
1165 | 430 | font-weight: 600; | 427 | font-weight: 600; |
1264 | 431 | } | 428 | border-top: 1px solid #d2d2d2; |
1265 | 432 | 429 | border-bottom: 1px solid #d2d2d2; | |
1168 | 433 | /* Boxed content | ||
1169 | 434 | * Usage: template_blank.php, TinyMCE, (template_gallery.php) | ||
1170 | 435 | * | ||
1171 | 436 | */ | ||
1172 | 437 | .boxed { | ||
1173 | 438 | margin-bottom: 1em; | ||
1174 | 439 | |||
1175 | 440 | background-color: #fff; | ||
1176 | 441 | border-radius: 3px; | ||
1177 | 442 | box-shadow: 0 0 5px rgba( 0, 0, 0, 0.05 ); | ||
1178 | 443 | } | ||
1179 | 444 | .boxed h2 { | ||
1180 | 445 | margin-top: 0; | ||
1181 | 446 | } | ||
1182 | 447 | h1.boxed { | ||
1183 | 448 | padding: 0.3em 35px; | ||
1184 | 449 | } | ||
1185 | 450 | div.boxed { | ||
1186 | 451 | padding: 35px; | ||
1187 | 452 | } | ||
1188 | 453 | div.boxed *:last-child { | ||
1189 | 454 | margin-bottom: 0; | ||
1190 | 455 | } | ||
1191 | 456 | |||
1192 | 457 | /* Featured image | ||
1193 | 458 | * Usage: content.php | ||
1194 | 459 | * | ||
1195 | 460 | */ | ||
1196 | 461 | .post-thumbnail { | ||
1197 | 462 | float: right; | ||
1198 | 463 | margin: -1em 0 2em 2em; | ||
1199 | 464 | |||
1200 | 465 | max-width: 400px; | ||
1201 | 466 | height: auto; | ||
1202 | 467 | } | ||
1203 | 468 | body.home .post-thumbnail { | ||
1204 | 469 | margin-top: 0; | ||
1205 | 470 | } | ||
1206 | 471 | /* Adjust the inline header on the front page to allow the floating image */ | ||
1207 | 472 | body.home .post-post h1 { | ||
1208 | 473 | display: inline; | ||
1209 | 474 | } | ||
1210 | 475 | body.home .post-post h1:after { | ||
1211 | 476 | display: block; | ||
1212 | 477 | content: ""; | ||
1213 | 478 | margin-bottom: 1em; | ||
1214 | 479 | } | ||
1215 | 480 | |||
1216 | 481 | /* Featured image alignment in a gallery | ||
1217 | 482 | * Usage: template_featured-gallery.php | ||
1218 | 483 | * | ||
1219 | 484 | */ | ||
1220 | 485 | .featured { | ||
1221 | 486 | margin-bottom: 2em; | ||
1222 | 487 | } | ||
1223 | 488 | |||
1224 | 489 | .featured .image { | ||
1225 | 490 | float: left; | ||
1226 | 491 | |||
1227 | 492 | width: 50%; | ||
1228 | 493 | } | ||
1229 | 494 | .featured .image img { | ||
1230 | 495 | max-width: 100%; | ||
1231 | 496 | float: right; | ||
1232 | 497 | height: auto; | ||
1233 | 498 | |||
1234 | 499 | border-radius: 3px; | ||
1235 | 500 | box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 ); | ||
1236 | 501 | } | ||
1237 | 502 | |||
1238 | 503 | .featured .description { | ||
1239 | 504 | float: right; | ||
1240 | 505 | width: 45%; | ||
1241 | 506 | } | ||
1242 | 507 | |||
1243 | 508 | .featured .description h2:first-child { | ||
1244 | 509 | margin-top: 0; | ||
1245 | 510 | } | ||
1246 | 511 | |||
1247 | 512 | /* Release list styling | ||
1248 | 513 | * Usage: content-*.php | ||
1249 | 514 | * | ||
1250 | 515 | */ | ||
1251 | 516 | |||
1252 | 517 | .releases .nobullet::before { | ||
1253 | 518 | content: " " !important; | ||
1254 | 519 | } | ||
1255 | 520 | .releases .show-eol { | ||
1256 | 521 | color: rgba( 0, 0, 0, 0.5 ); | ||
1257 | 522 | margin-left: -1em; | ||
1258 | 523 | } | ||
1259 | 524 | .releases .eol a::before { | ||
1260 | 525 | content: "EOL"; | ||
1261 | 526 | font-size: 90%; | ||
1262 | 527 | margin-right: 0.5em; | ||
1263 | 528 | color: rgba( 0, 0, 0, 0.5 ); | ||
1266 | 529 | } | 430 | } |
1267 | 530 | \ No newline at end of file | 431 | \ No newline at end of file |
1268 | 531 | 432 | ||
1269 | === modified file 'xubuntu-fifteen/style-editor.css' | |||
1270 | --- xubuntu-fifteen/style-editor.css 2015-12-30 13:33:04 +0000 | |||
1271 | +++ xubuntu-fifteen/style-editor.css 2016-12-15 07:46:28 +0000 | |||
1272 | @@ -1,20 +1,12 @@ | |||
1273 | 1 | body { | 1 | body { |
1274 | 2 | font-size: small; | 2 | font-size: small; |
1276 | 3 | font-family: "Open Sans", sans-serif !important; | 3 | font-family: 'Open Sans', sans-serif !important; |
1277 | 4 | line-height: 1.5em; | 4 | line-height: 1.5em; |
1278 | 5 | 5 | ||
1279 | 6 | background-color: #fafafa; | 6 | background-color: #fafafa; |
1280 | 7 | color: #3c3c3c; | 7 | color: #3c3c3c; |
1281 | 8 | } | 8 | } |
1282 | 9 | 9 | ||
1283 | 10 | .group:after { | ||
1284 | 11 | content: "."; | ||
1285 | 12 | display: block; | ||
1286 | 13 | height: 0; | ||
1287 | 14 | clear: both; | ||
1288 | 15 | visibility: hidden; | ||
1289 | 16 | } | ||
1290 | 17 | |||
1291 | 18 | /* Elements | 10 | /* Elements |
1292 | 19 | * | 11 | * |
1293 | 20 | */ | 12 | */ |
1294 | @@ -92,11 +84,6 @@ | |||
1295 | 92 | overflow: visible !important; | 84 | overflow: visible !important; |
1296 | 93 | } | 85 | } |
1297 | 94 | 86 | ||
1298 | 95 | div.boxed { | ||
1299 | 96 | /* Use less padding for editor */ | ||
1300 | 97 | padding: 15px !important; | ||
1301 | 98 | } | ||
1302 | 99 | |||
1303 | 100 | 87 | ||
1304 | 101 | /* Responsive styles | 88 | /* Responsive styles |
1305 | 102 | * | 89 | * |
1306 | 103 | 90 | ||
1307 | === modified file 'xubuntu-fifteen/style-resp-1000.css' | |||
1308 | --- xubuntu-fifteen/style-resp-1000.css 2016-01-03 22:40:57 +0000 | |||
1309 | +++ xubuntu-fifteen/style-resp-1000.css 2016-12-15 07:46:28 +0000 | |||
1310 | @@ -1,23 +1,9 @@ | |||
1331 | 1 | /* For screen sizes less than 1000px wide */ | 1 | /* |
1332 | 2 | 2 | * Navigation | |
1333 | 3 | #content, #header, #header_art, #footer, | 3 | * |
1334 | 4 | #navi, #content_gallery, | 4 | */ |
1335 | 5 | body.home #main, .widgets_inner { | 5 | |
1336 | 6 | min-width: 0; | 6 | /* Navigation, horizontal */ |
1317 | 7 | } | ||
1318 | 8 | |||
1319 | 9 | /* Templates */ | ||
1320 | 10 | #archive-posts span.post-time, | ||
1321 | 11 | #archive-posts a { | ||
1322 | 12 | display: block; | ||
1323 | 13 | width: 100% !important; | ||
1324 | 14 | } | ||
1325 | 15 | |||
1326 | 16 | #archive-posts span.post-time { | ||
1327 | 17 | color: #777; | ||
1328 | 18 | } | ||
1329 | 19 | |||
1330 | 20 | /* Horizontal navigation */ | ||
1337 | 21 | .navigation.nh .menu { | 7 | .navigation.nh .menu { |
1338 | 22 | overflow: hidden; | 8 | overflow: hidden; |
1339 | 23 | flex-wrap: wrap; | 9 | flex-wrap: wrap; |
1340 | @@ -42,4 +28,21 @@ | |||
1341 | 42 | } | 28 | } |
1342 | 43 | .navigation.nh .menu > li:last-child:nth-child(3n+2) { | 29 | .navigation.nh .menu > li:last-child:nth-child(3n+2) { |
1343 | 44 | margin-right: 33.3%; | 30 | margin-right: 33.3%; |
1344 | 45 | } | ||
1345 | 46 | \ No newline at end of file | 31 | \ No newline at end of file |
1346 | 32 | } | ||
1347 | 33 | |||
1348 | 34 | /* | ||
1349 | 35 | * Templates | ||
1350 | 36 | * | ||
1351 | 37 | */ | ||
1352 | 38 | |||
1353 | 39 | /* Post lists */ | ||
1354 | 40 | |||
1355 | 41 | .posts-list span.post-time, | ||
1356 | 42 | .posts-list a { | ||
1357 | 43 | display: block; | ||
1358 | 44 | width: 100% !important; | ||
1359 | 45 | } | ||
1360 | 46 | |||
1361 | 47 | .posts-list span.post-time { | ||
1362 | 48 | color: #777; | ||
1363 | 49 | } | ||
1364 | 47 | \ No newline at end of file | 50 | \ No newline at end of file |
1365 | 48 | 51 | ||
1366 | === modified file 'xubuntu-fifteen/style-resp-1200.css' | |||
1367 | --- xubuntu-fifteen/style-resp-1200.css 2016-01-03 22:40:57 +0000 | |||
1368 | +++ xubuntu-fifteen/style-resp-1200.css 2016-12-15 07:46:28 +0000 | |||
1369 | @@ -1,25 +1,11 @@ | |||
1373 | 1 | #content, #header, #header_art, #footer, | 1 | /* |
1374 | 2 | #navi, #content_gallery, | 2 | * Content width |
1375 | 3 | body.home #main, .widgets_inner { | 3 | * |
1376 | 4 | */ | ||
1377 | 5 | |||
1378 | 6 | header #logo, header nav, header::after, | ||
1379 | 7 | #content, | ||
1380 | 8 | body.home main, .widgets_front .widgets, | ||
1381 | 9 | footer { | ||
1382 | 4 | width: 95%; | 10 | width: 95%; |
1383 | 5 | } | 11 | } |
1384 | 6 | |||
1385 | 7 | /* Front page */ | ||
1386 | 8 | body.home .alignright, | ||
1387 | 9 | body.home .alignleft { | ||
1388 | 10 | max-width: 100%; | ||
1389 | 11 | height: auto; | ||
1390 | 12 | } | ||
1391 | 13 | |||
1392 | 14 | /* Templates */ | ||
1393 | 15 | .alignright, | ||
1394 | 16 | .alignleft { | ||
1395 | 17 | max-width: 310px; | ||
1396 | 18 | height: auto; | ||
1397 | 19 | } | ||
1398 | 20 | |||
1399 | 21 | .alignright img, | ||
1400 | 22 | .alignleft img { | ||
1401 | 23 | max-width: 300px; | ||
1402 | 24 | height: auto; | ||
1403 | 25 | } | ||
1404 | 26 | \ No newline at end of file | 12 | \ No newline at end of file |
1405 | 27 | 13 | ||
1406 | === removed file 'xubuntu-fifteen/style-resp-450.css' | |||
1407 | --- xubuntu-fifteen/style-resp-450.css 2016-07-30 22:59:42 +0000 | |||
1408 | +++ xubuntu-fifteen/style-resp-450.css 1970-01-01 00:00:00 +0000 | |||
1409 | @@ -1,161 +0,0 @@ | |||
1410 | 1 | body { | ||
1411 | 2 | min-width: 300px; | ||
1412 | 3 | } | ||
1413 | 4 | |||
1414 | 5 | #header { } | ||
1415 | 6 | #logo { | ||
1416 | 7 | max-width: 90%; | ||
1417 | 8 | padding: 0; | ||
1418 | 9 | margin: 0 0 0.5em -8px; | ||
1419 | 10 | } | ||
1420 | 11 | |||
1421 | 12 | #logo img { | ||
1422 | 13 | max-width: 80%; | ||
1423 | 14 | height: auto; | ||
1424 | 15 | padding: 0.7em; | ||
1425 | 16 | margin-left: 2.5%; | ||
1426 | 17 | } | ||
1427 | 18 | |||
1428 | 19 | #header #navi { | ||
1429 | 20 | display: none; | ||
1430 | 21 | } | ||
1431 | 22 | |||
1432 | 23 | #content { } | ||
1433 | 24 | #main { | ||
1434 | 25 | padding: 1em 2.5% 0 2.5% !important; | ||
1435 | 26 | font-size: 90%; | ||
1436 | 27 | } | ||
1437 | 28 | #sidebar { | ||
1438 | 29 | |||
1439 | 30 | } | ||
1440 | 31 | |||
1441 | 32 | #footer { } | ||
1442 | 33 | #footer_navi .menu > li { | ||
1443 | 34 | float: left; | ||
1444 | 35 | clear: none; | ||
1445 | 36 | width: 100% !important; | ||
1446 | 37 | |||
1447 | 38 | margin: 0 !important; | ||
1448 | 39 | border: none !important; | ||
1449 | 40 | } | ||
1450 | 41 | #footer_navi li { | ||
1451 | 42 | padding-right: 0; | ||
1452 | 43 | } | ||
1453 | 44 | |||
1454 | 45 | |||
1455 | 46 | /* Front page | ||
1456 | 47 | * | ||
1457 | 48 | */ | ||
1458 | 49 | |||
1459 | 50 | body.home #main { | ||
1460 | 51 | width: auto; | ||
1461 | 52 | margin: 0; | ||
1462 | 53 | } | ||
1463 | 54 | body.home h1 { | ||
1464 | 55 | font-size: 140%; | ||
1465 | 56 | } | ||
1466 | 57 | |||
1467 | 58 | body.home p { | ||
1468 | 59 | font-size: 95%; | ||
1469 | 60 | } | ||
1470 | 61 | |||
1471 | 62 | /* Elements | ||
1472 | 63 | * | ||
1473 | 64 | */ | ||
1474 | 65 | |||
1475 | 66 | #main a { | ||
1476 | 67 | display: inline-block; | ||
1477 | 68 | overflow: hidden; | ||
1478 | 69 | |||
1479 | 70 | max-width: 95%; | ||
1480 | 71 | margin-bottom: -0.6em; | ||
1481 | 72 | } | ||
1482 | 73 | #main a.button { | ||
1483 | 74 | margin-bottom: 0.5em; | ||
1484 | 75 | } | ||
1485 | 76 | |||
1486 | 77 | figure { | ||
1487 | 78 | width: 100% !important; | ||
1488 | 79 | text-align: center; | ||
1489 | 80 | } | ||
1490 | 81 | #main figure a { | ||
1491 | 82 | max-width: 100% !important; | ||
1492 | 83 | } | ||
1493 | 84 | |||
1494 | 85 | /* Templates | ||
1495 | 86 | * | ||
1496 | 87 | */ | ||
1497 | 88 | .navigation.nd .menu > li > a { | ||
1498 | 89 | padding-left: 2.5%; | ||
1499 | 90 | padding-right: 2.5%; | ||
1500 | 91 | } | ||
1501 | 92 | .navigation.nd .menu li .sub-menu li { | ||
1502 | 93 | float: left; | ||
1503 | 94 | display: block; | ||
1504 | 95 | width: 100%; | ||
1505 | 96 | margin: 0 !important; | ||
1506 | 97 | border-bottom: 1px solid #f1f1f1; | ||
1507 | 98 | overflow: hidden; | ||
1508 | 99 | } | ||
1509 | 100 | .navigation.nd .menu li .sub-menu li a { | ||
1510 | 101 | display: block; | ||
1511 | 102 | padding: 0.25em 2.5%; | ||
1512 | 103 | border-right: none; | ||
1513 | 104 | } | ||
1514 | 105 | |||
1515 | 106 | #opennavi, | ||
1516 | 107 | #navi li.menu-item-has-children .expand { | ||
1517 | 108 | right: 2.5%; | ||
1518 | 109 | } | ||
1519 | 110 | #opennavi { | ||
1520 | 111 | margin-right: -3px; | ||
1521 | 112 | } | ||
1522 | 113 | |||
1523 | 114 | #footer_navi .menu > li { | ||
1524 | 115 | padding: 0 0 1em 0 !important; | ||
1525 | 116 | margin-bottom: 1em !important; | ||
1526 | 117 | |||
1527 | 118 | border-bottom: 1px solid rgba( 0, 0, 0, 0.10 ) !important; | ||
1528 | 119 | } | ||
1529 | 120 | #footer_navi .menu > li:last-child { | ||
1530 | 121 | padding-bottom: 0 !important; | ||
1531 | 122 | border-bottom: none !important; | ||
1532 | 123 | } | ||
1533 | 124 | |||
1534 | 125 | |||
1535 | 126 | .boxed { | ||
1536 | 127 | padding: 1.5em 2.5% !important; | ||
1537 | 128 | } | ||
1538 | 129 | h1.boxed { | ||
1539 | 130 | padding: 0.3em 2.5% !important; | ||
1540 | 131 | } | ||
1541 | 132 | |||
1542 | 133 | .hb { | ||
1543 | 134 | border-left: none; | ||
1544 | 135 | border-top-width: 0.4em; | ||
1545 | 136 | border-top-style: solid; | ||
1546 | 137 | |||
1547 | 138 | padding: 5px 15px; | ||
1548 | 139 | } | ||
1549 | 140 | .hb > :first-child { margin-top: 5px; } | ||
1550 | 141 | |||
1551 | 142 | ul.columnlist { | ||
1552 | 143 | -moz-column-gap: 0; | ||
1553 | 144 | -webkit-column-gap: 0; | ||
1554 | 145 | column-gap: 0; | ||
1555 | 146 | |||
1556 | 147 | -moz-column-count: 1; | ||
1557 | 148 | -webkit-column-count: 1; | ||
1558 | 149 | column-count: 1; | ||
1559 | 150 | } | ||
1560 | 151 | |||
1561 | 152 | .post-meta { | ||
1562 | 153 | margin-top: 1em; | ||
1563 | 154 | } | ||
1564 | 155 | .post-meta a { | ||
1565 | 156 | display: inline !important; | ||
1566 | 157 | } | ||
1567 | 158 | |||
1568 | 159 | #archive-posts .post-time { | ||
1569 | 160 | font-size: 85%; | ||
1570 | 161 | } | ||
1571 | 162 | 0 | ||
1572 | === modified file 'xubuntu-fifteen/style-resp-600.css' | |||
1573 | --- xubuntu-fifteen/style-resp-600.css 2016-07-30 22:59:42 +0000 | |||
1574 | +++ xubuntu-fifteen/style-resp-600.css 2016-12-15 07:46:28 +0000 | |||
1575 | @@ -1,210 +1,182 @@ | |||
1576 | 1 | /* For screen sizes less than 600px wide */ | ||
1577 | 2 | |||
1578 | 3 | html { | 1 | html { |
1579 | 4 | background-image: none; | 2 | background-image: none; |
1580 | 5 | } | 3 | } |
1581 | 6 | 4 | ||
1582 | 7 | body { | 5 | body { |
1583 | 8 | padding-bottom: 0.3em; | 6 | padding-bottom: 0.3em; |
1584 | 7 | min-width: 480px; | ||
1585 | 9 | } | 8 | } |
1586 | 10 | 9 | ||
1588 | 11 | #content, #header, #header_art, #footer { | 10 | /* |
1589 | 11 | * Content width | ||
1590 | 12 | * | ||
1591 | 13 | */ | ||
1592 | 14 | |||
1593 | 15 | header #logo, header nav, | ||
1594 | 16 | #content, | ||
1595 | 17 | footer { | ||
1596 | 12 | width: 100%; | 18 | width: 100%; |
1597 | 13 | border-radius: 0; | 19 | border-radius: 0; |
1598 | 14 | } | 20 | } |
1606 | 15 | #header_outer { | 21 | |
1607 | 16 | z-index: 5000; | 22 | /* |
1608 | 17 | } | 23 | * Header |
1609 | 18 | #header { | 24 | * |
1610 | 19 | padding: 0; | 25 | */ |
1611 | 20 | } | 26 | |
1612 | 21 | #header_art { | 27 | header { |
1613 | 28 | z-index: 5000; | ||
1614 | 29 | |||
1615 | 30 | background-image: none !important; | ||
1616 | 31 | border-top: none; | ||
1617 | 32 | } | ||
1618 | 33 | header::after { | ||
1619 | 34 | display: none; | ||
1620 | 35 | } | ||
1621 | 36 | /* Fixed positioning on scroll */ | ||
1622 | 37 | header.scrolled { | ||
1623 | 38 | position: fixed; | ||
1624 | 39 | top: 0; | ||
1625 | 40 | left: 0; | ||
1626 | 41 | width: 100%; | ||
1627 | 42 | } | ||
1628 | 43 | header.scrolled #navi { | ||
1629 | 44 | width: 100%; | ||
1630 | 45 | position: fixed; | ||
1631 | 46 | left: 0; | ||
1632 | 47 | z-index: 50000; | ||
1633 | 48 | } | ||
1634 | 49 | |||
1635 | 50 | #logo { | ||
1636 | 51 | margin: 0; | ||
1637 | 52 | padding: 0.5em 3.5%; | ||
1638 | 53 | } | ||
1639 | 54 | #logo a img { | ||
1640 | 22 | display: none; | 55 | display: none; |
1641 | 23 | } | 56 | } |
1642 | 57 | /* Show a compact version of the Xubuntu logo */ | ||
1643 | 58 | #logo a:after { | ||
1644 | 59 | font-size: 120%; | ||
1645 | 60 | font-weight: 600; | ||
1646 | 61 | |||
1647 | 62 | padding-right: 30px; | ||
1648 | 63 | |||
1649 | 64 | background: transparent url(images/xubuntu-icon-20.png) 100% 50% no-repeat; | ||
1650 | 65 | content: "Xubuntu"; | ||
1651 | 66 | |||
1652 | 67 | color: #fff; | ||
1653 | 68 | } | ||
1654 | 69 | |||
1655 | 24 | #navi { | 70 | #navi { |
1658 | 25 | width: 100%; | 71 | font-size: 90%; |
1659 | 26 | font-size: 100%; | 72 | |
1660 | 73 | background-color: #0e82d0; | ||
1661 | 27 | } | 74 | } |
1672 | 28 | #navi .navigation .sub-menu .current_page_item a { | 75 | nav#navi_quick { |
1673 | 29 | background-color: inherit; | 76 | display: block !important; |
1674 | 30 | border-radius: 0; | 77 | |
1675 | 31 | box-shadow: none; | 78 | padding: 0.5em 40px 0.5em 3.5%; |
1676 | 32 | } | 79 | background-color: rgba( 0, 0, 0, 0.2 ); |
1677 | 33 | a#opennavi { | 80 | border-top: 1px solid rgba( 255, 255, 255, 0.2 ); |
1678 | 34 | z-index: 6000; | 81 | } |
1679 | 35 | } | 82 | nav#navi_quick li { |
1680 | 36 | 83 | font-size: 90%; | |
1681 | 37 | #content_outer { | 84 | display: inline; |
1682 | 85 | } | ||
1683 | 86 | nav#navi_quick a { | ||
1684 | 87 | display: inline; | ||
1685 | 88 | margin-right: 1em; | ||
1686 | 89 | |||
1687 | 90 | color: #fff; | ||
1688 | 91 | font-weight: 600; | ||
1689 | 92 | white-space: nowrap; | ||
1690 | 93 | } | ||
1691 | 94 | |||
1692 | 95 | #navi.open .navigation.nd .menu li.current-menu-ancestor-hidden .sub-menu { display: none; } | ||
1693 | 96 | #navi.open .navigation.nd .menu li { display: block; } | ||
1694 | 97 | |||
1695 | 98 | #navi .navigation.nd > ul > li { | ||
1696 | 99 | background-color: rgba( 255, 255, 255, 0.25 ); | ||
1697 | 100 | } | ||
1698 | 101 | #navi li.menu-item-has-children .expand { | ||
1699 | 102 | display: none; | ||
1700 | 103 | |||
1701 | 104 | position: relative; | ||
1702 | 105 | right: 3.5%; | ||
1703 | 106 | top: 0; | ||
1704 | 107 | |||
1705 | 108 | float: right; | ||
1706 | 109 | z-index: 2000; | ||
1707 | 110 | |||
1708 | 111 | height: 32px; | ||
1709 | 112 | width: 32px; | ||
1710 | 113 | padding: 0; | ||
1711 | 114 | margin-right: -4px; | ||
1712 | 115 | |||
1713 | 116 | background: transparent url(images/menu_arrow.png) 50% 50% no-repeat; | ||
1714 | 117 | } | ||
1715 | 118 | #navi.open li.menu-item-has-children .expand { | ||
1716 | 119 | display: block; | ||
1717 | 120 | transition: 200ms transform; | ||
1718 | 121 | } | ||
1719 | 122 | #navi .open-sub .sub-menu { | ||
1720 | 123 | display: block !important; | ||
1721 | 124 | margin: 0; | ||
1722 | 125 | padding: 0; | ||
1723 | 126 | } | ||
1724 | 127 | #navi .open-sub li.menu-item-has-children .expand { | ||
1725 | 128 | transform: rotate( -90deg ); | ||
1726 | 129 | background-size: 65% 65%; | ||
1727 | 130 | } | ||
1728 | 131 | |||
1729 | 132 | |||
1730 | 133 | /* Button to open hidden dropdown navigation */ | ||
1731 | 134 | #opennavi { | ||
1732 | 135 | position: absolute; | ||
1733 | 136 | z-index: 2000; | ||
1734 | 137 | |||
1735 | 138 | display: block; | ||
1736 | 139 | float: right; | ||
1737 | 140 | |||
1738 | 141 | top: 0.15em; | ||
1739 | 142 | right: 2.5%; | ||
1740 | 143 | |||
1741 | 144 | width: 2.8em; | ||
1742 | 145 | height: 2.8em; | ||
1743 | 146 | |||
1744 | 147 | overflow: hidden; | ||
1745 | 148 | |||
1746 | 149 | background: transparent url(images/menu.png) 50% 50% no-repeat; | ||
1747 | 150 | } | ||
1748 | 151 | |||
1749 | 152 | /* | ||
1750 | 153 | * Main content area | ||
1751 | 154 | * | ||
1752 | 155 | */ | ||
1753 | 156 | |||
1754 | 157 | section#middle { | ||
1755 | 38 | padding: 0; | 158 | padding: 0; |
1756 | 39 | } | 159 | } |
1925 | 40 | body.attachment #content.air { | 160 | body.home #content, |
1926 | 41 | padding-top: 1em; | 161 | #content { |
1927 | 42 | } | 162 | padding: 1em 3.5%; |
1928 | 43 | #content.air { | 163 | } |
1929 | 44 | padding-bottom: 0; | 164 | |
1930 | 45 | } | 165 | /* |
1931 | 46 | #content.air div.gallery { | 166 | * Footer |
1932 | 47 | width: 95%; | 167 | * |
1933 | 48 | margin: 0 auto; | 168 | */ |
1934 | 49 | } | 169 | |
1935 | 50 | #content.air .boxed { | 170 | footer { |
1936 | 51 | border-radius: 0; | 171 | padding: 0 3.5%; |
1937 | 52 | } | 172 | } |
1938 | 53 | #content.air h1.boxed { | 173 | |
1939 | 54 | margin-bottom: 0.5em; | 174 | /* |
1940 | 55 | box-shadow: inset 0 10px 5px -5px rgba( 0, 0, 0, 0.1 ); | 175 | * Navigation |
1941 | 56 | } | 176 | * |
1942 | 57 | #content.air .gallery + .boxed { | 177 | */ |
1943 | 58 | margin-top: 1.5em; | 178 | |
1944 | 59 | } | 179 | /* Navigation, dropdown */ |
1777 | 60 | #main, | ||
1778 | 61 | #sidebar { | ||
1779 | 62 | padding: 1em 2.5% !important; | ||
1780 | 63 | } | ||
1781 | 64 | |||
1782 | 65 | #main .post-post { | ||
1783 | 66 | max-width: 100%; | ||
1784 | 67 | } | ||
1785 | 68 | |||
1786 | 69 | #main figure, | ||
1787 | 70 | #main figure img, | ||
1788 | 71 | #main img { | ||
1789 | 72 | max-width: 100%; | ||
1790 | 73 | height: auto; | ||
1791 | 74 | |||
1792 | 75 | padding: 0; | ||
1793 | 76 | margin: 0; | ||
1794 | 77 | } | ||
1795 | 78 | #main figure figcaption { | ||
1796 | 79 | margin-right: 0; | ||
1797 | 80 | } | ||
1798 | 81 | |||
1799 | 82 | #footer { | ||
1800 | 83 | padding: 0 2.5%; | ||
1801 | 84 | } | ||
1802 | 85 | |||
1803 | 86 | /* Clear all floats and center-align | ||
1804 | 87 | * | ||
1805 | 88 | */ | ||
1806 | 89 | #main figure[style*="float"], | ||
1807 | 90 | .alignleft, | ||
1808 | 91 | .alignright, | ||
1809 | 92 | .aligncenter { | ||
1810 | 93 | display: block; | ||
1811 | 94 | float: none !important; | ||
1812 | 95 | text-align: center; | ||
1813 | 96 | margin: 0 auto !important; | ||
1814 | 97 | } | ||
1815 | 98 | |||
1816 | 99 | /* Home page */ | ||
1817 | 100 | body.home #main { | ||
1818 | 101 | width: 95%; | ||
1819 | 102 | } | ||
1820 | 103 | |||
1821 | 104 | /* Widget areas */ | ||
1822 | 105 | .widgets_outer .widgets { | ||
1823 | 106 | width: 95%; | ||
1824 | 107 | } | ||
1825 | 108 | |||
1826 | 109 | /* Attachments */ | ||
1827 | 110 | #attachment { | ||
1828 | 111 | width: 95%; | ||
1829 | 112 | margin: 0.5em auto; | ||
1830 | 113 | } | ||
1831 | 114 | #attachment_navi { | ||
1832 | 115 | font-size: 90%; | ||
1833 | 116 | margin-bottom: 0; | ||
1834 | 117 | } | ||
1835 | 118 | body.attachment .boxed { | ||
1836 | 119 | padding: 1em 0; | ||
1837 | 120 | margin: 1em 0 -1em 0; | ||
1838 | 121 | } | ||
1839 | 122 | body.attachment .boxed { | ||
1840 | 123 | margin-bottom: 1em; | ||
1841 | 124 | } | ||
1842 | 125 | |||
1843 | 126 | /* Elements and templates */ | ||
1844 | 127 | blockquote { | ||
1845 | 128 | max-width: 90%; | ||
1846 | 129 | } | ||
1847 | 130 | |||
1848 | 131 | figure { | ||
1849 | 132 | width: 100% !important; | ||
1850 | 133 | text-align: center; | ||
1851 | 134 | } | ||
1852 | 135 | #content figure a { | ||
1853 | 136 | max-width: 100% !important; | ||
1854 | 137 | } | ||
1855 | 138 | |||
1856 | 139 | .gallery figure { | ||
1857 | 140 | width: 100%; !important; | ||
1858 | 141 | padding: 0; | ||
1859 | 142 | margin: 0; | ||
1860 | 143 | } | ||
1861 | 144 | |||
1862 | 145 | #content.air .gallery-item { | ||
1863 | 146 | margin: 0 0 0.5em 0; | ||
1864 | 147 | } | ||
1865 | 148 | |||
1866 | 149 | ul.columnlist { | ||
1867 | 150 | -moz-column-gap: 1em; | ||
1868 | 151 | -webkit-column-gap: 1em; | ||
1869 | 152 | column-gap: 1em; | ||
1870 | 153 | |||
1871 | 154 | -moz-column-count: 2; | ||
1872 | 155 | -webkit-column-count: 2; | ||
1873 | 156 | column-count: 2; | ||
1874 | 157 | } | ||
1875 | 158 | |||
1876 | 159 | #main figure, | ||
1877 | 160 | #main figure img, | ||
1878 | 161 | #main img { | ||
1879 | 162 | margin-top: 0.5em; | ||
1880 | 163 | margin-bottom: 0.5em; | ||
1881 | 164 | } | ||
1882 | 165 | |||
1883 | 166 | .boxed { | ||
1884 | 167 | padding: 1.5em 2.5% !important; | ||
1885 | 168 | } | ||
1886 | 169 | h1.boxed { | ||
1887 | 170 | padding: 0.3em 2.5% !important; | ||
1888 | 171 | } | ||
1889 | 172 | |||
1890 | 173 | .hb { | ||
1891 | 174 | padding: 5px 20px; | ||
1892 | 175 | } | ||
1893 | 176 | |||
1894 | 177 | /* Featured images */ | ||
1895 | 178 | .post-thumbnail { | ||
1896 | 179 | display: block !important; | ||
1897 | 180 | max-width: 100%; | ||
1898 | 181 | width: 100%; | ||
1899 | 182 | margin: 0 0 1em 0; | ||
1900 | 183 | text-align: center; | ||
1901 | 184 | } | ||
1902 | 185 | .post-thumbnail img { | ||
1903 | 186 | max-height: 120px; | ||
1904 | 187 | width: auto; | ||
1905 | 188 | } | ||
1906 | 189 | |||
1907 | 190 | .featured { | ||
1908 | 191 | width: 95%; | ||
1909 | 192 | margin: 0 auto; | ||
1910 | 193 | } | ||
1911 | 194 | |||
1912 | 195 | |||
1913 | 196 | /* WordPress admin bar */ | ||
1914 | 197 | #wpadminbar, #wp-toolbar { | ||
1915 | 198 | display: none; | ||
1916 | 199 | } | ||
1917 | 200 | |||
1918 | 201 | body.admin-bar { | ||
1919 | 202 | margin-top: -46px !important; | ||
1920 | 203 | } | ||
1921 | 204 | |||
1922 | 205 | /* NAVIGATION | ||
1923 | 206 | * | ||
1924 | 207 | */ | ||
1945 | 208 | 180 | ||
1946 | 209 | .navigation.nd { | 181 | .navigation.nd { |
1947 | 210 | border-left: none; | 182 | border-left: none; |
1948 | @@ -214,14 +186,18 @@ | |||
1949 | 214 | border-top: 1px solid rgba( 0, 0, 0, 0.2 ); | 186 | border-top: 1px solid rgba( 0, 0, 0, 0.2 ); |
1950 | 215 | } | 187 | } |
1951 | 216 | .navigation.nd .menu li { | 188 | .navigation.nd .menu li { |
1952 | 189 | display: none; | ||
1953 | 190 | |||
1954 | 217 | float: none; | 191 | float: none; |
1955 | 218 | width: 100%; | 192 | width: 100%; |
1956 | 219 | height: auto; | 193 | height: auto; |
1957 | 220 | 194 | ||
1958 | 221 | position: static; | 195 | position: static; |
1959 | 222 | } | 196 | } |
1960 | 197 | .navigation.nd .menu li.open { display: block; } | ||
1961 | 198 | |||
1962 | 223 | .navigation.nd .menu li a { | 199 | .navigation.nd .menu li a { |
1964 | 224 | padding: 0.5em 2.5%; | 200 | padding: 0.5em 3.5%; |
1965 | 225 | } | 201 | } |
1966 | 226 | .navigation.nd .menu > li { | 202 | .navigation.nd .menu > li { |
1967 | 227 | border: none; | 203 | border: none; |
1968 | @@ -272,13 +248,11 @@ | |||
1969 | 272 | } | 248 | } |
1970 | 273 | .navigation.nd .menu li .sub-menu li a { | 249 | .navigation.nd .menu li .sub-menu li a { |
1971 | 274 | display: block; | 250 | display: block; |
1973 | 275 | padding: 0.25em 5%; | 251 | padding: 0.25em 7%; |
1974 | 276 | } | 252 | } |
1975 | 277 | 253 | ||
1978 | 278 | .navigation.nd .menu li { display: none; } | 254 | /* Navigation, horizontal */ |
1977 | 279 | .navigation.nd .menu li.open { display: block; } | ||
1979 | 280 | 255 | ||
1980 | 281 | /* Horizontal navigation */ | ||
1981 | 282 | .navigation.nh .menu > li { | 256 | .navigation.nh .menu > li { |
1982 | 283 | width: 34% !important; | 257 | width: 34% !important; |
1983 | 284 | } | 258 | } |
1984 | @@ -299,102 +273,99 @@ | |||
1985 | 299 | margin-right: 0; | 273 | margin-right: 0; |
1986 | 300 | } | 274 | } |
1987 | 301 | 275 | ||
1994 | 302 | /* Header */ | 276 | /* |
1995 | 303 | #header_outer { | 277 | * Widget areas |
1996 | 304 | background-image: none !important; | 278 | * |
1997 | 305 | border-top: none; | 279 | */ |
1998 | 306 | } | 280 | |
1999 | 307 | #header_outer #logo { | 281 | .widgets_front .widgets { |
2000 | 282 | width: 93%; | ||
2001 | 283 | } | ||
2002 | 284 | |||
2003 | 285 | /* | ||
2004 | 286 | * Templates | ||
2005 | 287 | * | ||
2006 | 288 | */ | ||
2007 | 289 | |||
2008 | 290 | /* Featured image */ | ||
2009 | 291 | .post-thumbnail { | ||
2010 | 292 | display: block !important; | ||
2011 | 293 | max-width: 100%; | ||
2012 | 294 | width: 100%; | ||
2013 | 295 | margin: 0 0 1em 0; | ||
2014 | 296 | text-align: center; | ||
2015 | 297 | } | ||
2016 | 298 | .post-thumbnail img { | ||
2017 | 299 | max-height: 120px; | ||
2018 | 300 | width: auto; | ||
2019 | 301 | } | ||
2020 | 302 | |||
2021 | 303 | /* Featured image in a gallery */ | ||
2022 | 304 | |||
2023 | 305 | .featured { | ||
2024 | 306 | width: 95%; | ||
2025 | 307 | margin: 0 auto; | ||
2026 | 308 | } | ||
2027 | 309 | |||
2028 | 310 | /* | ||
2029 | 311 | * Common | ||
2030 | 312 | * | ||
2031 | 313 | */ | ||
2032 | 314 | |||
2033 | 315 | /* Aligned images */ | ||
2034 | 316 | |||
2035 | 317 | main figure[style*="float"], | ||
2036 | 318 | .alignleft, | ||
2037 | 319 | .alignright, | ||
2038 | 320 | .aligncenter { | ||
2039 | 321 | /* Clear all floats and center-align */ | ||
2040 | 322 | display: block; | ||
2041 | 323 | float: none !important; | ||
2042 | 324 | text-align: center; | ||
2043 | 325 | margin: 0 auto !important; | ||
2044 | 326 | } | ||
2045 | 327 | |||
2046 | 328 | /* Elements */ | ||
2047 | 329 | |||
2048 | 330 | blockquote { | ||
2049 | 331 | max-width: 90%; | ||
2050 | 332 | } | ||
2051 | 333 | |||
2052 | 334 | figure { | ||
2053 | 335 | width: 100% !important; | ||
2054 | 336 | text-align: center; | ||
2055 | 337 | } | ||
2056 | 338 | #content figure a { | ||
2057 | 339 | max-width: 100% !important; | ||
2058 | 340 | } | ||
2059 | 341 | .gallery figure { | ||
2060 | 342 | width: 100%; !important; | ||
2061 | 343 | padding: 0; | ||
2062 | 308 | margin: 0; | 344 | margin: 0; |
2155 | 309 | padding: 0.5em 2.5%; | 345 | } |
2156 | 310 | } | 346 | |
2157 | 311 | #header_outer #logo a img { | 347 | main figure, |
2158 | 312 | display: none; | 348 | main figure img, |
2159 | 313 | } | 349 | main img { |
2160 | 314 | #header_outer #logo a:after { | 350 | margin-top: 0.5em; |
2161 | 315 | font-size: 120%; | 351 | margin-bottom: 0.5em; |
2162 | 316 | font-weight: 600; | 352 | } |
2163 | 317 | 353 | ||
2164 | 318 | padding-right: 30px; | 354 | |
2165 | 319 | 355 | /* List in columns */ | |
2166 | 320 | background: transparent url(images/xubuntu-icon-20.png) 100% 50% no-repeat; | 356 | |
2167 | 321 | content: "Xubuntu"; | 357 | ul.columnlist { |
2168 | 322 | 358 | -moz-column-gap: 1em; | |
2169 | 323 | color: #fff; | 359 | -webkit-column-gap: 1em; |
2170 | 324 | } | 360 | column-gap: 1em; |
2171 | 325 | /* Fixed positioning on scroll */ | 361 | |
2172 | 326 | #header_outer.scrolled { | 362 | -moz-column-count: 2; |
2173 | 327 | position: fixed; | 363 | -webkit-column-count: 2; |
2174 | 328 | top: 0; | 364 | column-count: 2; |
2175 | 329 | left: 0; | 365 | } |
2176 | 330 | width: 100%; | 366 | |
2177 | 331 | } | 367 | /* Section highlighting */ |
2178 | 332 | #header_outer.scrolled #navi { | 368 | |
2179 | 333 | width: 100%; | 369 | .hb { |
2180 | 334 | position: fixed; | 370 | padding: 5px 20px; |
2181 | 335 | left: 0; | 371 | } |
2090 | 336 | z-index: 50000; | ||
2091 | 337 | } | ||
2092 | 338 | |||
2093 | 339 | #navi { | ||
2094 | 340 | background-color: #0e82d0; | ||
2095 | 341 | } | ||
2096 | 342 | #navi_main { | ||
2097 | 343 | font-size: 98%; | ||
2098 | 344 | } | ||
2099 | 345 | #navi.open .navigation.nd .menu li.current-menu-ancestor-hidden .sub-menu { display: none; } | ||
2100 | 346 | #navi.open .navigation.nd .menu li { display: block; } | ||
2101 | 347 | |||
2102 | 348 | #navi .navigation.nd > ul > li { | ||
2103 | 349 | background-color: rgba( 255, 255, 255, 0.25 ); | ||
2104 | 350 | } | ||
2105 | 351 | #navi li.menu-item-has-children .expand { | ||
2106 | 352 | display: none; | ||
2107 | 353 | |||
2108 | 354 | position: relative; | ||
2109 | 355 | right: 2.5%; | ||
2110 | 356 | top: 0; | ||
2111 | 357 | |||
2112 | 358 | float: right; | ||
2113 | 359 | z-index: 2000; | ||
2114 | 360 | |||
2115 | 361 | height: 32px; | ||
2116 | 362 | width: 32px; | ||
2117 | 363 | padding: 0; | ||
2118 | 364 | margin-right: -4px; | ||
2119 | 365 | |||
2120 | 366 | background: transparent url(images/menu_arrow.png) 50% 50% no-repeat; | ||
2121 | 367 | } | ||
2122 | 368 | #navi.open li.menu-item-has-children .expand { | ||
2123 | 369 | display: block; | ||
2124 | 370 | transition: 200ms transform; | ||
2125 | 371 | } | ||
2126 | 372 | #navi .open-sub .sub-menu { | ||
2127 | 373 | display: block !important; | ||
2128 | 374 | margin: 0; | ||
2129 | 375 | padding: 0; | ||
2130 | 376 | } | ||
2131 | 377 | #navi .open-sub li.menu-item-has-children .expand { | ||
2132 | 378 | transform: rotate( -90deg ); | ||
2133 | 379 | background-size: 65% 65%; | ||
2134 | 380 | } | ||
2135 | 381 | #navi_quick { | ||
2136 | 382 | display: block; | ||
2137 | 383 | } | ||
2138 | 384 | #opennavi { | ||
2139 | 385 | position: relative; | ||
2140 | 386 | display: block; | ||
2141 | 387 | height: 0; | ||
2142 | 388 | top: 0; | ||
2143 | 389 | right: 2.5%; | ||
2144 | 390 | |||
2145 | 391 | margin: 0 -0.3em 0 0; | ||
2146 | 392 | |||
2147 | 393 | width: 2.8em; | ||
2148 | 394 | height: 2.8em; | ||
2149 | 395 | |||
2150 | 396 | overflow: hidden; | ||
2151 | 397 | |||
2152 | 398 | background: transparent url(images/menu.png) 50% 50% no-repeat; | ||
2153 | 399 | } | ||
2154 | 400 | |||
2182 | 401 | 372 | ||
2183 | === modified file 'xubuntu-fifteen/style-resp-800.css' | |||
2184 | --- xubuntu-fifteen/style-resp-800.css 2016-07-30 22:45:51 +0000 | |||
2185 | +++ xubuntu-fifteen/style-resp-800.css 2016-12-15 07:46:28 +0000 | |||
2186 | @@ -1,74 +1,84 @@ | |||
2188 | 1 | /* For screen sizes less than 800px wide */ | 1 | /* |
2189 | 2 | * Header | ||
2190 | 3 | * | ||
2191 | 4 | */ | ||
2192 | 2 | 5 | ||
2193 | 3 | #navi { | 6 | #navi { |
2199 | 4 | font-size: 92%; | 7 | font-size: 82%; |
2200 | 5 | } | 8 | } |
2201 | 6 | .navigation.nd .menu > li > a { | 9 | |
2202 | 7 | padding-left: 0.75em; | 10 | /* |
2203 | 8 | padding-right: 0.75em; | 11 | * Main content area |
2204 | 12 | * | ||
2205 | 13 | */ | ||
2206 | 14 | |||
2207 | 15 | #content { | ||
2208 | 16 | display: block; | ||
2209 | 17 | } | ||
2210 | 18 | #content aside { | ||
2211 | 19 | margin-top: 2em; | ||
2212 | 20 | margin-left: 0; | ||
2213 | 9 | } | 21 | } |
2214 | 10 | 22 | ||
2216 | 11 | #footer { | 23 | /* |
2217 | 24 | * Footer | ||
2218 | 25 | * | ||
2219 | 26 | */ | ||
2220 | 27 | |||
2221 | 28 | footer { | ||
2222 | 12 | overflow: hidden; | 29 | overflow: hidden; |
2223 | 13 | } | 30 | } |
2224 | 14 | 31 | ||
2253 | 15 | /* Front page | 32 | /* |
2254 | 16 | * | 33 | * Navigation |
2255 | 17 | */ | 34 | * |
2256 | 18 | 35 | */ | |
2257 | 19 | body.home .alignright, | 36 | |
2258 | 20 | body.home .alignleft { | 37 | .navigation.nd .menu > li > a { |
2259 | 21 | max-width: 310px; | 38 | padding-left: 0.75em; |
2260 | 22 | height: auto; | 39 | padding-right: 0.75em; |
2261 | 23 | } | 40 | } |
2262 | 24 | 41 | ||
2263 | 25 | /* Blog pages | 42 | /* |
2264 | 26 | * | 43 | * Widget areas |
2265 | 27 | */ | 44 | * |
2266 | 28 | 45 | */ | |
2267 | 29 | body.single-post #main, | 46 | |
2268 | 30 | body.blog #main, | 47 | .widgets_flex .widgets { |
2269 | 31 | body.archive #main, | 48 | display: block; |
2270 | 32 | #sidebar { | 49 | } |
2271 | 33 | float: none; | 50 | .widgets_flex .widget { |
2272 | 34 | width: 100%; | 51 | width: 100% !important; |
2273 | 35 | padding: 1.25em 1.75em; | 52 | margin: 0 !important; |
2274 | 36 | } | 53 | border: none !important; |
2275 | 37 | 54 | padding: 1.5em 0 !important; | |
2276 | 38 | /* Widget areas | 55 | |
2277 | 39 | * | 56 | border-bottom: 1px dotted rgba( 0, 0, 0, 0.2 ) !important; |
2250 | 40 | */ | ||
2251 | 41 | .widgets_flex .widgets { | ||
2252 | 42 | display: block; | ||
2278 | 43 | } | 57 | } |
2300 | 44 | .widgets_flex .widget { | 58 | .widgets_flex .widget :last-child { |
2301 | 45 | width: 100% !important; | 59 | margin-bottom: 0; |
2302 | 46 | margin: 0 !important; | 60 | } |
2303 | 47 | border: none !important; | 61 | .widgets_flex .widget:first-child { |
2304 | 48 | padding: 1.5em 0 !important; | 62 | padding-top: 0 !important; |
2305 | 49 | 63 | } | |
2306 | 50 | border-bottom: 1px dotted rgba( 0, 0, 0, 0.2 ) !important; | 64 | .widgets_flex .widget:last-child { |
2307 | 51 | } | 65 | border-bottom: none !important; |
2308 | 52 | .widgets_flex .widget :last-child { | 66 | padding-bottom: 0 !important; |
2309 | 53 | margin-bottom: 0; | 67 | } |
2310 | 54 | } | 68 | |
2311 | 55 | .widgets_flex .widget:first-child { | 69 | /* |
2312 | 56 | padding-top: 0 !important; | 70 | * Templates |
2292 | 57 | } | ||
2293 | 58 | .widgets_flex .widget:last-child { | ||
2294 | 59 | border-bottom: none !important; | ||
2295 | 60 | padding-bottom: 0 !important; | ||
2296 | 61 | } | ||
2297 | 62 | |||
2298 | 63 | |||
2299 | 64 | /* Featured images | ||
2313 | 65 | * | 71 | * |
2314 | 66 | */ | 72 | */ |
2315 | 67 | 73 | ||
2316 | 74 | /* Featured image */ | ||
2317 | 75 | |||
2318 | 68 | .post-thumbnail { | 76 | .post-thumbnail { |
2319 | 69 | max-width: 50%; | 77 | max-width: 50%; |
2320 | 70 | } | 78 | } |
2321 | 71 | 79 | ||
2322 | 80 | /* Featured image in a gallery */ | ||
2323 | 81 | |||
2324 | 72 | .featured { | 82 | .featured { |
2325 | 73 | margin-bottom: 0.5em; | 83 | margin-bottom: 0.5em; |
2326 | 74 | } | 84 | } |
2327 | @@ -88,4 +98,4 @@ | |||
2328 | 88 | 98 | ||
2329 | 89 | .featured .description { | 99 | .featured .description { |
2330 | 90 | margin-top: 1em; | 100 | margin-top: 1em; |
2331 | 91 | } | ||
2332 | 92 | \ No newline at end of file | 101 | \ No newline at end of file |
2333 | 102 | } | ||
2334 | 93 | 103 | ||
2335 | === modified file 'xubuntu-fifteen/style.css' | |||
2336 | --- xubuntu-fifteen/style.css 2016-08-29 13:44:57 +0000 | |||
2337 | +++ xubuntu-fifteen/style.css 2016-12-15 07:46:28 +0000 | |||
2338 | @@ -1,16 +1,18 @@ | |||
2339 | 1 | /* | 1 | /* |
2340 | 2 | * Theme Name: Xubuntu Fifteen | 2 | * Theme Name: Xubuntu Fifteen |
2341 | 3 | * Theme URI: https://xubuntu.org/ | ||
2342 | 3 | * Description: A theme built for the Xubuntu website at xubuntu.org. | 4 | * Description: A theme built for the Xubuntu website at xubuntu.org. |
2343 | 5 | * | ||
2344 | 4 | * Author: Pasi Lallinaho | 6 | * Author: Pasi Lallinaho |
2345 | 5 | * Version: 2016-aug (r116) | ||
2346 | 6 | * Author URI: http://open.knome.fi/ | 7 | * Author URI: http://open.knome.fi/ |
2348 | 7 | * Theme URI: https://xubuntu.org/ | 8 | * |
2349 | 9 | * Version: 2016-sept (r118) | ||
2350 | 8 | * | 10 | * |
2351 | 9 | */ | 11 | */ |
2352 | 10 | 12 | ||
2353 | 11 | body { | 13 | body { |
2354 | 12 | font-size: small; | 14 | font-size: small; |
2356 | 13 | font-family: "Open Sans", sans-serif; | 15 | font-family: 'Open Sans', sans-serif; |
2357 | 14 | font-weight: 500; | 16 | font-weight: 500; |
2358 | 15 | line-height: 1.5em; | 17 | line-height: 1.5em; |
2359 | 16 | 18 | ||
2360 | @@ -20,13 +22,15 @@ | |||
2361 | 20 | min-height: 760px; | 22 | min-height: 760px; |
2362 | 21 | } | 23 | } |
2363 | 22 | 24 | ||
2365 | 23 | /* Content width | 25 | /* |
2366 | 26 | * Content width | ||
2367 | 24 | * | 27 | * |
2368 | 25 | */ | 28 | */ |
2369 | 26 | 29 | ||
2373 | 27 | #content, #main, #header, #header_art, #footer, #navi, | 30 | header #logo, header nav, header::after, |
2374 | 28 | #content_gallery, | 31 | #content, |
2375 | 29 | .widgets_inner { | 32 | .widgets_front .widgets, |
2376 | 33 | footer { | ||
2377 | 30 | width: 90%; | 34 | width: 90%; |
2378 | 31 | margin: 0 auto; | 35 | margin: 0 auto; |
2379 | 32 | 36 | ||
2380 | @@ -35,409 +39,153 @@ | |||
2381 | 35 | clear: both; | 39 | clear: both; |
2382 | 36 | } | 40 | } |
2383 | 37 | 41 | ||
2385 | 38 | /* Basic layouting | 42 | /* |
2386 | 43 | * Header | ||
2387 | 39 | * | 44 | * |
2388 | 40 | */ | 45 | */ |
2389 | 41 | 46 | ||
2391 | 42 | #header_outer { | 47 | header { |
2392 | 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 ) ); |
2393 | 49 | /* background-color: #0e82d0; | ||
2394 | 50 | background-image: linear-gradient( to right top, rgba( 0, 0, 0, 0 ), rgba( 0, 0, 0, 0.15 ) ), url(images/header.png); | ||
2395 | 51 | background-position: 0 0, auto 50%; | ||
2396 | 52 | background-repeat: no-repeat; */ | ||
2397 | 53 | |||
2398 | 44 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | 54 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); |
2399 | 45 | |||
2400 | 46 | position: relative; | ||
2401 | 47 | } | 55 | } |
2511 | 48 | #header { | 56 | header a { border-bottom: none !important; } |
2512 | 49 | padding: 1.6em 0 1.2em 0; | 57 | header ul { margin-bottom: 0; } |
2513 | 50 | position: relative; | 58 | |
2514 | 51 | } | 59 | header::after { |
2515 | 52 | 60 | content: " "; | |
2516 | 53 | #header_art { | 61 | display: block; |
2517 | 54 | position: relative; | 62 | position: relative; |
2518 | 55 | z-index: 0; | 63 | height: 150px; |
2519 | 56 | } | 64 | |
2520 | 57 | #header_art::before, | 65 | top: -150px; |
2521 | 58 | #header_art::after { | 66 | left: -35px; |
2522 | 59 | content: ""; | 67 | margin-bottom: -150px; |
2523 | 60 | 68 | padding: 0 35px; | |
2524 | 61 | display: block; | 69 | |
2525 | 62 | position: absolute; | 70 | background: transparent url(images/header.png) 0 50% no-repeat; |
2526 | 63 | } | 71 | } |
2527 | 64 | #header_art::before { | 72 | |
2528 | 65 | height: 250px; | 73 | #logo { |
2529 | 66 | width: 900px; | 74 | position: relative; |
2530 | 67 | top: 0; | 75 | z-index: 1; |
2531 | 68 | left: -35px; | 76 | |
2532 | 69 | 77 | padding: 1.6em 0 1.2em; | |
2533 | 70 | background: transparent linear-gradient( to left, rgba( 255, 255, 255, 0.2 ), rgba( 20, 165, 245, 0.5 ) ); | 78 | color: #fff; |
2534 | 71 | transform: rotate( 15deg ) skewX( -2deg ); | 79 | } |
2535 | 72 | z-index: 1; | 80 | #navi { |
2536 | 73 | } | 81 | position: relative; |
2537 | 74 | #header_art::after { | 82 | z-index: 1; |
2538 | 75 | height: 200px; | 83 | |
2539 | 76 | width: 850px; | 84 | font-size: 90%; |
2540 | 77 | top: 75px; | 85 | background-color: rgba( 0, 0, 0, 0.2 ); |
2541 | 78 | left: -50px; | 86 | } |
2542 | 79 | 87 | nav#navi_quick, | |
2543 | 80 | background: transparent linear-gradient( to right top, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 0.3 ) ); | 88 | #opennavi { |
2544 | 81 | transform: rotate( -18deg ) skewX( -6deg ); | 89 | display: none; |
2545 | 82 | z-index: 2; | 90 | } |
2546 | 83 | opacity: 0.5; | 91 | |
2547 | 84 | } | 92 | /* |
2548 | 85 | 93 | * Main content area | |
2549 | 86 | #logo { | 94 | * |
2550 | 87 | color: #fff; | 95 | */ |
2551 | 88 | position: relative; | 96 | |
2552 | 89 | z-index: 100; | 97 | section#middle { |
2444 | 90 | } | ||
2445 | 91 | #navi_outer { | ||
2446 | 92 | font-size: 90%; | ||
2447 | 93 | background-color: rgba( 0, 0, 0, 0.2 ); | ||
2448 | 94 | |||
2449 | 95 | position: relative; | ||
2450 | 96 | z-index: 100; | ||
2451 | 97 | } | ||
2452 | 98 | #navi .navigation { | ||
2453 | 99 | position: relative; | ||
2454 | 100 | z-index: 100; | ||
2455 | 101 | } | ||
2456 | 102 | #navi .navigation ul { | ||
2457 | 103 | margin-bottom: 0; | ||
2458 | 104 | } | ||
2459 | 105 | #navi .navigation .sub-menu .current_page_item a { | ||
2460 | 106 | background-color: rgba( 255, 255, 255, 0.3 ); | ||
2461 | 107 | border-radius: 3px; | ||
2462 | 108 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | ||
2463 | 109 | } | ||
2464 | 110 | #navi .navigation:hover .sub-menu .current_page_item a { | ||
2465 | 111 | background-color: transparent; | ||
2466 | 112 | box-shadow: none; | ||
2467 | 113 | } | ||
2468 | 114 | #navi_quick { | ||
2469 | 115 | display: none; | ||
2470 | 116 | |||
2471 | 117 | padding: 0.5em 40px 0em 2.5%; | ||
2472 | 118 | |||
2473 | 119 | background-color: rgba( 0, 0, 0, 0.2 ); | ||
2474 | 120 | border-top: 1px solid rgba( 255, 255, 255, 0.2 ); | ||
2475 | 121 | |||
2476 | 122 | font-size: 90%; | ||
2477 | 123 | } | ||
2478 | 124 | #navi_quick .navi_open_button { | ||
2479 | 125 | font-size: 120%; | ||
2480 | 126 | display: block; | ||
2481 | 127 | border: none; | ||
2482 | 128 | height: 100%; | ||
2483 | 129 | padding: 0 0 0.5em 0; | ||
2484 | 130 | color: rgba( 255, 255, 255, 0.5 ); | ||
2485 | 131 | } | ||
2486 | 132 | #navi_quick li { | ||
2487 | 133 | display: inline; | ||
2488 | 134 | } | ||
2489 | 135 | #navi_quick a { | ||
2490 | 136 | color: #fff; | ||
2491 | 137 | margin-right: 1em; | ||
2492 | 138 | font-weight: 600; | ||
2493 | 139 | |||
2494 | 140 | white-space: nowrap; | ||
2495 | 141 | display: inline; | ||
2496 | 142 | } | ||
2497 | 143 | #opennavi { | ||
2498 | 144 | display: none; | ||
2499 | 145 | |||
2500 | 146 | float: right; | ||
2501 | 147 | |||
2502 | 148 | position: relative; | ||
2503 | 149 | top: 1px; | ||
2504 | 150 | right: 1em; | ||
2505 | 151 | z-index: 100; | ||
2506 | 152 | |||
2507 | 153 | border: none; | ||
2508 | 154 | } | ||
2509 | 155 | |||
2510 | 156 | #content_outer { | ||
2553 | 157 | padding: 1.5em 0; | 98 | padding: 1.5em 0; |
2554 | 158 | 99 | ||
2555 | 159 | background-color: #eee; | 100 | background-color: #eee; |
2556 | 160 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | 101 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); |
2557 | 161 | |||
2558 | 162 | position: relative; | ||
2559 | 163 | z-index: 50; | ||
2560 | 164 | } | 102 | } |
2561 | 165 | #content { | 103 | #content { |
2562 | 104 | display: flex; | ||
2563 | 105 | padding: 1.8em 2.2em; | ||
2564 | 106 | |||
2565 | 166 | font-size: 110%; | 107 | font-size: 110%; |
2566 | 167 | padding: 0; | ||
2567 | 168 | 108 | ||
2568 | 169 | background-color: #fafafa; | 109 | background-color: #fafafa; |
2569 | 170 | border-radius: 4px; | 110 | border-radius: 4px; |
2570 | 171 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | 111 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); |
2571 | 172 | } | 112 | } |
2589 | 173 | #content.air { | 113 | main { |
2590 | 174 | background-color: transparent; | 114 | flex: 68; |
2591 | 175 | border-radius: 0; | 115 | } |
2592 | 176 | box-shadow: none; | 116 | aside { |
2593 | 177 | } | 117 | flex: 32; |
2594 | 178 | 118 | margin-left: 2em; | |
2595 | 179 | #main { | 119 | |
2596 | 180 | box-sizing: border-box; | 120 | font-size: 90%; |
2597 | 181 | width: 100%; | 121 | } |
2598 | 182 | float: left; | 122 | aside > :first-child { |
2599 | 183 | 123 | margin-top: 0; | |
2583 | 184 | padding: 25px 30px; | ||
2584 | 185 | } | ||
2585 | 186 | body.home #main { | ||
2586 | 187 | float: none; | ||
2587 | 188 | width: 90%; | ||
2588 | 189 | margin: 0 auto 25px auto; | ||
2600 | 190 | } | 124 | } |
2601 | 191 | 125 | ||
2605 | 192 | #footer { | 126 | body.home section#middle { |
2606 | 193 | box-sizing: border-box; | 127 | background-color: #f8f8f8; |
2607 | 194 | 128 | padding: 0; | |
2608 | 129 | } | ||
2609 | 130 | body.home #content { | ||
2610 | 131 | padding: 0; | ||
2611 | 132 | |||
2612 | 133 | background-color: transparent; | ||
2613 | 134 | box-shadow: none; | ||
2614 | 135 | } | ||
2615 | 136 | body.home main { | ||
2616 | 137 | padding: 2em 0 1em 0; | ||
2617 | 138 | } | ||
2618 | 139 | body.home main .post-post { margin: 0; } | ||
2619 | 140 | body.home main h1 { margin-top: 0 !important; } | ||
2620 | 141 | |||
2621 | 142 | /* | ||
2622 | 143 | * Footer | ||
2623 | 144 | * | ||
2624 | 145 | */ | ||
2625 | 146 | |||
2626 | 147 | footer { | ||
2627 | 195 | margin-top: 1em; | 148 | margin-top: 1em; |
2628 | 196 | padding: 2px; | 149 | padding: 2px; |
2629 | 197 | font-size: 80%; | 150 | font-size: 80%; |
2630 | 198 | color: #555; | 151 | color: #555; |
2631 | 199 | } | 152 | } |
2633 | 200 | #footer_widgets { | 153 | footer .widgets { |
2634 | 201 | padding-bottom: 1.5em; | 154 | padding-bottom: 1.5em; |
2635 | 202 | margin-bottom: 1.5em; | 155 | margin-bottom: 1.5em; |
2636 | 203 | border-bottom: 1px dotted #aaa; | 156 | border-bottom: 1px dotted #aaa; |
2637 | 204 | } | 157 | } |
2639 | 205 | #footer_navi .menu .sub-menu { | 158 | nav#footer_navi .menu .sub-menu { |
2640 | 206 | font-size: 110%; | 159 | font-size: 110%; |
2641 | 207 | } | 160 | } |
2642 | 208 | 161 | ||
2737 | 209 | 162 | /* | |
2738 | 210 | /* PAGES | 163 | * Post styles |
2739 | 211 | * | 164 | * |
2740 | 212 | */ | 165 | */ |
2741 | 213 | 166 | ||
2648 | 214 | /* Home page | ||
2649 | 215 | * | ||
2650 | 216 | */ | ||
2651 | 217 | |||
2652 | 218 | body.home #content_outer { | ||
2653 | 219 | background-color: #f8f8f8; | ||
2654 | 220 | padding: 0; | ||
2655 | 221 | } | ||
2656 | 222 | |||
2657 | 223 | body.home #content { | ||
2658 | 224 | width: 100%; | ||
2659 | 225 | margin: 0; | ||
2660 | 226 | max-width: 100%; | ||
2661 | 227 | |||
2662 | 228 | background-color: transparent; | ||
2663 | 229 | box-shadow: none; | ||
2664 | 230 | padding: 1.5em 0 0 0; | ||
2665 | 231 | border-radius: 0; | ||
2666 | 232 | } | ||
2667 | 233 | body.home #main { | ||
2668 | 234 | padding: 0; | ||
2669 | 235 | } | ||
2670 | 236 | |||
2671 | 237 | body.home .widgets_outer { | ||
2672 | 238 | padding: 1em 0; | ||
2673 | 239 | margin-bottom: 1em; | ||
2674 | 240 | } | ||
2675 | 241 | body.home .widgets_outer#front, | ||
2676 | 242 | body.home .widgets_outer#front-3 { | ||
2677 | 243 | padding: 2em 0; | ||
2678 | 244 | background-color: #fff; | ||
2679 | 245 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | ||
2680 | 246 | } | ||
2681 | 247 | |||
2682 | 248 | body.home .widgets_outer:last-child { | ||
2683 | 249 | padding-bottom: 2em; | ||
2684 | 250 | } | ||
2685 | 251 | |||
2686 | 252 | /* Blog | ||
2687 | 253 | * | ||
2688 | 254 | */ | ||
2689 | 255 | |||
2690 | 256 | body.single-post #main, | ||
2691 | 257 | body.blog #main, | ||
2692 | 258 | body.archive #main, | ||
2693 | 259 | body.search #main { | ||
2694 | 260 | float: left; | ||
2695 | 261 | width: 65%; | ||
2696 | 262 | } | ||
2697 | 263 | |||
2698 | 264 | #sidebar { | ||
2699 | 265 | float: right; | ||
2700 | 266 | box-sizing: border-box; | ||
2701 | 267 | width: 35%; | ||
2702 | 268 | |||
2703 | 269 | font-size: 90%; | ||
2704 | 270 | padding: 0 30px 2em 30px; | ||
2705 | 271 | } | ||
2706 | 272 | #sidebar .search-form { | ||
2707 | 273 | display: flex; | ||
2708 | 274 | } | ||
2709 | 275 | #sidebar .search-form label { | ||
2710 | 276 | /* Search input box */ | ||
2711 | 277 | flex: 3; | ||
2712 | 278 | margin-right: 0.5em; | ||
2713 | 279 | } | ||
2714 | 280 | #sidebar .search-form label input { | ||
2715 | 281 | width: 100%; | ||
2716 | 282 | } | ||
2717 | 283 | #sidebar .search-form .search-submit { | ||
2718 | 284 | flex: 1; | ||
2719 | 285 | } | ||
2720 | 286 | |||
2721 | 287 | /* Blog front and paging */ | ||
2722 | 288 | |||
2723 | 289 | #main .post + .post, | ||
2724 | 290 | .post-pagination { | ||
2725 | 291 | margin-top: 2em; | ||
2726 | 292 | padding-top: 1.25em; | ||
2727 | 293 | border-top: 1px dotted rgba( 28, 80, 161, 0.5 ); | ||
2728 | 294 | } | ||
2729 | 295 | .post-pagination { | ||
2730 | 296 | margin-bottom: 0; | ||
2731 | 297 | font-size: 90%; | ||
2732 | 298 | border-top-color: rgba( 0, 0, 0, 0.5 ); | ||
2733 | 299 | } | ||
2734 | 300 | |||
2735 | 301 | |||
2736 | 302 | /* Post styles */ | ||
2742 | 303 | .post-post { | 167 | .post-post { |
2743 | 304 | color: #333; | 168 | color: #333; |
2744 | 305 | margin: 1.5em 0 0.5em 0; | 169 | margin: 1.5em 0 0.5em 0; |
2745 | 306 | } | 170 | } |
2750 | 307 | .post-post img, | 171 | .post-post > :last-child { |
2751 | 308 | .post-post figure { | 172 | margin-bottom: 0; |
2748 | 309 | max-width: 100%; | ||
2749 | 310 | height: auto; | ||
2752 | 311 | } | 173 | } |
2753 | 312 | .post-post > :last-child { | ||
2754 | 313 | margin-bottom: 0; | ||
2755 | 314 | } | ||
2756 | 315 | 174 | ||
2759 | 316 | .post-meta, .post-meta a { | 175 | .post-meta, |
2760 | 317 | color: #ccc; | 176 | .post-meta a { |
2761 | 318 | color: rgba( 0, 0, 0, 0.2 ); | 177 | color: rgba( 0, 0, 0, 0.2 ); |
2762 | 319 | } | 178 | } |
2884 | 320 | 179 | .post-meta span a { | |
2885 | 321 | .post-meta span a { | 180 | transition: all 0.5s ease-in-out; |
2886 | 322 | transition: all 0.5s ease-in-out; | 181 | } |
2887 | 323 | } | 182 | .post-meta span a:hover, |
2888 | 324 | .post-meta span a:hover, | 183 | .post-meta span a:focus { |
2889 | 325 | .post-meta span a:focus { | 184 | color: rgba( 0, 0, 0, 0.5 ); |
2890 | 326 | color: #808080; | 185 | } |
2891 | 327 | color: rgba( 0, 0, 0, 0.5 ); | 186 | |
2892 | 328 | } | 187 | /* |
2893 | 329 | 188 | * Navigation | |
2773 | 330 | /* Release archive | ||
2774 | 331 | * | ||
2775 | 332 | */ | ||
2776 | 333 | |||
2777 | 334 | dl.release-info { | ||
2778 | 335 | margin-bottom: 1em; | ||
2779 | 336 | } | ||
2780 | 337 | dl.release-info dt { | ||
2781 | 338 | float: left; | ||
2782 | 339 | clear: both; | ||
2783 | 340 | |||
2784 | 341 | width: 25%; | ||
2785 | 342 | margin-right: 5px; | ||
2786 | 343 | |||
2787 | 344 | font-weight: bold; | ||
2788 | 345 | } | ||
2789 | 346 | dl.release-info dd { | ||
2790 | 347 | float: left; | ||
2791 | 348 | } | ||
2792 | 349 | dl.release-info dd.eol::after { | ||
2793 | 350 | content: "Unsupported"; | ||
2794 | 351 | margin-left: 0.5em; | ||
2795 | 352 | color: rgba( 200, 0, 0, 1 ); | ||
2796 | 353 | } | ||
2797 | 354 | |||
2798 | 355 | /* Attachments | ||
2799 | 356 | * | ||
2800 | 357 | */ | ||
2801 | 358 | |||
2802 | 359 | #attachment { | ||
2803 | 360 | margin-top: -1em; | ||
2804 | 361 | margin-bottom: 1em; | ||
2805 | 362 | } | ||
2806 | 363 | #attachment img { | ||
2807 | 364 | width: 100%; | ||
2808 | 365 | height: auto; | ||
2809 | 366 | |||
2810 | 367 | border-radius: 3px; | ||
2811 | 368 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | ||
2812 | 369 | } | ||
2813 | 370 | body.attachment .boxed { | ||
2814 | 371 | padding: 1em 2em; | ||
2815 | 372 | } | ||
2816 | 373 | #attachment_navi { | ||
2817 | 374 | text-align: center; | ||
2818 | 375 | margin-bottom: 1em; | ||
2819 | 376 | } | ||
2820 | 377 | #attachment_navi .button:last-child { | ||
2821 | 378 | margin-right: 0; | ||
2822 | 379 | } | ||
2823 | 380 | #attachment_navi .primary { | ||
2824 | 381 | font-weight: 600 !important; | ||
2825 | 382 | } | ||
2826 | 383 | |||
2827 | 384 | |||
2828 | 385 | /* WIDGET AREAS | ||
2829 | 386 | * | ||
2830 | 387 | */ | ||
2831 | 388 | |||
2832 | 389 | .widgets_flex .widgets { | ||
2833 | 390 | display: flex; | ||
2834 | 391 | } | ||
2835 | 392 | .widgets_flex .widget { | ||
2836 | 393 | float: left; | ||
2837 | 394 | width: 25.1%; | ||
2838 | 395 | |||
2839 | 396 | box-sizing: border-box; | ||
2840 | 397 | flex-grow: 1; | ||
2841 | 398 | |||
2842 | 399 | padding: 0 1.5em; | ||
2843 | 400 | |||
2844 | 401 | border-right: 1px dotted rgba( 0, 0, 0, 0.2 ); | ||
2845 | 402 | } | ||
2846 | 403 | .widgets_flex .widget:first-child { | ||
2847 | 404 | padding-left: 0; | ||
2848 | 405 | } | ||
2849 | 406 | .widgets_flex .widget:last-child { | ||
2850 | 407 | border-right: none; | ||
2851 | 408 | padding-right: 0; | ||
2852 | 409 | } | ||
2853 | 410 | .widgets_flex .widget p:last-child { | ||
2854 | 411 | margin-bottom: 0; | ||
2855 | 412 | } | ||
2856 | 413 | |||
2857 | 414 | /* Tagclouds */ | ||
2858 | 415 | |||
2859 | 416 | .tagcloud a { | ||
2860 | 417 | display: block; | ||
2861 | 418 | font-size: 100% !important; | ||
2862 | 419 | margin-left: 1em; | ||
2863 | 420 | margin-bottom: 0.2em; | ||
2864 | 421 | } | ||
2865 | 422 | .tagcloud a { | ||
2866 | 423 | border-bottom: none !important; | ||
2867 | 424 | } | ||
2868 | 425 | .tagcloud a::before { | ||
2869 | 426 | /* Imitates the list style */ | ||
2870 | 427 | display: block; | ||
2871 | 428 | float: left; | ||
2872 | 429 | |||
2873 | 430 | width: 0.7em; | ||
2874 | 431 | margin-left: -0.7em; | ||
2875 | 432 | margin-top: -0.12em; | ||
2876 | 433 | content: "›"; | ||
2877 | 434 | font-weight: 300; | ||
2878 | 435 | font-size: 140%; | ||
2879 | 436 | color: #555; | ||
2880 | 437 | } | ||
2881 | 438 | |||
2882 | 439 | |||
2883 | 440 | /* NAVIGATION | ||
2894 | 441 | * | 189 | * |
2895 | 442 | */ | 190 | */ |
2896 | 443 | 191 | ||
2897 | @@ -457,9 +205,8 @@ | |||
2898 | 457 | margin: 0.5em 0 1.5em 0; | 205 | margin: 0.5em 0 1.5em 0; |
2899 | 458 | } | 206 | } |
2900 | 459 | 207 | ||
2904 | 460 | /* Dropdown navigation | 208 | /* Navigation, dropdown */ |
2905 | 461 | * | 209 | |
2903 | 462 | */ | ||
2906 | 463 | .navigation.nd { | 210 | .navigation.nd { |
2907 | 464 | border-left: 1px solid rgba( 0, 0, 0, 0.2 ); | 211 | border-left: 1px solid rgba( 0, 0, 0, 0.2 ); |
2908 | 465 | } | 212 | } |
2909 | @@ -577,9 +324,7 @@ | |||
2910 | 577 | display: none; | 324 | display: none; |
2911 | 578 | } | 325 | } |
2912 | 579 | 326 | ||
2916 | 580 | /* Horizontal navigation | 327 | /* Navigation, horizontal */ |
2914 | 581 | * | ||
2915 | 582 | */ | ||
2917 | 583 | 328 | ||
2918 | 584 | .navigation.nh .menu { | 329 | .navigation.nh .menu { |
2919 | 585 | display: flex; | 330 | display: flex; |
2920 | @@ -611,3 +356,230 @@ | |||
2921 | 611 | padding-right: 0; | 356 | padding-right: 0; |
2922 | 612 | border-right: none; | 357 | border-right: none; |
2923 | 613 | } | 358 | } |
2924 | 359 | |||
2925 | 360 | /* | ||
2926 | 361 | * Widget areas | ||
2927 | 362 | * | ||
2928 | 363 | */ | ||
2929 | 364 | |||
2930 | 365 | .widgets_flex .widgets { | ||
2931 | 366 | display: flex; | ||
2932 | 367 | } | ||
2933 | 368 | .widgets_flex .widget { | ||
2934 | 369 | float: left; | ||
2935 | 370 | width: 25.1%; | ||
2936 | 371 | |||
2937 | 372 | box-sizing: border-box; | ||
2938 | 373 | flex-grow: 1; | ||
2939 | 374 | |||
2940 | 375 | padding: 0 1.5em; | ||
2941 | 376 | |||
2942 | 377 | border-right: 1px dotted rgba( 0, 0, 0, 0.2 ); | ||
2943 | 378 | } | ||
2944 | 379 | .widgets_flex .widget:first-child { | ||
2945 | 380 | padding-left: 0; | ||
2946 | 381 | } | ||
2947 | 382 | .widgets_flex .widget:last-child { | ||
2948 | 383 | border-right: none; | ||
2949 | 384 | padding-right: 0; | ||
2950 | 385 | } | ||
2951 | 386 | .widgets_flex .widget p:last-child { | ||
2952 | 387 | margin-bottom: 0; | ||
2953 | 388 | } | ||
2954 | 389 | |||
2955 | 390 | /* | ||
2956 | 391 | * Templates | ||
2957 | 392 | * | ||
2958 | 393 | */ | ||
2959 | 394 | |||
2960 | 395 | /* Attachments browsing */ | ||
2961 | 396 | |||
2962 | 397 | .attachment_navi { | ||
2963 | 398 | text-align: center; | ||
2964 | 399 | } | ||
2965 | 400 | .attachment_navi .button:last-child { | ||
2966 | 401 | margin-right: 0; | ||
2967 | 402 | } | ||
2968 | 403 | |||
2969 | 404 | /* Classes for menus */ | ||
2970 | 405 | |||
2971 | 406 | .menu .strong { | ||
2972 | 407 | font-weight: 600; | ||
2973 | 408 | } | ||
2974 | 409 | |||
2975 | 410 | /* Featured image */ | ||
2976 | 411 | |||
2977 | 412 | .post-thumbnail { | ||
2978 | 413 | float: right; | ||
2979 | 414 | margin: -1em 0 2em 2em; | ||
2980 | 415 | |||
2981 | 416 | max-width: 400px; | ||
2982 | 417 | height: auto; | ||
2983 | 418 | } | ||
2984 | 419 | .post-thumbnail img { | ||
2985 | 420 | border-radius: 0; | ||
2986 | 421 | box-shadow: none; | ||
2987 | 422 | } | ||
2988 | 423 | |||
2989 | 424 | /* Featured image on the front page */ | ||
2990 | 425 | |||
2991 | 426 | body.home .post-thumbnail { | ||
2992 | 427 | margin-top: 0; | ||
2993 | 428 | } | ||
2994 | 429 | body.home main h1 { | ||
2995 | 430 | display: inline; | ||
2996 | 431 | } | ||
2997 | 432 | body.home main h1:after { | ||
2998 | 433 | display: block; | ||
2999 | 434 | content: ""; | ||
3000 | 435 | margin-bottom: 1em; | ||
3001 | 436 | } | ||
3002 | 437 | |||
3003 | 438 | /* Featured image in a gallery */ | ||
3004 | 439 | |||
3005 | 440 | .featured { | ||
3006 | 441 | margin-bottom: 2em; | ||
3007 | 442 | } | ||
3008 | 443 | .featured .image { | ||
3009 | 444 | float: left; | ||
3010 | 445 | width: 50%; | ||
3011 | 446 | } | ||
3012 | 447 | .featured .image img { | ||
3013 | 448 | max-width: 100%; | ||
3014 | 449 | float: right; | ||
3015 | 450 | height: auto; | ||
3016 | 451 | |||
3017 | 452 | border-radius: 3px; | ||
3018 | 453 | box-shadow: 1px 1px 5px rgba( 0, 0, 0, 0.2 ); | ||
3019 | 454 | } | ||
3020 | 455 | |||
3021 | 456 | .featured .description { | ||
3022 | 457 | float: right; | ||
3023 | 458 | width: 45%; | ||
3024 | 459 | } | ||
3025 | 460 | .featured .description h2:first-child { | ||
3026 | 461 | margin-top: 0; | ||
3027 | 462 | } | ||
3028 | 463 | |||
3029 | 464 | /* Home page widgets */ | ||
3030 | 465 | |||
3031 | 466 | body.home .widgets_outer { | ||
3032 | 467 | padding: 1em 0; | ||
3033 | 468 | margin-bottom: 1em; | ||
3034 | 469 | } | ||
3035 | 470 | body.home .widgets_outer#front, | ||
3036 | 471 | body.home .widgets_outer#front-3 { | ||
3037 | 472 | padding: 2em 0; | ||
3038 | 473 | background-color: #fff; | ||
3039 | 474 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); | ||
3040 | 475 | } | ||
3041 | 476 | body.home .widgets_outer:last-child { | ||
3042 | 477 | padding-bottom: 2em; | ||
3043 | 478 | } | ||
3044 | 479 | |||
3045 | 480 | /* Post lists */ | ||
3046 | 481 | |||
3047 | 482 | .posts-list li { | ||
3048 | 483 | list-style-type: none; | ||
3049 | 484 | margin-left: 0; | ||
3050 | 485 | } | ||
3051 | 486 | .posts-list li .post-time { | ||
3052 | 487 | display: inline-block; | ||
3053 | 488 | width: 25%; | ||
3054 | 489 | margin-right: 0.25em; | ||
3055 | 490 | } | ||
3056 | 491 | |||
3057 | 492 | /* Post pagination */ | ||
3058 | 493 | |||
3059 | 494 | main .post + .post, | ||
3060 | 495 | .post-pagination { | ||
3061 | 496 | margin-top: 2em; | ||
3062 | 497 | padding-top: 1.25em; | ||
3063 | 498 | border-top: 1px dotted rgba( 28, 80, 161, 0.5 ); | ||
3064 | 499 | } | ||
3065 | 500 | .post-pagination { | ||
3066 | 501 | margin-bottom: 0; | ||
3067 | 502 | font-size: 90%; | ||
3068 | 503 | border-top-color: rgba( 0, 0, 0, 0.5 ); | ||
3069 | 504 | } | ||
3070 | 505 | |||
3071 | 506 | /* Release archive information */ | ||
3072 | 507 | |||
3073 | 508 | dl.release-info { | ||
3074 | 509 | margin-bottom: 1em; | ||
3075 | 510 | } | ||
3076 | 511 | dl.release-info dt { | ||
3077 | 512 | float: left; | ||
3078 | 513 | clear: both; | ||
3079 | 514 | |||
3080 | 515 | width: 25%; | ||
3081 | 516 | margin-right: 5px; | ||
3082 | 517 | |||
3083 | 518 | font-weight: bold; | ||
3084 | 519 | } | ||
3085 | 520 | dl.release-info dd { | ||
3086 | 521 | float: left; | ||
3087 | 522 | } | ||
3088 | 523 | dl.release-info dd.eol::after { | ||
3089 | 524 | content: "Unsupported"; | ||
3090 | 525 | margin-left: 0.5em; | ||
3091 | 526 | color: rgba( 200, 0, 0, 1 ); | ||
3092 | 527 | } | ||
3093 | 528 | |||
3094 | 529 | /* Release lists */ | ||
3095 | 530 | |||
3096 | 531 | .releases .nobullet::before { | ||
3097 | 532 | content: " " !important; | ||
3098 | 533 | } | ||
3099 | 534 | .releases .show-eol { | ||
3100 | 535 | color: rgba( 0, 0, 0, 0.5 ); | ||
3101 | 536 | margin-left: -1em; | ||
3102 | 537 | } | ||
3103 | 538 | .releases .eol a::before { | ||
3104 | 539 | content: "EOL"; | ||
3105 | 540 | font-size: 90%; | ||
3106 | 541 | margin-right: 0.5em; | ||
3107 | 542 | color: rgba( 0, 0, 0, 0.5 ); | ||
3108 | 543 | } | ||
3109 | 544 | |||
3110 | 545 | /* Search form */ | ||
3111 | 546 | |||
3112 | 547 | .search-form { | ||
3113 | 548 | display: flex; | ||
3114 | 549 | } | ||
3115 | 550 | .search-form label { | ||
3116 | 551 | /* Search input box */ | ||
3117 | 552 | flex: 3; | ||
3118 | 553 | margin-right: 0.5em; | ||
3119 | 554 | } | ||
3120 | 555 | .search-form label input { | ||
3121 | 556 | width: 100%; | ||
3122 | 557 | } | ||
3123 | 558 | .search-form .search-submit { | ||
3124 | 559 | flex: 1; | ||
3125 | 560 | } | ||
3126 | 561 | |||
3127 | 562 | /* Tagclouds */ | ||
3128 | 563 | |||
3129 | 564 | .tagcloud a { | ||
3130 | 565 | display: block; | ||
3131 | 566 | font-size: 100% !important; | ||
3132 | 567 | margin-left: 1em; | ||
3133 | 568 | margin-bottom: 0.2em; | ||
3134 | 569 | } | ||
3135 | 570 | .tagcloud a { | ||
3136 | 571 | border-bottom: none !important; | ||
3137 | 572 | } | ||
3138 | 573 | .tagcloud a::before { | ||
3139 | 574 | /* Imitates the list style */ | ||
3140 | 575 | display: block; | ||
3141 | 576 | float: left; | ||
3142 | 577 | |||
3143 | 578 | width: 0.7em; | ||
3144 | 579 | margin-left: -0.7em; | ||
3145 | 580 | margin-top: -0.12em; | ||
3146 | 581 | content: "›"; | ||
3147 | 582 | font-weight: 300; | ||
3148 | 583 | font-size: 140%; | ||
3149 | 584 | color: #555; | ||
3150 | 585 | } | ||
3151 | 614 | \ No newline at end of file | 586 | \ No newline at end of file |
3152 | 615 | 587 | ||
3153 | === removed file 'xubuntu-fifteen/template_blank.php' | |||
3154 | --- xubuntu-fifteen/template_blank.php 2015-02-23 13:21:04 +0000 | |||
3155 | +++ xubuntu-fifteen/template_blank.php 1970-01-01 00:00:00 +0000 | |||
3156 | @@ -1,16 +0,0 @@ | |||
3157 | 1 | <?php | ||
3158 | 2 | /* Template name: Blank */ | ||
3159 | 3 | /* A blank page template with no content area background */ | ||
3160 | 4 | ?> | ||
3161 | 5 | |||
3162 | 6 | <?php get_header( ); ?> | ||
3163 | 7 | <?php the_post( ); ?> | ||
3164 | 8 | |||
3165 | 9 | <div id="content_outer"> | ||
3166 | 10 | <div id="content" class="air"> | ||
3167 | 11 | <h1 class="boxed"><?php the_title( ); ?></h1> | ||
3168 | 12 | <?php the_content( ); ?> | ||
3169 | 13 | </div> | ||
3170 | 14 | </div> | ||
3171 | 15 | |||
3172 | 16 | <?php get_footer( ); ?> | ||
3173 | 17 | \ No newline at end of file | 0 | \ No newline at end of file |
3174 | 18 | 1 | ||
3175 | === modified file 'xubuntu-fifteen/widgets-blog.php' | |||
3176 | --- xubuntu-fifteen/widgets-blog.php 2016-07-30 22:45:51 +0000 | |||
3177 | +++ xubuntu-fifteen/widgets-blog.php 2016-12-15 07:46:28 +0000 | |||
3178 | @@ -1,7 +1,7 @@ | |||
3179 | 1 | <?php | 1 | <?php |
3182 | 2 | if( function_exists( 'dynamic_sidebar' ) ) { | 2 | if( function_exists( 'dynamic_sidebar' ) && is_active_sidebar( 'blog_navigation' ) ) { |
3183 | 3 | ?><div id="sidebar"> | 3 | ?><aside id="sidebar"> |
3184 | 4 | <?php dynamic_sidebar( 'blog_navigation' ); ?> | 4 | <?php dynamic_sidebar( 'blog_navigation' ); ?> |
3186 | 5 | </div><?php | 5 | </aside><?php |
3187 | 6 | } | 6 | } |
3188 | 7 | ?> | 7 | ?> |
3189 | 8 | \ No newline at end of file | 8 | \ No newline at end of file |
3190 | 9 | 9 | ||
3191 | === modified file 'xubuntu-fifteen/widgets-footer.php' | |||
3192 | --- xubuntu-fifteen/widgets-footer.php 2015-06-11 20:39:33 +0000 | |||
3193 | +++ xubuntu-fifteen/widgets-footer.php 2016-12-15 07:46:28 +0000 | |||
3194 | @@ -6,6 +6,7 @@ | |||
3195 | 6 | 6 | ||
3196 | 7 | wp_nav_menu( array( | 7 | wp_nav_menu( array( |
3197 | 8 | 'theme_location' => 'footer_navigation', | 8 | 'theme_location' => 'footer_navigation', |
3198 | 9 | 'container' => 'nav', | ||
3199 | 9 | 'container_id' => 'footer_navi', | 10 | 'container_id' => 'footer_navi', |
3200 | 10 | 'container_class' => 'group navigation nh', | 11 | 'container_class' => 'group navigation nh', |
3201 | 11 | 'fallback_cb' => false | 12 | 'fallback_cb' => false |
3202 | 12 | 13 | ||
3203 | === modified file 'xubuntu-fifteen/widgets-front.php' | |||
3204 | --- xubuntu-fifteen/widgets-front.php 2015-11-25 01:41:13 +0000 | |||
3205 | +++ xubuntu-fifteen/widgets-front.php 2016-12-15 07:46:28 +0000 | |||
3206 | @@ -4,7 +4,7 @@ | |||
3207 | 4 | 4 | ||
3208 | 5 | foreach( $widget_areas as $area ) { | 5 | foreach( $widget_areas as $area ) { |
3209 | 6 | if( is_active_sidebar( $area ) ) { | 6 | if( is_active_sidebar( $area ) ) { |
3211 | 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><?php | 7 | ?><div id="<?php echo $area; ?>" class="widgets_front widgets_outer widgets_flex"><div class="widgets group"><?php dynamic_sidebar( $area ); ?></div></div><?php |
3212 | 8 | } | 8 | } |
3213 | 9 | } | 9 | } |
3214 | 10 | } | 10 | } |
3215 | 11 | 11 | ||
3216 | === added file 'xubuntu-fifteen/widgets-release.php' | |||
3217 | --- xubuntu-fifteen/widgets-release.php 1970-01-01 00:00:00 +0000 | |||
3218 | +++ xubuntu-fifteen/widgets-release.php 2016-12-15 07:46:28 +0000 | |||
3219 | @@ -0,0 +1,7 @@ | |||
3220 | 1 | <?php | ||
3221 | 2 | if( function_exists( 'dynamic_sidebar' ) && is_active_sidebar( 'release_widgets' ) ) { | ||
3222 | 3 | ?><aside id="sidebar"> | ||
3223 | 4 | <?php dynamic_sidebar( 'release_widgets' ); ?> | ||
3224 | 5 | </aside><?php | ||
3225 | 6 | } | ||
3226 | 7 | ?> | ||
3227 | 0 | \ No newline at end of file | 8 | \ No newline at end of file |