feat: Inherit font size for buttons and input
This commit is contained in:
parent
c86c5fcf98
commit
81312824e4
1 changed files with 5 additions and 2 deletions
|
@ -105,7 +105,9 @@ main {
|
|||
|
||||
input[type="text"] {
|
||||
font-family: 'Departure Mono';
|
||||
width: calc(100% - 20px);
|
||||
font-size: inherit;
|
||||
line-height: 1.35;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 2px solid var(--cyber-primary-color);
|
||||
border-radius: 5px;
|
||||
|
@ -157,11 +159,12 @@ input[type="text"]:focus {
|
|||
/* Buttons */
|
||||
button {
|
||||
font-family: 'Departure Mono';
|
||||
font-size: inherit;
|
||||
line-height: 1.35;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
background-color: var(--cyber-bg-color);
|
||||
color: var(--cyber-font-color);
|
||||
font-size: 1rem;
|
||||
cursor: pointer;
|
||||
border: 2px solid transparent;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
|
||||
|
|
Loading…
Reference in a new issue