Skip to content

Commit

Permalink
Merge pull request #25 from charlesrocket/style
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket authored Apr 5, 2024
2 parents d1ffbd6 + 7385210 commit 7357991
Show file tree
Hide file tree
Showing 9 changed files with 177 additions and 303 deletions.
46 changes: 35 additions & 11 deletions sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,27 +104,27 @@ h6 {
}

h1 {
font-size: 2em;
font-size: 1.6em;
}

h2 {
font-size: 1.25em;
font-size: 1em;
}

h3 {
font-size: 1.1em;
font-size: 0.86em;
}

h4 {
font-size: 1em;
font-size: 0.8em;
}

h5 {
font-size: 0.9em;
font-size: 0.72em;
}

h6 {
font-size: 0.8em;
font-size: 0.65em;
}

figure {
Expand All @@ -137,7 +137,7 @@ figure {
figcaption {
margin-bottom: 0.5em;
color: lighten($black, 40);
font-size: 0.85em;
font-size: 12px;
width: 100%;
text-align: center;
}
Expand Down Expand Up @@ -223,6 +223,14 @@ cite {
font-size: 0.85em;
}

ul > li {
list-style: square;
}

ol > li {
list-style: inside decimal;
}

dt {
border: 1px solid darken($white, 7%);
padding: 0.5em;
Expand Down Expand Up @@ -280,6 +288,18 @@ td:last-child {
}
}

sup, sub {
font-size: 75%;
}

sup {
top: -0.6em
}

sub {
bottom: -0.2em
}

var {
font-weight: bold;
}
Expand Down Expand Up @@ -334,19 +354,22 @@ figure > table {
pre,
kbd {
overflow-x: auto;
padding: 1rem;
line-height: 1.5;
padding: 0.9rem;
margin: 0;
}

pre > code {
font-size: 13px;
}

p > code,
a > code,
li > code,
figcaption > code,
td > code,
kbd {
padding: 0.1rem 0.2rem;
font-size: 0.9em;
padding: 0.1rem 0.15rem;
font-size: 12px;
background-color: darken($white, 15%);
font-family: $base-font;
}
Expand All @@ -361,6 +384,7 @@ footer {
margin-bottom: 23px;
text-align: center;
font-size: 12px;
line-height: 17px;
width: 100%;
> a {
color: $shamrock-green;
Expand Down
276 changes: 0 additions & 276 deletions sass/_reset.scss

This file was deleted.

2 changes: 1 addition & 1 deletion sass/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
-webkit-appearance:none;
-webkit-border-radius: 0;
border-radius: 0;
padding: 0.5rem;
padding: 0.4rem;
width: 100%;
}
}
Expand Down
Loading

0 comments on commit 7357991

Please sign in to comment.