Skip to content

Commit

Permalink
Rebase Spring 0.4.17 (#15)
Browse files Browse the repository at this point in the history
Resolves #14
  • Loading branch information
oodamien authored Oct 16, 2024
1 parent ab6901c commit 18093bc
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions preview-src/samples/edge-cases/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,11 @@ Content-Length: 121
} ]
}
----

== Icon coloring

icon:heart[2x,role=red]
icon:heart[2x,role=blue]
icon:heart[2x,role=green]
icon:heart[2x,role=orange]
icon:heart[2x,role=yellow]
16 changes: 16 additions & 0 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,19 @@ html.dark-theme #modal-versions .modal-versions-close .cls-1h {
html.dark-theme .invert-dark img {
filter: invert(1);
}

.icon.red {
color: red;
}
.icon.blue {
color: blue;
}
.icon.yellow {
color: yellow;
}
.icon.orange {
color: orange;
}
.icon.green {
color: green;
}
1 change: 1 addition & 0 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
--link_hover-font-color: #104d92;
--code-link-font-color: var(--link-font-color);
--scrollbar-thumb-color: silver;
--scrollbar_hover-thumb-color: silver;
--mark-background-color: #80ea6e;
--selected-background-color: #191e1e;
--caption-font-style: italic;
Expand Down
4 changes: 4 additions & 0 deletions src/css/vendor/spring-tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@
padding: 1rem;
background-color: var(--tabs-group-background-color);
}

.doc .admonitionblock .tablist > ul > li p {
font-size: calc(12 / var(--rem-base) * 1rem);
}

0 comments on commit 18093bc

Please sign in to comment.