From 4e1425710eefc731e8ac362f06dde4b6b496a2dd Mon Sep 17 00:00:00 2001 From: tdro Date: Fri, 14 Oct 2022 02:05:39 -0400 Subject: assets/css/default: Specificity adjustments --- assets/css/default.css | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/assets/css/default.css b/assets/css/default.css index d0bf2ef..2845e97 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -267,10 +267,6 @@ blockquote { padding-left: 2rem; } -blockquote p { - font-size: 125%; -} - blockquote p span { display: block; text-align: right; @@ -334,6 +330,7 @@ blockquote span { blockquote p { font-family: Charter, Georgia, "Book Antiqua", serif; + font-size: 125%; } pre, @@ -897,18 +894,14 @@ micro-author micro-summary p:not(:last-child) { max-width: 20rem; } -author-list p { - display: none; +micro-thumbnail figure { + margin: 0 0.75rem 0 0; } -micro-thumbnail a { +micro-thumbnail figure > a { display: block; } -micro-thumbnail figure { - margin: 0 0.75rem 0 0; -} - micro-thumbnail figure img { border-radius: 100%; min-width: 3.5rem; @@ -1110,8 +1103,9 @@ micro-header section { } micro-header-title { - margin-right: 1rem; flex: 1; + line-height: 1.25; + margin-right: 1rem; } micro-header-description { @@ -1476,15 +1470,15 @@ web-ring time { color: var(--fade); } -web-ring p { - margin-bottom: 0 !important; -} - web-ring p, web-ring time { display: inline; } +web-ring p:not(:last-child) { + margin-bottom: 0; +} + web-ring-item:not(:last-child) { margin-bottom: 2rem; display: block; @@ -1506,6 +1500,10 @@ author-list aside { display: block; } +author-list p { + display: none; +} + search-entry { display: inherit; width: 100%; @@ -1724,8 +1722,8 @@ context-menu[right] { top: 1rem; } -context-profile a { - display: inline; +context-profile p a { + text-decoration: underline; } context-profile aside p { @@ -1897,8 +1895,8 @@ main micro-card:first-of-type reaction-tip img { overflow-x: auto; overflow-y: hidden; } - icon-navigator { - display: inline !important; + column-middle main > nav icon-navigator[hidden] { + display: inline; } } @@ -1912,6 +1910,7 @@ main micro-card:first-of-type reaction-tip img { } column-middle main > nav { position: fixed; + box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2); } micro-card { max-width: 600px; @@ -1947,9 +1946,6 @@ main micro-card:first-of-type reaction-tip img { display: block; overflow-y: scroll; } - column-middle main > nav { - box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2); - } tab-bar:active, tab-bar:hover, tab-bar:focus, @@ -1960,7 +1956,7 @@ main micro-card:first-of-type reaction-tip img { column-middle main > nav:focus, column-middle main > nav:focus-within, column-middle main > nav:focus-visible { - box-shadow: 1rem 0 1rem -1rem inset, -1rem 0 1rem -1rem inset; + box-shadow: 1rem -0.2rem 1rem -1rem inset, -1rem -0.2rem 1rem -1rem inset; } } -- cgit v1.2.3