Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Sep 19, 2024
1 parent 05c82f0 commit 392f928
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .mvn/parent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.3.3</version>
<version>3.3.4</version>
<relativePath/>
</parent>

Expand Down
3 changes: 3 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

## Third Party Libraries Licenses
For the list of dependencies' licenses, check the Maven dependencies report.
42 changes: 29 additions & 13 deletions src/main/resources/static/simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@
"Noto Sans", "Segoe UI", Arial, Helvetica, "Helvetica Neue", sans-serif;
--mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;

--small-font-size: 0.9rem;

--body-font-size: 1.15rem;
--footer-font-size: 0.9rem;
--nav-font-size: 1rem;
--aside-font-size: 1rem;
--figcaption-font-size: 0.9rem;
--cite-font-size: 0.9rem;
--footer-font-size: var(--small-font-size);
--figcaption-font-size: var(--small-font-size);
--cite-font-size: var(--small-font-size);

--nav-line-height: 2;
--body-line-height: 1.5;
--h3-line-height: 1.1;
--h123-line-height: 1.1;
--nav-mobile-line-height: 1;

--standard-border-radius: 5px;

Expand Down Expand Up @@ -165,15 +169,21 @@ p {
}

/* Prevent long strings from overflowing container */
p, h1, h2, h3, h4, h5, h6 {
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}

/* Fix line height when title wraps */
h1,
h2,
h3 {
line-height: 1.1;
line-height: var(--h123-line-height);
}

/* Reduce header size on mobile */
Expand Down Expand Up @@ -267,7 +277,7 @@ input:enabled:focus-visible:where(
/* Format navigation */
header > nav {
font-size: var(--nav-font-size);
line-height: 2;
line-height: var(--nav-line-height);
padding: 1rem 0 0 0;
}

Expand Down Expand Up @@ -317,12 +327,15 @@ header > nav a[aria-current="true"] {
border: none;
padding: 0;
text-decoration: underline;
line-height: 1;
line-height: var(--nav-mobile-line-height);
}
}

/* Consolidate box styling */
aside, details, pre, progress {
aside,
details,
pre,
progress {
background-color: var(--accent-bg);
border: 1px solid var(--border);
border-radius: var(--standard-border-radius);
Expand Down Expand Up @@ -350,7 +363,9 @@ aside {
}
}

article, fieldset, dialog {
article,
fieldset,
dialog {
border: 1px solid var(--border);
padding: 1rem;
border-radius: var(--standard-border-radius);
Expand Down Expand Up @@ -601,7 +616,7 @@ figure > picture > img {

figcaption {
text-align: center;
font-size: 0.9rem;
font-size: var(--figcaption-font-size);
color: var(--text-light);
margin-block: 1rem;
}
Expand All @@ -617,7 +632,7 @@ blockquote {
}

cite {
font-size: 0.9rem;
font-size: var(--cite-font-size);
color: var(--text-light);
font-style: normal;
}
Expand Down Expand Up @@ -710,7 +725,8 @@ dialog::backdrop {

/* Superscript & Subscript */
/* Prevent scripts from affecting line-height. */
sup, sub {
sup,
sub {
vertical-align: baseline;
position: relative;
}
Expand Down

0 comments on commit 392f928

Please sign in to comment.