patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 48b1d41b87ebd82f373f8440cfc8af84c75a40d3 1036 bytes (raw)
name: Documentation/_sass/custom/custom.scss 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>
// SPDX-FileCopyrightText: 2026 Valentin Gagarin <valentin@gagarin.work>

.main-content {
	// Just the Docs puts titles next to definitions, rather than on
	// the line before.  This makes the definitions too horizontally
	// compressed.
	dl {
		display: block;
	}
	dt {
		text-align: left;
		font-weight: bold;

		&::after {
			content: none;
		}
	}
	dd {
		margin-left: 2ch;
	}
}

// Make the logo and title fit the site header.
.site-header {
  .site-logo {
    width: 3rem;
  }

  // Just the Docs displays a sidebar at the "medium size" `md` breakpoint and above.
  // Use the upstream `mq` media query mixin to target that breakpoint.
  // https://just-the-docs.com/docs/utilities/responsive-modifiers/
  // https://github.com/just-the-docs/just-the-docs/blob/v0.10.1/_sass/support/mixins/_layout.scss#L3-L8
  @include mq(md) {
    .site-logo {
      width: 5.5rem;
    }
    .site-title {
      font-size: 1.25rem !important;
    }
  }
}

debug log:

solving 48b1d41 ...
found 48b1d41 in https://spectrum-os.org/git/spectrum

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).