File: custom.css

package info (click to toggle)
python-advanced-alchemy 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,424 kB
  • sloc: python: 33,714; makefile: 162; javascript: 123; sh: 4
file content (147 lines) | stat: -rw-r--r-- 3,465 bytes parent folder | download | duplicates (2)
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* Theme color definitions */
:root {
  --brand-font-size-xl: 6rem;
  --brand-font-size-lg: 5rem;
  --brand-font-size-md: 4rem;
  --brand-font-size-sm: 2.5rem;
  --brand-font-size-xs: 1.8rem;
  --brand-font-size-xxs: 1.6rem;

  --brand-letter-spacing-xl: 0.25em;
  --brand-letter-spacing-lg: 0.2em;
  --brand-letter-spacing-md: 0.1em;
  --brand-letter-spacing-sm: 0.05em;
  --brand-letter-spacing-xs: 0.03em;
}

html.light {
  --sl-color-primary: #202235;
  --sl-color-secondary: #edb641;
  --sl-color-accent: #ffd480;
  --sl-color-text-1: var(--sl-color-primary);
  --sl-color-text-2: var(--sl-color-secondary);
  --sy-c-foot-background: #f0f0f0;
  --yue-c-text: #000;
  --brand-text-glow: 0 0 10px rgba(32, 34, 53, 0.3),
    0 0 20px rgba(32, 34, 53, 0.2), 0 0 30px rgba(237, 182, 65, 0.1);
}

html.dark {
  --sl-color-text-1: var(--sl-color-secondary);
  --sy-c-foot-background: black;
  --yue-c-text: #fff;
  --brand-text-glow: 0 0 10px rgba(237, 182, 65, 0.4),
    0 0 20px rgba(237, 182, 65, 0.3), 0 0 30px rgba(237, 182, 65, 0.2);
}

.title-with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem auto 4rem;
  width: 100%;
  padding: 0 2rem;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

html[class] .title-with-logo .brand-text {
  font-family: var(--sl-font-sans);
  font-weight: 300;
  font-size: var(--brand-font-size-lg);
  letter-spacing: var(--brand-letter-spacing-xl);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  max-width: 100%;
  word-break: break-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  transition: color var(--sl-transition), text-shadow var(--sl-transition);
}

html.light .title-with-logo .brand-text {
  color: var(--sl-color-text-1);
  text-shadow: var(--brand-text-glow);
}

html.dark .title-with-logo .brand-text {
  color: var(--sl-color-text-2);
  text-shadow: var(--brand-text-glow);
}

/* Button container wrapping */
.buttons.wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.buttons.wrap .btn-no-wrap {
  flex: 0 0 auto;
}

/* Large screens */
@media (min-width: 1200px) {
  html[class] .title-with-logo .brand-text {
    font-size: var(--brand-font-size-xl);
  }
}

/* Medium-small screens */
@media (max-width: 991px) {
  html[class] .title-with-logo .brand-text {
    font-size: var(--brand-font-size-md);
    letter-spacing: var(--brand-letter-spacing-lg);
  }
}

/* Small screens */
@media (max-width: 767px) {
  html[class] .title-with-logo .brand-text {
    font-size: var(--brand-font-size-sm);
    letter-spacing: var(--brand-letter-spacing-md);
  }
  html[class] .title-with-logo {
    margin: 2rem auto 1.5rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  html[class] .title-with-logo .brand-text {
    font-size: var(--brand-font-size-xs);
    letter-spacing: var(--brand-letter-spacing-sm);
    line-height: 1.2;
  }
  html[class] .title-with-logo {
    margin: 1.5rem auto 1rem;
    padding: 0 1rem;
  }
}

/* Smallest screens */
@media (max-width: 360px) {
  html[class] .title-with-logo .brand-text {
    font-size: var(--brand-font-size-xxs);
    letter-spacing: var(--brand-letter-spacing-xs);
  }
}

/* Preserve existing layout styles */
#badges img {
  margin-top: 0;
  margin-bottom: 0;
}

#badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3em;
}