From cab232ed18eb0fb3106fcd3086561d1be8e99422 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Fri, 4 Mar 2016 01:18:04 +0900 Subject: [PATCH 01/13] Merge diff between sass and css --- sass/forms/_buttons.scss | 4 +- sass/site/secondary/_widgets.scss | 2 +- sass/style.scss | 2 +- style.css | 85 ++++++++++--------------------- 4 files changed, 31 insertions(+), 62 deletions(-) diff --git a/sass/forms/_buttons.scss b/sass/forms/_buttons.scss index 3e3864b0b2..7d80e4aea0 100644 --- a/sass/forms/_buttons.scss +++ b/sass/forms/_buttons.scss @@ -7,7 +7,7 @@ input[type="submit"] { border-radius: 3px; background: $color__background-button; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); - color: rgba(0, 0, 0, .8); + color: rgba(0, 0, 0, 0.8); @include font-size(0.75); line-height: 1; padding: .6em 1em .4em; @@ -23,4 +23,4 @@ input[type="submit"] { border-color: $color__border-button-focus; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } -} \ No newline at end of file +} diff --git a/sass/site/secondary/_widgets.scss b/sass/site/secondary/_widgets.scss index 09b3d7423d..bb61393e8c 100644 --- a/sass/site/secondary/_widgets.scss +++ b/sass/site/secondary/_widgets.scss @@ -1,8 +1,8 @@ .widget { margin: 0 0 1.5em; - /* Make sure select elements fit in widgets. */ select { max-width: 100%; + /* Make sure select elements fit in widgets. */ } } diff --git a/sass/style.scss b/sass/style.scss index 0b5f14ca9b..13870f08e9 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -35,7 +35,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ # Clearings # Widgets # Content - ## Posts and pages + ## Posts and pages ## Asides ## Comments # Infinite scroll diff --git a/style.css b/style.css index 3dd66728db..ac84f1c961 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -/* +/*! Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic @@ -13,7 +13,7 @@ Tags: This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. -_s is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. +_s is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of @@ -360,6 +360,10 @@ body { background: #fff; /* Fallback for when there is no custom background color defined. */ } +blockquote, +q { + quotes: "" ""; +} blockquote:before, blockquote:after, q:before, @@ -367,11 +371,6 @@ q:after { content: ""; } -blockquote, -q { - quotes: "" ""; -} - hr { background-color: #ccc; border: 0; @@ -428,7 +427,7 @@ input[type="submit"] { border-radius: 3px; background: #e6e6e6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); - color: rgba(0, 0, 0, .8); + color: rgba(0, 0, 0, 0.8); font-size: 12px; font-size: 0.75rem; line-height: 1; @@ -443,15 +442,14 @@ input[type="submit"]:hover { border-color: #ccc #bbb #aaa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } - -button:focus, -input[type="button"]:focus, -input[type="reset"]:focus, -input[type="submit"]:focus, button:active, +button:focus, input[type="button"]:active, +input[type="button"]:focus, input[type="reset"]:active, -input[type="submit"]:active { +input[type="reset"]:focus, +input[type="submit"]:active, +input[type="submit"]:focus { border-color: #aaa #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } @@ -476,11 +474,6 @@ textarea { border: 1px solid #ccc; border-radius: 3px; } - -select { - border: 1px solid #ccc; -} - input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, @@ -500,6 +493,10 @@ textarea:focus { color: #111; } +select { + border: 1px solid #ccc; +} + input[type="text"], input[type="email"], input[type="url"], @@ -568,17 +565,6 @@ a:active { margin: 0; padding-left: 0; } - -.main-navigation li { - float: left; - position: relative; -} - -.main-navigation a { - display: block; - text-decoration: none; -} - .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; @@ -592,41 +578,24 @@ a:active { left: -999em; top: 0; } - +.main-navigation ul ul li:hover > ul, +.main-navigation ul ul li.focus > ul { + left: 100%; +} .main-navigation ul ul a { width: 200px; } - -.main-navigation ul ul li { - -} - -.main-navigation li:hover > a, -.main-navigation li.focus > a { -} - -.main-navigation ul ul :hover > a, -.main-navigation ul ul .focus > a { -} - -.main-navigation ul ul a:hover, -.main-navigation ul ul a.focus { -} - .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } - -.main-navigation ul ul li:hover > ul, -.main-navigation ul ul li.focus > ul { - left: 100%; +.main-navigation li { + float: left; + 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 { +.main-navigation a { + display: block; + text-decoration: none; } /* Small menu. */ @@ -761,9 +730,9 @@ a:active { margin: 0 0 1.5em; } -/* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; + /* Make sure select elements fit in widgets. */ } /*-------------------------------------------------------------- From fe7d8ea69724f33547add79b95a515c1f79c2bdc Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Sun, 20 Mar 2016 23:47:40 +0900 Subject: [PATCH 02/13] Put back un-styled selectors --- style.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/style.css b/style.css index ac84f1c961..5acbd1aa25 100644 --- a/style.css +++ b/style.css @@ -578,6 +578,8 @@ a:active { left: -999em; top: 0; } +.main-navigation ul ul li { +} .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; @@ -585,6 +587,12 @@ a:active { .main-navigation ul ul a { width: 200px; } +.main-navigation ul ul :hover > a, +.main-navigation ul ul .focus > a { +} +.main-navigation ul ul a:hover, +.main-navigation ul ul a.focus { +} .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; From c7c157997687e5ad3c44ba579fbf6056a96ad466 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Mon, 21 Mar 2016 00:06:28 +0900 Subject: [PATCH 03/13] Put back un-styled selectors --- style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/style.css b/style.css index 5acbd1aa25..2e0682f67d 100644 --- a/style.css +++ b/style.css @@ -605,6 +605,11 @@ a:active { display: block; text-decoration: none; } +.main-navigation .current_page_item > a, +.main-navigation .current-menu-item > a, +.main-navigation .current_page_ancestor > a, +.main-navigation .current-menu-ancestor > a { +} /* Small menu. */ .menu-toggle, From ee0661c9139cc2c0d0f3bebc7b17816b7b17db2b Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Mon, 21 Mar 2016 00:21:15 +0900 Subject: [PATCH 04/13] Put back un-styled selectors --- style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/style.css b/style.css index 2e0682f67d..4ba2491606 100644 --- a/style.css +++ b/style.css @@ -601,6 +601,9 @@ a:active { float: left; position: relative; } +.main-navigation li:hover > a, +.main-navigation li.focus > a { +} .main-navigation a { display: block; text-decoration: none; From 1c5a7b1713626695eccd2938c00bf30d3fe1f192 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Sat, 26 Mar 2016 15:17:36 +0900 Subject: [PATCH 05/13] Add blank line between selectors and put back the explanation mark --- sass/style.scss | 2 +- style.css | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 13870f08e9..c453c7536d 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,4 +1,4 @@ -/*! +/* Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic diff --git a/style.css b/style.css index 4ba2491606..27b229a16e 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -/*! +/* Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic @@ -364,6 +364,7 @@ blockquote, q { quotes: "" ""; } + blockquote:before, blockquote:after, q:before, @@ -442,6 +443,7 @@ input[type="submit"]:hover { border-color: #ccc #bbb #aaa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } + button:active, button:focus, input[type="button"]:active, @@ -474,6 +476,7 @@ textarea { border: 1px solid #ccc; border-radius: 3px; } + input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, @@ -565,6 +568,7 @@ a:active { margin: 0; padding-left: 0; } + .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; @@ -578,36 +582,46 @@ a:active { left: -999em; top: 0; } + .main-navigation ul ul li { } + .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; } + .main-navigation ul ul a { width: 200px; } + .main-navigation ul ul :hover > a, .main-navigation ul ul .focus > a { } + .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { } + .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } + .main-navigation li { float: left; position: relative; } + .main-navigation li:hover > a, .main-navigation li.focus > a { } + .main-navigation a { display: block; text-decoration: none; } + .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, From 8e7043d395a13e3365c78377d0a800bfe6c5733e Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Thu, 31 Mar 2016 00:33:09 +0900 Subject: [PATCH 06/13] Put back the exclamation mark --- sass/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sass/style.scss b/sass/style.scss index c453c7536d..13870f08e9 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,4 +1,4 @@ -/* +/*! Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic From fa8cecbd7cee50ba2cd6d13b51bd68036febe81e Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:42:57 +0900 Subject: [PATCH 07/13] Revert "Put back the exclamation mark" This reverts commit 8e7043d395a13e3365c78377d0a800bfe6c5733e. --- sass/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sass/style.scss b/sass/style.scss index 13870f08e9..c453c7536d 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,4 +1,4 @@ -/*! +/* Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic From 4cc805f660c2179e824351ddda944d6b48e11893 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:43:10 +0900 Subject: [PATCH 08/13] Revert "Add blank line between selectors and put back the explanation mark" This reverts commit 1c5a7b1713626695eccd2938c00bf30d3fe1f192. --- sass/style.scss | 2 +- style.css | 16 +--------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index c453c7536d..13870f08e9 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -1,4 +1,4 @@ -/* +/*! Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic diff --git a/style.css b/style.css index 27b229a16e..4ba2491606 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -/* +/*! Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic @@ -364,7 +364,6 @@ blockquote, q { quotes: "" ""; } - blockquote:before, blockquote:after, q:before, @@ -443,7 +442,6 @@ input[type="submit"]:hover { border-color: #ccc #bbb #aaa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } - button:active, button:focus, input[type="button"]:active, @@ -476,7 +474,6 @@ textarea { border: 1px solid #ccc; border-radius: 3px; } - input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, @@ -568,7 +565,6 @@ a:active { margin: 0; padding-left: 0; } - .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; @@ -582,46 +578,36 @@ a:active { left: -999em; top: 0; } - .main-navigation ul ul li { } - .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; } - .main-navigation ul ul a { width: 200px; } - .main-navigation ul ul :hover > a, .main-navigation ul ul .focus > a { } - .main-navigation ul ul a:hover, .main-navigation ul ul a.focus { } - .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } - .main-navigation li { float: left; position: relative; } - .main-navigation li:hover > a, .main-navigation li.focus > a { } - .main-navigation a { display: block; text-decoration: none; } - .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, From 667dd6d51109ec80e6b4f7f3377ba1309e4f09ef Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:43:20 +0900 Subject: [PATCH 09/13] Revert "Put back un-styled selectors" This reverts commit ee0661c9139cc2c0d0f3bebc7b17816b7b17db2b. --- style.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/style.css b/style.css index 4ba2491606..2e0682f67d 100644 --- a/style.css +++ b/style.css @@ -601,9 +601,6 @@ a:active { float: left; position: relative; } -.main-navigation li:hover > a, -.main-navigation li.focus > a { -} .main-navigation a { display: block; text-decoration: none; From 5785c21e0708598e217d0c884f4580cd383aba59 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:43:29 +0900 Subject: [PATCH 10/13] Revert "Put back un-styled selectors" This reverts commit c7c157997687e5ad3c44ba579fbf6056a96ad466. --- style.css | 5 ----- 1 file changed, 5 deletions(-) diff --git a/style.css b/style.css index 2e0682f67d..5acbd1aa25 100644 --- a/style.css +++ b/style.css @@ -605,11 +605,6 @@ a:active { display: block; text-decoration: none; } -.main-navigation .current_page_item > a, -.main-navigation .current-menu-item > a, -.main-navigation .current_page_ancestor > a, -.main-navigation .current-menu-ancestor > a { -} /* Small menu. */ .menu-toggle, From 2d96e1cc566c14ee7a595baad8c923374cdd44c3 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:43:36 +0900 Subject: [PATCH 11/13] Revert "Put back un-styled selectors" This reverts commit fe7d8ea69724f33547add79b95a515c1f79c2bdc. --- style.css | 8 -------- 1 file changed, 8 deletions(-) diff --git a/style.css b/style.css index 5acbd1aa25..ac84f1c961 100644 --- a/style.css +++ b/style.css @@ -578,8 +578,6 @@ a:active { left: -999em; top: 0; } -.main-navigation ul ul li { -} .main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul { left: 100%; @@ -587,12 +585,6 @@ a:active { .main-navigation ul ul a { width: 200px; } -.main-navigation ul ul :hover > a, -.main-navigation ul ul .focus > a { -} -.main-navigation ul ul a:hover, -.main-navigation ul ul a.focus { -} .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; From 3e62df0a536308c7b2cffa6207bb4926f65f1e22 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:43:47 +0900 Subject: [PATCH 12/13] Revert "Merge diff between sass and css" This reverts commit cab232ed18eb0fb3106fcd3086561d1be8e99422. --- sass/forms/_buttons.scss | 4 +- sass/site/secondary/_widgets.scss | 2 +- sass/style.scss | 2 +- style.css | 85 +++++++++++++++++++++---------- 4 files changed, 62 insertions(+), 31 deletions(-) diff --git a/sass/forms/_buttons.scss b/sass/forms/_buttons.scss index 7d80e4aea0..3e3864b0b2 100644 --- a/sass/forms/_buttons.scss +++ b/sass/forms/_buttons.scss @@ -7,7 +7,7 @@ input[type="submit"] { border-radius: 3px; background: $color__background-button; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); - color: rgba(0, 0, 0, 0.8); + color: rgba(0, 0, 0, .8); @include font-size(0.75); line-height: 1; padding: .6em 1em .4em; @@ -23,4 +23,4 @@ input[type="submit"] { border-color: $color__border-button-focus; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } -} +} \ No newline at end of file diff --git a/sass/site/secondary/_widgets.scss b/sass/site/secondary/_widgets.scss index bb61393e8c..09b3d7423d 100644 --- a/sass/site/secondary/_widgets.scss +++ b/sass/site/secondary/_widgets.scss @@ -1,8 +1,8 @@ .widget { margin: 0 0 1.5em; + /* Make sure select elements fit in widgets. */ select { max-width: 100%; - /* Make sure select elements fit in widgets. */ } } diff --git a/sass/style.scss b/sass/style.scss index 13870f08e9..0b5f14ca9b 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -35,7 +35,7 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ # Clearings # Widgets # Content - ## Posts and pages + ## Posts and pages ## Asides ## Comments # Infinite scroll diff --git a/style.css b/style.css index ac84f1c961..3dd66728db 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,4 @@ -/*! +/* Theme Name: _s Theme URI: http://underscores.me/ Author: Automattic @@ -13,7 +13,7 @@ Tags: This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. -_s is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc. +_s is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of @@ -360,10 +360,6 @@ body { background: #fff; /* Fallback for when there is no custom background color defined. */ } -blockquote, -q { - quotes: "" ""; -} blockquote:before, blockquote:after, q:before, @@ -371,6 +367,11 @@ q:after { content: ""; } +blockquote, +q { + quotes: "" ""; +} + hr { background-color: #ccc; border: 0; @@ -427,7 +428,7 @@ input[type="submit"] { border-radius: 3px; background: #e6e6e6; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); - color: rgba(0, 0, 0, 0.8); + color: rgba(0, 0, 0, .8); font-size: 12px; font-size: 0.75rem; line-height: 1; @@ -442,14 +443,15 @@ input[type="submit"]:hover { border-color: #ccc #bbb #aaa; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); } -button:active, + button:focus, -input[type="button"]:active, input[type="button"]:focus, -input[type="reset"]:active, input[type="reset"]:focus, -input[type="submit"]:active, -input[type="submit"]:focus { +input[type="submit"]:focus, +button:active, +input[type="button"]:active, +input[type="reset"]:active, +input[type="submit"]:active { border-color: #aaa #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); } @@ -474,6 +476,11 @@ textarea { border: 1px solid #ccc; border-radius: 3px; } + +select { + border: 1px solid #ccc; +} + input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, @@ -493,10 +500,6 @@ textarea:focus { color: #111; } -select { - border: 1px solid #ccc; -} - input[type="text"], input[type="email"], input[type="url"], @@ -565,6 +568,17 @@ a:active { margin: 0; padding-left: 0; } + +.main-navigation li { + float: left; + position: relative; +} + +.main-navigation a { + display: block; + text-decoration: none; +} + .main-navigation ul ul { box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); float: left; @@ -578,24 +592,41 @@ a:active { left: -999em; top: 0; } -.main-navigation ul ul li:hover > ul, -.main-navigation ul ul li.focus > ul { - left: 100%; -} + .main-navigation ul ul a { width: 200px; } + +.main-navigation ul ul li { + +} + +.main-navigation li:hover > a, +.main-navigation li.focus > a { +} + +.main-navigation ul ul :hover > a, +.main-navigation ul ul .focus > a { +} + +.main-navigation ul ul a:hover, +.main-navigation ul ul a.focus { +} + .main-navigation ul li:hover > ul, .main-navigation ul li.focus > ul { left: auto; } -.main-navigation li { - float: left; - position: relative; + +.main-navigation ul ul li:hover > ul, +.main-navigation ul ul li.focus > ul { + left: 100%; } -.main-navigation a { - display: block; - text-decoration: none; + +.main-navigation .current_page_item > a, +.main-navigation .current-menu-item > a, +.main-navigation .current_page_ancestor > a, +.main-navigation .current-menu-ancestor > a { } /* Small menu. */ @@ -730,9 +761,9 @@ a:active { margin: 0 0 1.5em; } +/* Make sure select elements fit in widgets. */ .widget select { max-width: 100%; - /* Make sure select elements fit in widgets. */ } /*-------------------------------------------------------------- From 0c9657f8e3c76dfbb5e7089d945fe488216cf6f5 Mon Sep 17 00:00:00 2001 From: Yusuke Takahashi Date: Tue, 31 Oct 2017 22:51:46 +0900 Subject: [PATCH 13/13] Add a line break before comments --- style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index 8ec6421cf9..29725ef0d1 100644 --- a/style.css +++ b/style.css @@ -608,7 +608,8 @@ a:hover, a:active { padding: 0; position: absolute !important; width: 1px; - word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */ + word-wrap: normal !important; + /* Many screen reader and browser combinations announce broken words as they would appear visually. */ } .screen-reader-text:focus {