Skip to content

Commit

Permalink
Introduce borderRadius CSS variable (elixir-lang#1691)
Browse files Browse the repository at this point in the history
  • Loading branch information
moogle19 authored Apr 19, 2023
1 parent f9fdeae commit e893c82
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/css/content/bottom-actions.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 8,7 @@
display: flex;
text-decoration: none;
flex-direction: column;
border-radius: 4px;
border-radius: var(--borderRadius);
border: 1px solid var(--bottomActionsBtnBorder);
padding: 8px 16px;
min-width: 150px;
Expand Down
6 changes: 3 additions & 3 deletions assets/css/content/cheatsheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 98,7 @@

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

Expand Down Expand Up @@ -162,7 162,7 @@

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

Expand Down Expand Up @@ -200,7 200,7 @@

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

Expand Down
2 changes: 1 addition & 1 deletion assets/css/content/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 99,7 @@
padding: 0 1.2rem;
overflow: auto;
background-color: var(--blockquoteBackground);
border-radius: 3px;
border-radius: var(--borderRadius);
}
.content-inner blockquote p:last-child {
padding-bottom: 1em;
Expand Down
1 change: 1 addition & 0 deletions assets/css/custom-props/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 2,7 @@
/* Layout & Whitespace */
--content-width: 949px;
--content-gutter: 60px;
--borderRadius: 4px;

/* Font Families */
--serifFontFamily: 'Merriweather', 'Book Antiqua', Georgia, 'Century Schoolbook', serif;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/keyboard-shortcuts.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 22,7 @@
#keyboard-shortcuts-content kbd > kbd {
background-color: var(--settingsInputBorder);
color: var(--contrast);
border-radius: 3px;
border-radius: var(--borderRadius);
font-family: inherit;
font-weight: bold;
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 27,7 @@
margin: 75px auto 0 auto;
max-width: 500px;
background-color: var(--modalBackground);
border-radius: 3px;
border-radius: var(--borderRadius);
box-shadow: 2px 2px 8px rgba(0, 0, 0, .2);
padding: 25px 35px 35px;
}
Expand Down
4 changes: 2 additions & 2 deletions assets/css/sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 44,7 @@

.sidebar .sidebar-header {
margin: 12px;
border-radius: 4px;
border-radius: var(--borderRadius);
background-color: var(--sidebarHeader);
width: 276px;
}
Expand Down Expand Up @@ -210,7 210,7 @@
.sidebar .sidebar-search .search-input {
background-color: var(--sidebarSearch);
border: none;
border-radius: 4px;
border-radius: var(--borderRadius);
color: var(--sidebarAccentMain);
margin-left: 12px;
padding: 8px 6px 8px 38px;
Expand Down

0 comments on commit e893c82

Please sign in to comment.