Skip to content

Commit e893c82

Browse files
authored
Introduce borderRadius CSS variable (#1691)
1 parent f9fdeae commit e893c82

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

assets/css/content/bottom-actions.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
display: flex;
99
text-decoration: none;
1010
flex-direction: column;
11-
border-radius: 4px;
11+
border-radius: var(--borderRadius);
1212
border: 1px solid var(--bottomActionsBtnBorder);
1313
padding: 8px 16px;
1414
min-width: 150px;

assets/css/content/cheatsheet.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898

9999
.page-cheatmd .content-inner .h2 p > code {
100100
color: #eb5757;
101-
border-radius: 3px;
101+
border-radius: var(--borderRadius);
102102
padding: .2em .4em;
103103
}
104104

@@ -162,7 +162,7 @@
162162

163163
.page-cheatmd .content-inner .h2 td code {
164164
color: #eb5757;
165-
border-radius: 3px;
165+
border-radius: var(--borderRadius);
166166
padding: .2em .4em;
167167
}
168168

@@ -200,7 +200,7 @@
200200

201201
.page-cheatmd .content-inner .h2 li > code {
202202
color: #eb5757;
203-
border-radius: 3px;
203+
border-radius: var(--borderRadius);
204204
padding: .2em .4em;
205205
}
206206

assets/css/content/general.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
padding: 0 1.2rem;
100100
overflow: auto;
101101
background-color: var(--blockquoteBackground);
102-
border-radius: 3px;
102+
border-radius: var(--borderRadius);
103103
}
104104
.content-inner blockquote p:last-child {
105105
padding-bottom: 1em;

assets/css/custom-props/common.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/* Layout & Whitespace */
33
--content-width: 949px;
44
--content-gutter: 60px;
5+
--borderRadius: 4px;
56

67
/* Font Families */
78
--serifFontFamily: 'Merriweather', 'Book Antiqua', Georgia, 'Century Schoolbook', serif;

assets/css/keyboard-shortcuts.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#keyboard-shortcuts-content kbd > kbd {
2323
background-color: var(--settingsInputBorder);
2424
color: var(--contrast);
25-
border-radius: 3px;
25+
border-radius: var(--borderRadius);
2626
font-family: inherit;
2727
font-weight: bold;
2828
display: inline-block;

assets/css/modal.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
margin: 75px auto 0 auto;
2828
max-width: 500px;
2929
background-color: var(--modalBackground);
30-
border-radius: 3px;
30+
border-radius: var(--borderRadius);
3131
box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
3232
padding: 25px 35px 35px;
3333
}

assets/css/sidebar.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
.sidebar .sidebar-header {
4646
margin: 12px;
47-
border-radius: 4px;
47+
border-radius: var(--borderRadius);
4848
background-color: var(--sidebarHeader);
4949
width: 276px;
5050
}
@@ -210,7 +210,7 @@
210210
.sidebar .sidebar-search .search-input {
211211
background-color: var(--sidebarSearch);
212212
border: none;
213-
border-radius: 4px;
213+
border-radius: var(--borderRadius);
214214
color: var(--sidebarAccentMain);
215215
margin-left: 12px;
216216
padding: 8px 6px 8px 38px;

0 commit comments

Comments
 (0)