Skip to content

Commit

Permalink
add button style
Browse files Browse the repository at this point in the history
  • Loading branch information
mudkipdev committed Dec 2, 2024
1 parent 0154d0d commit fa286f8
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,30 @@ a:hover {
text-decoration: none;
}

/* Buttons */

button, a.button {
padding: 0.8em 0em;
margin-top: 1em;
max-width: 10em;
border: none;
outline: none;

background: var(--ctp-macchiato-surface0);
color: var(--text);

font-family: inherit;
font-size: inherit;
text-align: center;
text-decoration: none;
}

button:hover, a.button:hover {
background: var(--ctp-macchiato-surface1);
}

/* Code Blocks */

pre {
font-size: 0.8em;
background-color: var(--background) !important;
Expand Down

0 comments on commit fa286f8

Please sign in to comment.