Repository navigation
Expand file tree
/
Copy pathcustom.css
More file actions
104 lines (94 loc) · 3.63 KB
/
Copy pathcustom.css
File metadata and controls
104 lines (94 loc) · 3.63 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
/* Use this file to optionally override global css styles and use with caution. */
/* See README.md for hints and examples: https://github.com/AOEpeople/aoe_technology_radar/ */
@import url('https://fonts.googleapis.com/css?family=Lato:700,900|Open+Sans:300,400,700&display=swap');
/* Remove the superfluous bottom margin from the very last paragraph element of a blip text (in its detail view). */
[class^="ItemDetail_content"] p:last-child {
margin-bottom: 0;
}
/* Default font is Open Sans */
* {
font-family: "Open Sans", sans-serif;
}
/* Font for headings is Lato */
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: Lato, sans-serif;
font-weight: bold;
}
h1,
h2 {
font-weight: 900;
}
/* Adds a bit more spacing on top of the tag selection */
main [class*="Tags_tags"] {
margin-top: 60px;
}
/* Better contrast for filled colored badges (e.g. ring badges in the item list).
Exclude selectable filter pills: when unselected they have a transparent
background, so white text would be invisible on the light page. */
main [class*="Badge_colored"]:not([class*="ItemList_flag"]):not([class*="Badge_selectable"]) {
color: white;
}
/* The blip hover tooltip on the radar uses the quadrant color as its
background. The dark teal "Konzepte & Methoden" quadrant (#0a7f90) made the
default dark tooltip text unreadable. Use white tooltip text for all
quadrants for a consistent look. The extra [style] attribute selector
raises specificity above the component's default `color: var(--foreground)`
rule (the tooltip always carries inline left/top styles). */
[class*="Radar_tooltip"][style] {
color: white;
}
/* =========================================================
Blog-link footer — tinted accent band flush with the
bottom of the revision card. The whole band is a single
anchor, so the entire area is clickable. Selectors use
the `[class^="ItemDetail_content"]` prefix to outrank
the existing :last-child margin reset and `.content a`
default styling.
========================================================= */
[class^="ItemDetail_content"] a.custom-blog-link {
display: flex;
align-items: center;
gap: 10px;
margin: 22px -15px -30px;
padding: 11px 15px;
background: color-mix(in srgb, var(--highlight) 16%, var(--background));
border-radius: 0 0 6px 6px;
color: var(--text);
font-size: 13px;
line-height: 1.4;
text-decoration: none;
transition: background 0.2s;
}
[class^="ItemDetail_content"] a.custom-blog-link:hover {
background: color-mix(in srgb, var(--highlight) 26%, var(--background));
color: var(--text);
text-decoration: none;
}
[class^="ItemDetail_content"] a.custom-blog-link::before {
content: "";
display: inline-block;
width: 14px;
height: 10px;
flex-shrink: 0;
background-color: var(--highlight);
-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 5h12M9 1l4 4-4 4'/></svg>") no-repeat center / contain;
mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 5h12M9 1l4 4-4 4'/></svg>") no-repeat center / contain;
}
.custom-blog-link-label {
color: var(--highlight);
font-weight: 700;
text-transform: uppercase;
font-size: 11px;
letter-spacing: 0.08em;
}
@media (min-width: 768px) {
[class^="ItemDetail_content"] a.custom-blog-link {
margin: 24px -30px -30px;
padding: 12px 30px;
}
}