diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/css/style.css | 62 | ||||
| -rw-r--r-- | static/font/LibreCaslonText-Italic[wght].woff2 | bin | 0 -> 63024 bytes | |||
| -rw-r--r-- | static/font/LibreCaslonText[wght].woff2 | bin | 0 -> 57616 bytes | |||
| -rw-r--r-- | static/font/Ronzino-Bold.woff2 | bin | 36908 -> 0 bytes | |||
| -rw-r--r-- | static/font/Ronzino-BoldOblique.woff2 | bin | 36260 -> 0 bytes | |||
| -rw-r--r-- | static/font/Ronzino-Medium.woff2 | bin | 36748 -> 0 bytes | |||
| -rw-r--r-- | static/font/Ronzino-MediumOblique.woff2 | bin | 36304 -> 0 bytes | |||
| -rw-r--r-- | static/font/Ronzino-Oblique.woff2 | bin | 36260 -> 0 bytes | |||
| -rw-r--r-- | static/font/Ronzino-Regular.woff2 | bin | 36316 -> 0 bytes | |||
| -rw-r--r-- | static/img/darkgrid.svg | 4 | ||||
| -rw-r--r-- | static/img/lightgrid.svg | 4 |
11 files changed, 35 insertions, 35 deletions
diff --git a/static/css/style.css b/static/css/style.css index 9125736..6b95e9c 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,6 +1,23 @@ /* Font Faces */ @font-face { font-family: 'Libre Caslon'; + src: url('/font/LibreCaslonText[wght].woff2') format('woff2-variations'); + font-weight: 400 700; + font-style: normal; + font-display: swap; + size-adjust: 100%; +} + +@font-face { + font-family: 'Libre Caslon'; + src: url('/font/LibreCaslonText-Italic[wght].woff2') format('woff2-variations'); + font-weight: 400 700; + font-style: italic; + font-display: swap; +} + +@font-face { + font-family: 'Libre Caslon Condensed'; src: url('/font/LibreCaslonCondensed[wdth,wght].woff2') format('woff2-variations'); font-weight: 400 700; font-stretch: 75% 100%; @@ -10,7 +27,7 @@ } @font-face { - font-family: 'Libre Caslon'; + font-family: 'Libre Caslon Condensed'; src: url('/font/LibreCaslonCondensed-Italic[wght].woff2') format('woff2-variations'); font-weight: 400 700; font-style: italic; @@ -24,8 +41,11 @@ --foreground: #000019; --foreground-emphasis: #191919; --selection-color: #ccc; - --font-display: 'Libre Caslon', 'Times New Roman', 'Georgia', serif; - --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif; + --font-display: 'Libre Caslon Condensed', 'Times New Roman', Georgia, serif; + --font-body: 'Libre Caslon', 'Times New Roman', Georgia, serif; + --font-windows: 'Helvetica Neue', Helvetica, Arial, sans-serif; + /* There's an issue with Helvetica Neue Bold's glyph sizing that wrecks the grid. */ + --font-windows-bold: Helvetica, Arial, sans-serif; --root-font-size: 1rem; --base-grid: 1.5625rem; --radius: 4px; @@ -51,7 +71,7 @@ li,p { transform: translateY(7px); } strong { - font-family: Helvetica, Arial, sans-serif; + font-family: var(--font-body); color: var(--foreground-emphasis); font-weight: 700; line-height: 1; @@ -87,7 +107,6 @@ button { .textured { h2, p, ul { - -webkit-text-stroke: calc(8 * var(--border-width)) var(--background); paint-order: stroke fill; } } @@ -253,7 +272,7 @@ main { } } -#services { +.columns { column-gap: calc(2 * var(--base-grid)); row-gap: calc(3 * var(--base-grid)); padding: calc(2 * var(--base-grid)); @@ -264,7 +283,7 @@ main { justify-content: center; flex-wrap: wrap; - section { + article { flex: 1; min-width: calc(13 * var(--base-grid)); max-width: calc(25 * var(--base-grid)); @@ -280,33 +299,11 @@ main { } -#skills, #testimonials { - column-gap: calc(4 * var(--base-grid)); - display: flex; - flex-wrap: wrap; - padding: calc(2 * var(--base-grid)); - row-gap: calc(3 * var(--base-grid)); - width: 100%; - - @media (max-width: 425px) { - padding: calc(2 * var(--base-grid)) var(--base-grid); - } - - section { - flex: 1; - min-width: calc(13 * var(--base-grid)); - - @media (max-width: 360px) { - min-width: calc(100vw - 3 * var(--base-grid)); - } - } -} - -#skills { +.darktexture { background-image: url('/img/darkgrid.svg'); } -#testimonials { +.lighttexture { background-image: url('/img/lightgrid.svg'); } @@ -357,8 +354,11 @@ footer { .window { + font-family: var(--font-windows); + .titlebar { border-bottom: var(--border-width) solid #000; + font-family: var(--font-windows-bold); padding: calc(6 * var(--border-width)) calc(8 * var(--border-width)) calc(6 * var(--border-width)) ; line-height: calc(9 * var(--border-width)); text-align: center; diff --git a/static/font/LibreCaslonText-Italic[wght].woff2 b/static/font/LibreCaslonText-Italic[wght].woff2 Binary files differnew file mode 100644 index 0000000..a771694 --- /dev/null +++ b/static/font/LibreCaslonText-Italic[wght].woff2 diff --git a/static/font/LibreCaslonText[wght].woff2 b/static/font/LibreCaslonText[wght].woff2 Binary files differnew file mode 100644 index 0000000..336029c --- /dev/null +++ b/static/font/LibreCaslonText[wght].woff2 diff --git a/static/font/Ronzino-Bold.woff2 b/static/font/Ronzino-Bold.woff2 Binary files differdeleted file mode 100644 index 440957c..0000000 --- a/static/font/Ronzino-Bold.woff2 +++ /dev/null diff --git a/static/font/Ronzino-BoldOblique.woff2 b/static/font/Ronzino-BoldOblique.woff2 Binary files differdeleted file mode 100644 index 29038fa..0000000 --- a/static/font/Ronzino-BoldOblique.woff2 +++ /dev/null diff --git a/static/font/Ronzino-Medium.woff2 b/static/font/Ronzino-Medium.woff2 Binary files differdeleted file mode 100644 index 6161f9c..0000000 --- a/static/font/Ronzino-Medium.woff2 +++ /dev/null diff --git a/static/font/Ronzino-MediumOblique.woff2 b/static/font/Ronzino-MediumOblique.woff2 Binary files differdeleted file mode 100644 index 0879928..0000000 --- a/static/font/Ronzino-MediumOblique.woff2 +++ /dev/null diff --git a/static/font/Ronzino-Oblique.woff2 b/static/font/Ronzino-Oblique.woff2 Binary files differdeleted file mode 100644 index 0b4e1ac..0000000 --- a/static/font/Ronzino-Oblique.woff2 +++ /dev/null diff --git a/static/font/Ronzino-Regular.woff2 b/static/font/Ronzino-Regular.woff2 Binary files differdeleted file mode 100644 index b8763ad..0000000 --- a/static/font/Ronzino-Regular.woff2 +++ /dev/null diff --git a/static/img/darkgrid.svg b/static/img/darkgrid.svg index 58c586f..d49ef97 100644 --- a/static/img/darkgrid.svg +++ b/static/img/darkgrid.svg @@ -1,4 +1,4 @@ <svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"> - <rect x="0" y="0" width="1" height="1" fill="black"/> - <rect x="2" y="2" width="1" height="1" fill="black"/> + <rect x="0" y="0" width="1" height="1" fill="#aaa"/> + <rect x="2" y="2" width="1" height="1" fill="#aaa"/> </svg> diff --git a/static/img/lightgrid.svg b/static/img/lightgrid.svg index e16971b..7f7318c 100644 --- a/static/img/lightgrid.svg +++ b/static/img/lightgrid.svg @@ -1,4 +1,4 @@ <svg xmlns="http://www.w3.org/2000/svg" width="6" height="6"> - <rect x="0" y="0" width="1" height="1" fill="black"/> - <rect x="3" y="3" width="1" height="1" fill="black"/> + <rect x="0" y="0" width="1" height="1" fill="#aaa"/> + <rect x="3" y="3" width="1" height="1" fill="#aaa"/> </svg> |