From 933eba7dc3bdc979fefadd47388b20b8360e1d6b Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 28 Sep 2024 17:47:52 +0800 Subject: style: prettier --- src/css/style.css | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) (limited to 'src/css/style.css') diff --git a/src/css/style.css b/src/css/style.css index 14a2e96..1d39cc0 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -1,5 +1,7 @@ /* CSS Reset */ -*, *::before, *::after { +*, +*::before, +*::after { box-sizing: border-box; } @@ -9,15 +11,28 @@ line-height: calc(1em + 0.5rem); } -img, picture, video, canvas, svg { +img, +picture, +video, +canvas, +svg { display: block; } -input, button, textarea, select { +input, +button, +textarea, +select { font: inherit; } -p, h1, h2, h3, h4, h5, h6 { +p, +h1, +h2, +h3, +h4, +h5, +h6 { overflow-wrap: break-word; hyphens: auto; } @@ -29,7 +44,12 @@ body { line-height: 1.6; } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { font-weight: bold; margin-bottom: 0.5em; } @@ -102,7 +122,8 @@ pre:has(code) { } } -ul, ol { +ul, +ol { margin-top: 1em; margin-bottom: 1em; padding-left: 20px; @@ -118,7 +139,8 @@ table { width: 100%; } -th, td { +th, +td { padding: 8px; border: 1px solid #ddd; -- cgit v1.2.3-70-g09d2