diff options
Diffstat (limited to 'extras/html/themes/deep_sky')
| -rw-r--r-- | extras/html/themes/deep_sky/LICENSE | 21 | ||||
| -rw-r--r-- | extras/html/themes/deep_sky/code.ttf | bin | 0 -> 367144 bytes | |||
| -rw-r--r-- | extras/html/themes/deep_sky/example.html | 75 | ||||
| -rw-r--r-- | extras/html/themes/deep_sky/handnotes.ttf | bin | 0 -> 38344 bytes | |||
| -rw-r--r-- | extras/html/themes/deep_sky/heading.ttf | bin | 0 -> 142040 bytes | |||
| -rw-r--r-- | extras/html/themes/deep_sky/style.css | 230 | ||||
| -rw-r--r-- | extras/html/themes/deep_sky/theme.conf | 8 |
7 files changed, 334 insertions, 0 deletions
diff --git a/extras/html/themes/deep_sky/LICENSE b/extras/html/themes/deep_sky/LICENSE new file mode 100644 index 0000000..e3f36f2 --- /dev/null +++ b/extras/html/themes/deep_sky/LICENSE @@ -0,0 +1,21 @@ +Theme: deep_sky +Generated: 2025-06-22 21:38:55 + +Layout: artistic +Color Scheme: analogous (Light) + +Font Licenses: +============== +Heading Font: Merriweather +License: OFL +Category: serif + +Body Font: roboto-slab +License: Apache +Category: serif + +Code Font: hack +License: MIT +Category: monospace + +All fonts are free for personal use. diff --git a/extras/html/themes/deep_sky/code.ttf b/extras/html/themes/deep_sky/code.ttf Binary files differnew file mode 100644 index 0000000..7c8e65b --- /dev/null +++ b/extras/html/themes/deep_sky/code.ttf diff --git a/extras/html/themes/deep_sky/example.html b/extras/html/themes/deep_sky/example.html new file mode 100644 index 0000000..8475652 --- /dev/null +++ b/extras/html/themes/deep_sky/example.html @@ -0,0 +1,75 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Deep Sky - Gemtexter Theme</title> + <link rel="stylesheet" href="style.css" /> +</head> +<body> + <div class="header"> + <h1>Deep Sky</h1> + <p>A artistic layout with analogous colors</p> + </div> + + <div class="content"> + <h1>Welcome to Deep Sky</h1> + <p>This theme features a carefully crafted artistic layout with a light analogous color scheme. The typography combines serif fonts for headings with serif for body text.</p> + + <h2>Typography Showcase</h2> + <p>The roboto-slab font family provides excellent readability for body text, while Merriweather adds character to headings. Code blocks use hack for clarity.</p> + + <h2>Color Palette</h2> + <p>Primary: <span style="color: #980c4e; font-weight: bold;">#980c4e</span> | + Secondary: <span style="color: #911413; font-weight: bold;">#911413</span> | + Accent: <span style="color: #880b82; font-weight: bold;">#880b82</span></p> + + <h3>Interactive Elements</h3> + <p>Links like <a href="#">this example</a> and longer <a href="#" class="textlink">text links that demonstrate the theme's navigation style</a> use the secondary color.</p> + + <div class="quote"> + "Design is not just what it looks like and feels like. Design is how it works." — Steve Jobs + </div> + + <h3>Code Examples</h3> + <p>Inline code like <code>theme.generate()</code> and larger blocks:</p> + <pre>// Theme configuration +const theme = { + name: "deep_sky", + layout: "artistic", + colors: { + primary: "#980c4e", + secondary: "#911413", + accent: "#880b82" + }, + fonts: { + heading: "Merriweather", + body: "roboto-slab", + code: "hack" + } +};</pre> + + <h2>Content Structure</h2> + <ul> + <li>Clean, readable typography with 15px base font size</li> + <li>Heading scale ratio of 2.37x for visual hierarchy</li> + <li>Line height of 1.43 for comfortable reading</li> + <li>Artistic layout optimized for content flow</li> + <li>Light theme with analogous color harmony</li> + </ul> + + <h2>Font Licensing</h2> + <p>All fonts used in this theme are properly licensed:</p> + <ul> + <li>Merriweather: OFL License</li> + <li>roboto-slab: Apache License</li> + <li>hack: MIT License</li> + </ul> + + <h3>Final Thoughts</h3> + <p>Every element of this theme has been carefully designed to create a harmonious reading experience. The artistic layout ensures content is presented in an engaging way, while the color scheme provides the perfect backdrop for your words to shine.</p> + + <p>Whether you're writing technical documentation, creative prose, or anything in between, this theme adapts to showcase your content beautifully.</p> + </div> +</body> +</html>
\ No newline at end of file diff --git a/extras/html/themes/deep_sky/handnotes.ttf b/extras/html/themes/deep_sky/handnotes.ttf Binary files differnew file mode 100644 index 0000000..25e688b --- /dev/null +++ b/extras/html/themes/deep_sky/handnotes.ttf diff --git a/extras/html/themes/deep_sky/heading.ttf b/extras/html/themes/deep_sky/heading.ttf Binary files differnew file mode 100644 index 0000000..3e10e02 --- /dev/null +++ b/extras/html/themes/deep_sky/heading.ttf diff --git a/extras/html/themes/deep_sky/style.css b/extras/html/themes/deep_sky/style.css new file mode 100644 index 0000000..c882bb9 --- /dev/null +++ b/extras/html/themes/deep_sky/style.css @@ -0,0 +1,230 @@ +/* Base styles */ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'heading'; + src: url("./heading.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + +@font-face { + font-family: 'handnotes'; + src: url("./handnotes.ttf") format("truetype"); +} + +:root { + --color-primary: #980c4e; + --color-secondary: #911413; + --color-accent: #880b82; + --color-bg: #f0edee; + --color-text: #1d1d1d; + --font-size-base: 15px; + --font-size-h1: 2.37em; + --font-size-h2: 1.78em; + --font-size-h3: 1.33em; + --line-height: 1.43; +} + +* { + box-sizing: border-box; +} + +html { + font-size: var(--font-size-base); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +body { + font-family: text, sans-serif; + background-color: var(--color-bg); + color: var(--color-text); + line-height: var(--line-height); + margin: 0; + padding: 0; + overflow-wrap: break-word; +} + +h1, h2, h3 { + font-family: heading, serif; + line-height: 1.2; + margin-top: 1em; + margin-bottom: 0.5em; +} + +h1 { + font-size: var(--font-size-h1); + color: var(--color-primary); +} + +h2 { + font-size: var(--font-size-h2); + color: var(--color-primary); +} + +h3 { + font-size: var(--font-size-h3); + color: var(--color-secondary); +} + +a { + font-family: code, monospace; + color: var(--color-secondary); + text-decoration: none; + transition: all 0.3s ease; +} + +a:hover { + color: var(--color-accent); + text-decoration: underline; +} + +.textlink { + font-family: text, sans-serif; +} + +.quote { + font-family: handnotes, cursive; + border-left: 4px solid var(--color-accent); + padding: 1em 1.5em; + margin: 1.5em 0; + background-color: rgba(152, 12, 78, 0.07); + font-style: italic; +} + +pre { + font-family: code, monospace; + background-color: rgba(29, 29, 29, 0.04); + border: 1px solid rgba(29, 29, 29, 0.13); + padding: 1em; + overflow-x: auto; + border-radius: 4px; + font-size: 0.9em; +} + +code { + font-family: code, monospace; + background-color: rgba(29, 29, 29, 0.04); + padding: 0.2em 0.4em; + border-radius: 3px; + font-size: 0.9em; +} + +ul, ol { + padding-left: 2em; + margin: 1em 0; +} + +li { + margin: 0.5em 0; +} + +img { + max-width: 100%; + height: auto; +} + +hr { + border: none; + border-top: 1px solid rgba(29, 29, 29, 0.20); + margin: 2em 0; +} + + +/* Layout: artistic */ + +body { + padding: 4em 2em; + background: linear-gradient(45deg, #f0edee, rgba(240, 237, 238, 0.87)); + min-height: 100vh; + position: relative; +} + +body::before, body::after { + content: ""; + position: fixed; + width: 300px; + height: 300px; + border-radius: 50%; + filter: blur(100px); + z-index: -1; +} + +body::before { + top: -150px; + left: -150px; + background: rgba(152, 12, 78, 0.27); +} + +body::after { + bottom: -150px; + right: -150px; + background: rgba(145, 20, 19, 0.27); +} + +.header { + text-align: center; + margin-bottom: 4em; + position: relative; +} + +.header h1 { + font-size: 4em; + margin: 0; + transform: perspective(500px) rotateY(-15deg); + text-shadow: 3px 3px 0 #980c4e, 6px 6px 0 #911413, 9px 9px 20px rgba(0,0,0,0.2); +} + +h2, h3 { + position: relative; + display: inline-block; +} + +h2::after, h3::after { + content: ""; + position: absolute; + bottom: -5px; + left: 0; + right: 0; + height: 3px; + background: linear-gradient(90deg, #980c4e, #911413, #880b82); + border-radius: 2px; +} + +p, ul, pre, .quote { + max-width: 65ch; + margin: 2em auto; + padding: 2em; + background: rgba(255,255,255,0.9); + box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.5); + border-radius: 20px; + transform: rotate(-1deg); +} + +p:nth-child(even), ul:nth-child(even), .quote:nth-child(even) { + transform: rotate(1deg); +} + +a { + color: #911413; + text-decoration: none; + background-image: linear-gradient(90deg, #980c4e, #911413); + background-size: 100% 2px; + background-position: 0 100%; + background-repeat: no-repeat; + transition: all 0.3s ease; +} + +a:hover { + background-size: 100% 100%; + color: white; + padding: 0.2em 0.4em; + margin: -0.2em -0.4em; +} diff --git a/extras/html/themes/deep_sky/theme.conf b/extras/html/themes/deep_sky/theme.conf new file mode 100644 index 0000000..d3d85d8 --- /dev/null +++ b/extras/html/themes/deep_sky/theme.conf @@ -0,0 +1,8 @@ +declare -xr HTML_HEADER=./extras/html/header.html.part +declare -xr HTML_FOOTER=./extras/html/footer.html.part +declare -xr HTML_CSS_STYLE=$HTML_THEME_DIR/style.css +declare -xr HTML_WEBFONT_HEADING=./extras/html/fonts/Merriweather/Merriweather-Bold.ttf +declare -xr HTML_WEBFONT_TEXT=./extras/html/fonts/roboto-slab/roboto-slab-Regular.ttf +declare -xr HTML_WEBFONT_CODE=./extras/html/fonts/hack/hack-Regular.ttf +declare -xr HTML_WEBFONT_HANDNOTES=./extras/html/fonts/khand/khand.ttf +declare -xr SOURCE_HIGHLIGHT_CSS=./extras/html/source-highlight-styles/mono.css |
