Repository navigation
Expand file tree
/
Copy pathstyles.scss
More file actions
118 lines (101 loc) · 3.25 KB
/
Copy pathstyles.scss
File metadata and controls
118 lines (101 loc) · 3.25 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*-- scss:defaults --*/
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=JetBrains+Mono:wght@400;500&display=swap');
$paper: #F7F7F5;
$ink: #14171F;
$circuit: #2B6CB0; // circuit-trace blue
$amplitude: #0F9D8C; // teal accent for interactive/data moments
$rule: #D8DCE3;
$font-family-sans-serif: "Space Grotesk", sans-serif;
$font-family-serif: "Source Serif 4", Georgia, serif;
$font-family-monospace: "JetBrains Mono", monospace;
$body-bg: $paper;
$body-color: $ink;
$link-color: $circuit;
$navbar-bg: $paper;
$navbar-fg: $ink;
$navbar-hl: $circuit;
$footer-bg: $paper;
$footer-fg: mix($ink, $paper, 60%);
/*-- scss:rules --*/
body {
font-family: $font-family-serif;
font-size: 1.08rem;
line-height: 1.65;
}
h1, h2, h3, h4, .navbar-title, .navbar-brand {
font-family: $font-family-sans-serif;
letter-spacing: -0.01em;
}
h1 { font-weight: 700; }
h2 { font-weight: 600; }
// signature element: a "circuit trace" rule — a hairline with small right-angle
// jogs, used under page titles and between major sections instead of a plain <hr>
.circuit-rule {
height: 10px;
width: 100%;
margin: 0.25rem 0 2rem 0;
background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20100%2010%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2C1%20H40%20V9%20H100%27%20fill%3D%27none%27%20stroke%3D%27%232B6CB0%27%20stroke-width%3D%272%27%20vector-effect%3D%27non-scaling-stroke%27/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: 100% 100%;
opacity: 0.55;
}
// category / metadata tags rendered in mono, like register labels on a circuit
.quarto-listing-category, .listing-categories .category, .quarto-title-meta-heading,
.quarto-title-meta-contents {
font-family: $font-family-monospace;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: mix($ink, $paper, 65%);
}
// project cards
.quarto-grid-item {
border: 1px solid $rule;
border-radius: 2px;
transition: border-color 0.15s ease;
}
.quarto-grid-item:hover {
border-color: $circuit;
}
.card-img-top { background-color: mix($circuit, $paper, 6%); }
// callouts / status notes (e.g. "merged into ecosystem") rendered as a
// terminal-style readout rather than a generic bootstrap alert
.status-readout {
font-family: $font-family-monospace;
font-size: 0.85rem;
background: mix($ink, $paper, 5%);
color: mix($ink, $paper, 85%);
border-left: 3px solid $amplitude;
padding: 0.6rem 0.9rem;
margin: 1.25rem 0;
}
// interactive OJS panels
.ojs-panel {
border: 1px solid $rule;
border-radius: 4px;
padding: 1.25rem 1.5rem;
margin: 1.5rem 0;
background: mix($circuit, $paper, 3%);
}
a { text-decoration: none; }
a:hover { text-decoration: underline; }
code, pre { font-family: $font-family-monospace; }
.qportfolio-table {
font-size: 0.92rem;
th {
font-family: $font-family-monospace;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.04em;
border-bottom-width: 2px;
}
td {
vertical-align: top;
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.badge {
font-weight: 500;
font-size: 0.72rem;
}
}