diff -r 490d5cc509ed -r cf61fcea0001 wp/wp-content/themes/twentyfourteen/style.css --- a/wp/wp-content/themes/twentyfourteen/style.css Tue Jun 09 11:14:17 2015 +0000 +++ b/wp/wp-content/themes/twentyfourteen/style.css Mon Oct 14 17:39:30 2019 +0200 @@ -4,10 +4,10 @@ Author: the WordPress team Author URI: https://wordpress.org/ Description: In 2014, our default theme lets you create a responsive magazine website with a sleek, modern design. Feature your favorite homepage content in either a grid or a slider. Use the three widget areas to customize your website, and change your content's layout with a full-width page template and a contributor page to show off your authors. Creating a magazine website with WordPress has never been easier. -Version: 1.4 +Version: 2.2 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Tags: black, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready +Tags: blog, news, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready Text Domain: twentyfourteen This theme, like WordPress, is licensed under the GPL. @@ -347,6 +347,7 @@ fieldset { border: 1px solid rgba(0, 0, 0, 0.1); margin: 0 0 24px; + min-width: inherit; padding: 11px 12px 0; } @@ -1038,6 +1039,10 @@ outline: 1px dotted; } +.secondary-navigation .customize-partial-edit-shortcut button, +.footer-sidebar .widget:first-child .customize-partial-edit-shortcut button { + left: 0; +} /** * 6.0 Content @@ -1342,55 +1347,70 @@ /* Mediaelements */ -.hentry .mejs-container { +.hentry .mejs-container, +.widget .mejs-container { margin: 12px 0 18px; } .hentry .mejs-mediaelement, -.hentry .mejs-container .mejs-controls { +.widget .mejs-mediaelement, +.hentry .mejs-container .mejs-controls, +.widget .mejs-container .mejs-controls { background: #000; } .hentry .mejs-controls .mejs-time-rail .mejs-time-loaded, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { +.widget .mejs-controls .mejs-time-rail .mejs-time-loaded, +.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current, +.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { background: #fff; } -.hentry .mejs-controls .mejs-time-rail .mejs-time-current { +.hentry .mejs-controls .mejs-time-rail .mejs-time-current, +.widget .mejs-controls .mejs-time-rail .mejs-time-current { background: #24890d; } .hentry .mejs-controls .mejs-time-rail .mejs-time-total, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { +.widget .mejs-controls .mejs-time-rail .mejs-time-total, +.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, +.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { background: rgba(255, 255, 255, .33); } -.hentry .mejs-container .mejs-controls .mejs-time { +.hentry .mejs-container .mejs-controls .mejs-time, +.widget .mejs-container .mejs-controls .mejs-time { padding-top: 9px; } .hentry .mejs-controls .mejs-time-rail span, +.widget .mejs-controls .mejs-time-rail span, .hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, -.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { +.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, +.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current, +.widget .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { border-radius: 0; } -.hentry .mejs-overlay-loading { +.hentry .mejs-overlay-loading, +.widget .mejs-overlay-loading { background: transparent; } -.hentry .mejs-overlay-button { +.hentry .mejs-overlay-button, +.widget .mejs-overlay-button { background-color: #fff; background-image: none; border-radius: 2px; box-shadow: 1px 1px 1px rgba(0,0,0,.8); color: #000; height: 36px; - margin-left: -24px; + margin: -28px 0 0 -24px; /* Keep centered on video (container includes visible controls bar) */ width: 48px; } -.hentry .mejs-overlay-button:before { +.hentry .mejs-overlay-button:before, +.widget .mejs-overlay-button:before { -webkit-font-smoothing: antialiased; content: '\f452'; display: inline-block; @@ -1400,11 +1420,13 @@ left: 10px; } -.hentry .mejs-controls .mejs-button button:focus { +.hentry .mejs-controls .mejs-button button:focus, +.widget .mejs-controls .mejs-button button:focus { outline: none; } -.hentry .mejs-controls .mejs-button button { +.hentry .mejs-controls .mejs-button button, +.widget .mejs-controls .mejs-button button { -webkit-font-smoothing: antialiased; background: none; color: #fff; @@ -1412,15 +1434,18 @@ font: normal 16px/1 Genericons; } -.hentry .mejs-playpause-button.mejs-play button:before { +.hentry .mejs-playpause-button.mejs-play button:before, +.widget .mejs-playpause-button.mejs-play button:before { content: '\f452'; } -.hentry .mejs-playpause-button.mejs-pause button:before { +.hentry .mejs-playpause-button.mejs-pause button:before, +.widget .mejs-playpause-button.mejs-pause button:before { content: '\f448'; } -.hentry .mejs-volume-button.mejs-mute button:before { +.hentry .mejs-volume-button.mejs-mute button:before, +.widget .mejs-volume-button.mejs-mute button:before { content: '\f109'; font-size: 20px; position: absolute; @@ -1428,6 +1453,7 @@ left: 0; } +.widget .mejs-volume-button.mejs-unmute button:before, .hentry .mejs-volume-button.mejs-unmute button:before { content: '\f109'; left: 0; @@ -1435,20 +1461,24 @@ top: 0; } -.hentry .mejs-fullscreen-button button:before { +.hentry .mejs-fullscreen-button button:before, +.widget .mejs-fullscreen-button button:before { content: '\f474'; } -.hentry .mejs-fullscreen-button.mejs-unfullscreen button:before { +.hentry .mejs-fullscreen-button.mejs-unfullscreen button:before, +.widget .mejs-fullscreen-button.mejs-unfullscreen button:before { content: '\f406'; } -.hentry .mejs-overlay:hover .mejs-overlay-button { +.hentry .mejs-overlay:hover .mejs-overlay-button, +.widget .mejs-overlay:hover .mejs-overlay-button { background-color: #24890d; color: #fff; } -.hentry .mejs-controls .mejs-button button:hover { +.hentry .mejs-controls .mejs-button button:hover, +.widget .mejs-controls .mejs-button button:hover { color: #41a62a; } @@ -1582,7 +1612,15 @@ .gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1), .gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1), .gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1), -.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) { +.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1), +.widget-area .gallery-columns-2 figure.gallery-item:nth-of-type(2n+1), +.widget-area .gallery-columns-3 figure.gallery-item:nth-of-type(3n+1), +.widget-area .gallery-columns-4 figure.gallery-item:nth-of-type(4n+1), +.widget-area .gallery-columns-5 figure.gallery-item:nth-of-type(5n+1), +.widget-area .gallery-columns-6 figure.gallery-item:nth-of-type(6n+1), +.widget-area .gallery-columns-7 figure.gallery-item:nth-of-type(7n+1), +.widget-area .gallery-columns-8 figure.gallery-item:nth-of-type(8n+1), +.widget-area .gallery-columns-9 figure.gallery-item:nth-of-type(9n+1) { clear: left; } @@ -1621,7 +1659,15 @@ .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, -.gallery-columns-9 .gallery-caption { +.gallery-columns-9 .gallery-caption, +.widget-area .gallery-columns-2 .gallery-caption, +.widget-area .gallery-columns-3 .gallery-caption, +.widget-area .gallery-columns-4 .gallery-caption, +.widget-area .gallery-columns-5 .gallery-caption, +.widget-area .gallery-columns-6 .gallery-caption, +.widget-area .gallery-columns-7 .gallery-caption, +.widget-area .gallery-columns-8 .gallery-caption, +.widget-area .gallery-columns-9 .gallery-caption { display: none; } @@ -2140,6 +2186,13 @@ margin-bottom: 0; } +.comment-form #wp-comment-cookies-consent { + margin: 0 10px 0 0; +} + +.comment-form .comment-form-cookies-consent label { + display: inline; +} /** * 7.0 Sidebars @@ -2521,7 +2574,8 @@ .widget_nav_menu li, .widget_pages li, .widget_recent_comments li, -.widget_recent_entries li { +.widget_recent_entries li, +.widget_text li { border-top: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 0 9px; } @@ -2533,7 +2587,8 @@ .widget_nav_menu li:first-child, .widget_pages li:first-child, .widget_recent_comments li:first-child, -.widget_recent_entries li:first-child { +.widget_recent_entries li:first-child, +.widget_text li { border-top: 0; } @@ -2546,10 +2601,19 @@ .widget_categories li li:last-child, .widget_nav_menu li li:last-child, -.widget_pages li li:last-child { +.widget_pages li li:last-child, +.widget_text li li:last-child { padding-bottom: 0; } +.tagcloud ul { + list-style-type: none; +} + +.tagcloud ul li { + display: inline-block; +} + /* Recent Posts Widget */ .widget_recent_entries .post-date { @@ -2584,6 +2648,24 @@ margin-bottom: 0; } +.widget_text ul, +.widget_text ol { + margin: 0 0 12px 10px; +} + +.widget_text li > ul, +.widget_text li > ol { + margin-bottom: 0; +} + +.widget_text ul { + list-style: disc inside; +} + +.widget_text ol { + list-style: decimal inside; +} + /** * 7.2 Content Sidebar Widgets @@ -2711,7 +2793,8 @@ .content-sidebar .widget_recent_entries li, .content-sidebar .widget_categories li ul, .content-sidebar .widget_nav_menu li ul, -.content-sidebar .widget_pages li ul { +.content-sidebar .widget_pages li ul, +.content-sidebar .widget_text li ul { border-color: rgba(0, 0, 0, 0.1); } @@ -2840,6 +2923,13 @@ color: #41a62a; } +.site-info span[role=separator] { + padding: 0 0.25em 0 0.5em; +} + +.site-info span[role=separator]::before { + content: '\002f'; +} /** * 9.0 Featured Content @@ -3087,6 +3177,18 @@ width: device-width; } +/* Adjust positioning of edit shortcuts, override style in customize-preview.css */ +@media screen and (max-width:800px) { + body.customize-partial-edit-shortcuts-shown .site-header .site-title { + padding-left: 8px; + } + + .site-header .customize-partial-edit-shortcut button { + top: 10px; + } +} + + @media screen and (max-width: 400px) { .list-view .site-content .post-thumbnail { background: none; @@ -3161,6 +3263,17 @@ } } +/* Adjust positioning of edit shortcuts, override style in customize-preview.css */ +@media screen and (max-width:320px) { + .site-header .customize-partial-edit-shortcut button { + left: -32px; + } + + body.customize-partial-edit-shortcuts-shown .site-header .site-title { + padding-left: 28px; + } +} + @media screen and (min-width: 401px) { a.post-thumbnail:hover img { opacity: 0.85; @@ -3945,7 +4058,8 @@ .primary-sidebar .widget_nav_menu li, .primary-sidebar .widget_pages li, .primary-sidebar .widget_recent_comments li, - .primary-sidebar .widget_recent_entries li { + .primary-sidebar .widget_recent_entries li, + .primary-sidebar .widget_text li { border-top: 0; padding: 0 0 6px; } @@ -3965,7 +4079,8 @@ .primary-sidebar .widget_nav_menu li:last-child, .primary-sidebar .widget_pages li:last-child, .primary-sidebar .widget_recent_comments li:last-child, - .primary-sidebar .widget_recent_entries li:last-child { + .primary-sidebar .widget_recent_entries li:last-child, + .primary-sidebar .widget_text li:last-child { padding: 0; } @@ -3974,7 +4089,8 @@ .footer-sidebar .widget_pages li ul, .primary-sidebar .widget_categories li ul, .primary-sidebar .widget_nav_menu li ul, - .primary-sidebar .widget_pages li ul { + .primary-sidebar .widget_pages li ul, + .primary-sidebar .widget_text li ul { border-top: 0; margin-top: 6px; }