X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa6ee2c363cdfdebcb4b76e4d9c4347a4cb19065..7f1521bf193b382565eb753043c161f4cb3fcda7:/wp-content/themes/twentyfifteen/style.css diff --git a/wp-content/themes/twentyfifteen/style.css b/wp-content/themes/twentyfifteen/style.css index f90dfbae..2a555606 100644 --- a/wp-content/themes/twentyfifteen/style.css +++ b/wp-content/themes/twentyfifteen/style.css @@ -1,10 +1,10 @@ /* Theme Name: Twenty Fifteen -Theme URI: https://wordpress.org/themes/twentyfifteen +Theme URI: https://wordpress.org/themes/twentyfifteen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: Our 2015 default theme is clean, blog-focused, and designed for clarity. Twenty Fifteen's simple, straightforward typography is readable on a wide variety of screen sizes, and suitable for multiple languages. We designed it using a mobile-first approach, meaning your content takes center-stage, regardless of whether your visitors arrive by smartphone, tablet, laptop, or desktop computer. -Version: 1.0 +Version: 1.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, blue, gray, pink, purple, white, yellow, dark, light, two-columns, left-sidebar, fixed-layout, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready @@ -39,24 +39,24 @@ Use it to make something cool, have fun, and share what you've learned with othe * 14.0 - Media * 14.1 - Captions * 14.2 - Galleries - * 15.0 - Media Queries - * 15.1 - Mobile Large - * 15.2 - Tablet Small - * 15.3 - Tablet Large - * 15.4 - Desktop Small - * 15.5 - Desktop Medium - * 15.6 - Desktop Large - * 15.7 - Desktop X-Large + * 15.0 - Multisite + * 16.0 - Media Queries + * 16.1 - Mobile Large + * 16.2 - Tablet Small + * 16.3 - Tablet Large + * 16.4 - Desktop Small + * 16.5 - Desktop Medium + * 16.6 - Desktop Large + * 16.7 - Desktop X-Large + * 17.0 - Print */ /** * 1.0 - Reset * - * Resetting and rebuilding styles have been helped along thanks to the fine work of - * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html - * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ - * and Blueprint http://www.blueprintcss.org/ + * Resetting and rebuilding styles have been helped along thanks to the fine + * work of Eric Meyer, Nicolas Gallagher, Jonathan Neal, and Blueprint. */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { @@ -680,9 +680,8 @@ a:focus { position: relative; } -.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, -.main-navigation .current_page_ancestor > a { +.main-navigation .current-menu-ancestor > a { font-weight: 700; } @@ -691,7 +690,6 @@ a:focus { border-top: 0; } -.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a { padding-right: 48px; } @@ -781,10 +779,6 @@ a:focus { left: 0; } -.social-navigation a[href$="/feed/"]:before { - content: "\f413"; -} - .social-navigation a[href*="codepen.io"]:before { content: "\f216"; } @@ -882,6 +876,10 @@ a:focus { content: "\f516"; } +.social-navigation a[href$="/feed/"]:before { + content: "\f413"; +} + .secondary-toggle { background-color: transparent; border: 1px solid #eaeaea; @@ -2562,7 +2560,100 @@ p > video { /** - * 15.0 Media Queries + * 15.0 Multisite + */ + +.widecolumn { + background-color: #fff; + padding: 7.6923%; +} + +.widecolumn .mu_register { + width: auto; +} + +.widecolumn .mu_alert { + margin-bottom: 1.6em; +} + +.widecolumn form, +.widecolumn .mu_register form { + margin-top: 0; +} + +.widecolumn h2 { + font-size: 26px; + font-size: 2.6rem; + line-height: 1.1538; + margin-bottom: 0.9231em; +} + +.widecolumn p { + margin: 1.6em 0; +} + +.widecolumn p + h2 { + margin-top: 1.8462em; +} + +.widecolumn label, +.widecolumn .mu_register label { + color: #707070; + color: rgba(51, 51, 51, 0.7); + font-family: "Noto Sans", sans-serif; + font-size: 12px; + font-size: 1.2rem; + font-weight: 700; + letter-spacing: 0.04em; + line-height: 1.5; + text-transform: uppercase; +} + +.widecolumn .mu_register label { + margin: 2em 0 0; +} + +.widecolumn #key, +.widecolumn .mu_register #blog_title, +.widecolumn .mu_register #user_email, +.widecolumn .mu_register #blogname, +.widecolumn .mu_register #user_name { + font-size: 16px; + font-size: 1.6rem; + width: 100%; +} + +.widecolumn .mu_register #blogname { + margin: 0; +} + +.widecolumn .mu_register #blog_title, +.widecolumn .mu_register #user_email, +.widecolumn .mu_register #user_name { + margin: 0 0 0.375em; +} + +.widecolumn #submit, +.widecolumn .mu_register input[type="submit"] { + font-size: 12px; + font-size: 1.2rem; + margin: 0; + width: 100%; +} + +.widecolumn .mu_register .prefix_address, +.widecolumn .mu_register .suffix_address { + font-size: inherit; +} + +.widecolumn .mu_register > :last-child, +.widecolumn form > :last-child { + margin-bottom: 0; +} + + +/** + * 16.0 Media Queries */ /* @@ -2580,7 +2671,7 @@ p > video { } /** - * 15.1 Mobile Large 620px + * 16.1 Mobile Large 620px */ @media screen and (min-width: 38.75em) { @@ -2619,6 +2710,7 @@ p > video { } .secondary { + box-shadow: 0 0 1px rgba(0, 0, 0, 0.15); margin: 7.6923% 7.6923% 0; padding: 7.6923% 7.6923% 0; } @@ -2764,11 +2856,16 @@ p > video { .comment-content blockquote > ol { margin-left: 1.3333em; } + + .widecolumn { + box-shadow: 0 0 1px rgba(0, 0, 0, 0.15); + margin: 7.6923%; + } } /** - * 15.2 Tablet Small 740px + * 16.2 Tablet Small 740px */ @media screen and (min-width: 46.25em) { @@ -2827,7 +2924,9 @@ p > video { input[type="button"], input[type="reset"], input[type="submit"], - .post-password-form input[type="submit"] { + .post-password-form input[type="submit"], + .widecolumn #submit, + .widecolumn .mu_register input[type="submit"] { font-size: 14px; font-size: 1.4rem; padding: 0.8214em 1.6429em; @@ -2856,11 +2955,6 @@ p > video { margin-left: 1em; } - .main-navigation .page_item_has_children > a, - .main-navigation .main-navigation .menu-item-has-children > a { - padding-right: 54px; - } - .main-navigation .menu-item-description { font-size: 14px; font-size: 1.4rem; @@ -2906,7 +3000,9 @@ p > video { .site-info, .wp-caption-text, .gallery-caption, - .entry-caption { + .entry-caption, + .widecolumn label, + .widecolumn .mu_register label { font-size: 14px; font-size: 1.4rem; } @@ -3133,7 +3229,8 @@ p > video { margin-bottom: 3em; } - .entry-title { + .entry-title, + .widecolumn h2 { font-size: 35px; font-size: 3.5rem; line-height: 1.2; @@ -3361,11 +3458,39 @@ p > video { .gallery { margin-bottom: 1.6471em; } + + .widecolumn .mu_alert { + margin-bottom: 1.6471em; + } + + .widecolumn p { + margin: 1.6471em 0; + } + + .widecolumn p + h2 { + margin-top: 1.6em; + } + + .widecolumn #key, + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #blogname, + .widecolumn .mu_register #user_name { + font-size: 17px; + font-size: 1.7rem; + line-height: normal; + } + + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #user_name { + margin: 0 0 0.4117em; + } } /** - * 15.3 Tablet Large 880px + * 16.3 Tablet Large 880px */ @media screen and (min-width: 55em) { @@ -3424,7 +3549,9 @@ p > video { input[type="button"], input[type="reset"], input[type="submit"], - .post-password-form input[type="submit"] { + .post-password-form input[type="submit"], + .widecolumn #submit, + .widecolumn .mu_register input[type="submit"] { font-size: 16px; font-size: 1.6rem; padding: 0.8125em 1.625em; @@ -3449,11 +3576,6 @@ p > video { padding: 0.75em 0; } - .main-navigation .page_item_has_children > a, - .main-navigation .main-navigation .menu-item-has-children > a { - padding-right: 53px; - } - .main-navigation .menu-item-description { font-size: 16px; font-size: 1.6rem; @@ -3499,7 +3621,9 @@ p > video { .site-info, .wp-caption-text, .gallery-caption, - .entry-caption { + .entry-caption, + .widecolumn label, + .widecolumn .mu_register label { font-size: 16px; font-size: 1.6rem; } @@ -3669,7 +3793,8 @@ p > video { margin-bottom: 2.9474em; } - .entry-title { + .entry-title, + .widecolumn h2 { font-size: 39px; font-size: 3.9rem; line-height: 1.2308; @@ -3882,11 +4007,38 @@ p > video { .gallery { margin-bottom: 1.6842em; } + + .widecolumn .mu_alert { + margin-bottom: 1.6842em; + } + + .widecolumn p { + margin: 1.6842em 0; + } + + .widecolumn p + h2 { + margin-top: 1.641em; + } + + .widecolumn #key, + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #blogname, + .widecolumn .mu_register #user_name { + font-size: 19px; + font-size: 1.9rem; + } + + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #user_name { + margin: 0 0 0.421em; + } } /** - * 15.4 Desktop Small 955px + * 16.4 Desktop Small 955px */ @media screen and (min-width: 59.6875em) { @@ -3919,6 +4071,7 @@ p > video { .secondary { background-color: transparent; + box-shadow: none; display: block; margin: 0; padding: 0; @@ -3991,7 +4144,9 @@ p > video { input[type="button"], input[type="reset"], input[type="submit"], - .post-password-form input[type="submit"] { + .post-password-form input[type="submit"], + .widecolumn #submit, + .widecolumn .mu_register input[type="submit"] { font-size: 12px; font-size: 1.2rem; padding: 0.7917em 1.5833em; @@ -4016,9 +4171,8 @@ p > video { padding: 0.5em 0; } - .main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a { - padding-right: 35px; + padding-right: 30px; } .main-navigation .menu-item-description { @@ -4078,7 +4232,9 @@ p > video { .site-info, .wp-caption-text, .gallery-caption, - .entry-caption { + .entry-caption, + .widecolumn label, + .widecolumn .mu_register label { font-size: 12px; font-size: 1.2rem; } @@ -4295,7 +4451,8 @@ p > video { padding: 0 10%; } - .entry-title { + .entry-title, + .widecolumn h2 { font-size: 31px; font-size: 3.1rem; line-height: 1.1613; @@ -4552,11 +4709,43 @@ p > video { .gallery { margin-bottom: 1.6em; } + + .widecolumn { + margin: 8.3333%; + padding: 8.3333%; + } + + .widecolumn .mu_alert { + margin-bottom: 1.6em; + } + + .widecolumn p { + margin: 1.6em 0; + } + + .widecolumn p + h2 { + margin-top: 1.5484em; + } + + .widecolumn #key, + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #blogname, + .widecolumn .mu_register #user_name { + font-size: 16px; + font-size: 1.6rem; + } + + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #user_name { + margin: 0 0 0.375em; + } } /** - * 15.5 Desktop Medium 1100px + * 16.5 Desktop Medium 1100px */ @media screen and (min-width: 68.75em) { @@ -4615,7 +4804,9 @@ p > video { input[type="button"], input[type="reset"], input[type="submit"], - .post-password-form input[type="submit"] { + .post-password-form input[type="submit"], + .widecolumn #submit, + .widecolumn .mu_register input[type="submit"] { font-size: 14px; font-size: 1.4rem; padding: 0.8214em 1.5714em; @@ -4639,9 +4830,8 @@ p > video { padding: 0.4643em 0; } - .main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a { - padding-right: 33px; + padding-right: 34px; } .main-navigation .menu-item-description { @@ -4691,7 +4881,9 @@ p > video { .site-info, .wp-caption-text, .gallery-caption, - .entry-caption { + .entry-caption, + .widecolumn label, + .widecolumn .mu_register label { font-size: 14px; font-size: 1.4rem; } @@ -4841,7 +5033,8 @@ p > video { margin-bottom: 2.4706em; } - .entry-title { + .entry-title, + .widecolumn h2 { font-size: 35px; font-size: 3.5rem; line-height: 1.2; @@ -5059,11 +5252,38 @@ p > video { .gallery { margin-bottom: 1.6471em; } + + .widecolumn .mu_alert { + margin-bottom: 1.6471em; + } + + .widecolumn p { + margin: 1.6471em 0; + } + + .widecolumn p + h2 { + margin-top: 1.6em; + } + + .widecolumn #key, + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #blogname, + .widecolumn .mu_register #user_name { + font-size: 17px; + font-size: 1.7rem; + } + + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #user_name { + margin: 0 0 0.4117em; + } } /** - * 15.6 Desktop Large 1240px + * 16.6 Desktop Large 1240px */ @media screen and (min-width: 77.5em) { @@ -5122,7 +5342,9 @@ p > video { input[type="button"], input[type="reset"], input[type="submit"], - .post-password-form input[type="submit"] { + .post-password-form input[type="submit"], + .widecolumn #submit, + .widecolumn .mu_register input[type="submit"] { font-size: 16px; font-size: 1.6rem; padding: 0.8125em 1.625em; @@ -5146,9 +5368,8 @@ p > video { padding: 0.5em 0; } - .main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a { - padding-right: 32px; + padding-right: 38px; } .main-navigation .menu-item-description { @@ -5197,7 +5418,9 @@ p > video { .site-info, .wp-caption-text, .gallery-caption, - .entry-caption { + .entry-caption, + .widecolumn label, + .widecolumn .mu_register label { font-size: 16px; font-size: 1.6rem; } @@ -5359,7 +5582,8 @@ p > video { margin-bottom: 2.9474em; } - .entry-title { + .entry-title, + .widecolumn h2 { font-size: 39px; font-size: 3.9rem; line-height: 1.2308; @@ -5568,11 +5792,38 @@ p > video { .gallery { margin-bottom: 1.6842em; } + + .widecolumn .mu_alert { + margin-bottom: 1.6842em; + } + + .widecolumn p { + margin: 1.6842em 0; + } + + .widecolumn p + h2 { + margin-top: 1.641em; + } + + .widecolumn #key, + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #blogname, + .widecolumn .mu_register #user_name { + font-size: 19px; + font-size: 1.9rem; + } + + .widecolumn .mu_register #blog_title, + .widecolumn .mu_register #user_email, + .widecolumn .mu_register #user_name { + margin: 0 0 0.421em; + } } /** - * 15.7 Desktop X-Large 1403px + * 16.7 Desktop X-Large 1403px */ @media screen and (min-width: 87.6875em) { @@ -5584,7 +5835,7 @@ p > video { /** - * 16.0 Print + * 17.0 Print */ @media print { @@ -5604,7 +5855,9 @@ p > video { button, input, textarea, - select { + select, + .widecolumn form, + .widecolumn .mu_register form { display: none; } @@ -5614,7 +5867,8 @@ p > video { .entry-footer, .page-header, .page-content, - .comments-area { + .comments-area, + .widecolumn { background: none !important; /* Make sure color schemes dont't affect to print */ } @@ -5668,6 +5922,10 @@ p > video { margin: 0 7.6923%; } + .sidebar { + position: relative !important; /* Make sure sticky sidebar doesn't affect to print */ + } + .site-branding { padding: 0; } @@ -5728,4 +5986,9 @@ p > video { margin-top: 7.6923%; padding: 3.84615% 0; } + + .widecolumn { + margin: 7.6923% 0 0; + padding: 0; + } }