Skip to content

Commit 337d2ad

Browse files
authored
feat: Switch to SVG logo; use it (and new bitmaps) in more places (ietf-tools#4035)
* feat: Switch to SVG logo; use it (and new bitmaps) in more places * Run images through image_optim * Copy icons from base template * Tint icons red when in dev mode
1 parent d82a1c6 commit 337d2ad

34 files changed

Lines changed: 97 additions & 45 deletions

ietf/static/css/ietf.scss

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ $popover-max-width: 100%;
5656
// Utilities
5757
@import "bootstrap/scss/utilities/api";
5858

59-
// Make the bootstrap icons available.
60-
$bootstrap-icons-font-src: url("npm:bootstrap-icons/font/fonts/bootstrap-icons.woff2?a97b3594ad416896e15824f6787370e0") format("woff2"),
61-
url("npm:bootstrap-icons/font/fonts/bootstrap-icons.woff?a97b3594ad416896e15824f6787370e0") format("woff") !default;
62-
@import "bootstrap-icons/font/bootstrap-icons";
63-
6459
// Leave room for fixed-top navbar...
6560
body {
6661
padding-top: 60px;
@@ -82,9 +77,18 @@ pre {
8277
margin-bottom: 0;
8378
}
8479

85-
// Make the font size choice cascade down into group menu dropdowns.
86-
.leftmenu li>ul {
87-
font-size: inherit;
80+
// Size the navbar brand image.
81+
.navbar-brand img {
82+
height: auto;
83+
width: 60px;
84+
}
85+
86+
.leftmenu {
87+
width: 13em;
88+
89+
li>ul {
90+
font-size: inherit; // Make the font size choice cascade down into group menu dropdowns.
91+
}
8892
}
8993

9094
// Use fixed lengths for the first three columns of "meta" tables.
@@ -100,7 +104,7 @@ table tbody.meta {
100104
width: 7em;
101105
}
102106

103-
// See https://getbootstrap.com/docs/5.0/layout/breakpoints/#media-queries
107+
// See https://getbootstrap.com/docs/5.1/layout/breakpoints/#media-queries
104108
@include media-breakpoint-up(md) {
105109

106110
th:first-child,
@@ -251,7 +255,7 @@ table tbody.meta {
251255
border: 2 * $table-border-width solid #000;
252256
}
253257

254-
// See https://getbootstrap.com/docs/5.0/customize/color/#all-colors
258+
// See https://getbootstrap.com/docs/5.1/customize/color/#all-colors
255259
$color-discuss: $red-500;
256260
$color-yes: $green-500;
257261
$color-noobj: $green-100;
-2.23 KB
Binary file not shown.
-151 Bytes
Binary file not shown.
-156 Bytes
Binary file not shown.
406 Bytes
Loading
436 Bytes
Loading
2.9 KB
Loading
3.27 KB
Loading
3.06 KB
Loading
4.06 KB
Loading

0 commit comments

Comments
 (0)