Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit dbfed85

Browse files
committed
[design] improve horizontal rules
1 parent 61b7d79 commit dbfed85

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/css/menu.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
}
7575

7676
.menu-item:not(:last-child) {
77-
border-bottom: 2px solid rgb(var(--theme-gray-03));
77+
border-bottom: var(--horizontal-rule);
7878
}
7979

8080
.menu-item-header {

src/css/typography.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ p:not(:last-child) {
5656

5757
hr {
5858
border: 0;
59-
border-top: 2px solid rgb(var(--theme-gray-02));
59+
border-top: var(--horizontal-rule);
6060
border-radius: var(--theme-radius);
6161
margin: 1em 0;
6262
clear: both;

src/css/variables.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
0 0 1em rgba(0, 0, 0, 0.1);
7474
--layout-shadow-large: 0 0 1em rgba(0, 0, 0, 0.2),
7575
0 0 2em rgba(0, 0, 0, 0.1);
76+
--horizontal-rule: calc(var(--layout-line-width) / 2) solid rgb(var(--theme-gray-02));
7677
/* background */
7778
--background-color-theme: var(--theme-gray-01);
7879
--background-color-custom: rgb(0, 0, 0);

0 commit comments

Comments
 (0)