diff options
author | Christian Cleberg <hello@cleberg.net> | 2025-04-05 11:44:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-05 11:44:50 -0500 |
commit | 848223707854b4fd71de8a8fd27651e59bc0d7af (patch) | |
tree | 7e1bbdeaa4adc6761e351fa3d5286b7e3699c08f /theme | |
parent | 70b5b5c51568904fa6c2beac977ed6a0ab29119a (diff) | |
parent | 27b546faff505494e3e525355f790a4cd20b8ce3 (diff) | |
download | cleberg.net-848223707854b4fd71de8a8fd27651e59bc0d7af.tar.gz cleberg.net-848223707854b4fd71de8a8fd27651e59bc0d7af.tar.bz2 cleberg.net-848223707854b4fd71de8a8fd27651e59bc0d7af.zip |
Merge pull request #3 from ccleberg/codefactor-patch-1
CSS fixes for issue #2
Diffstat (limited to 'theme')
-rw-r--r-- | theme/static/styles.css | 64 |
1 files changed, 4 insertions, 60 deletions
diff --git a/theme/static/styles.css b/theme/static/styles.css index 91a441f..c380686 100644 --- a/theme/static/styles.css +++ b/theme/static/styles.css @@ -17,14 +17,6 @@ html { ========================================================================== */ /** - * Remove the margin in all browsers. - */ - -body { - margin: 0; -} - -/** * Render the `main` element consistently in IE. */ @@ -56,16 +48,6 @@ hr { overflow: visible; /* 2 */ } -/** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -pre { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - /* Text-level semantics ========================================================================== */ @@ -98,18 +80,6 @@ strong { } /** - * 1. Correct the inheritance and scaling of font size in all browsers. - * 2. Correct the odd `em` font sizing in all browsers. - */ - -code, -kbd, -samp { - font-family: monospace, monospace; /* 1 */ - font-size: 1em; /* 2 */ -} - -/** * Add the correct font size in all browsers. */ @@ -138,17 +108,6 @@ sup { top: -0.5em; } -/* Embedded content - ========================================================================== */ - -/** - * Remove the border on images inside links in IE 10. - */ - -img { - border-style: none; -} - /* Forms ========================================================================== */ @@ -312,25 +271,6 @@ textarea { font: inherit; /* 2 */ } -/* Interactive - ========================================================================== */ - -/* - * Add the correct display in Edge, IE 10+, and Firefox. - */ - -details { - display: block; -} - -/* - * Add the correct display in all browsers. - */ - -summary { - display: list-item; -} - /* Misc ========================================================================== */ @@ -435,6 +375,7 @@ a:hover { } img { + border-style: none; width: 100%; } @@ -460,6 +401,7 @@ td { padding: 0.25rem; } +pre, pre > code, time, code { @@ -539,10 +481,12 @@ blockquote p { } details { + display: block; margin-top: 1rem; } summary { + display: list-item; font-weight: bold; } |