-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathglobal.scss
More file actions
163 lines (133 loc) · 2.88 KB
/
Copy pathglobal.scss
File metadata and controls
163 lines (133 loc) · 2.88 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
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@import "variables";
$position-values: (
0: 0,
5: 5%,
10: 10%,
25: 25%,
50: 50%,
75: 75%,
100: 100%
);
@import "~bootstrap/scss/bootstrap";
@font-face {
font-family: 'DDIN-Bold';
font-display: swap;
font-style: normal;
font-named-instance: 'Bold';
src:
local('DDIN-Bold'),
url('#{$font-path}/D-DIN-Bold.woff2') format("woff2");
}
@font-face {
font-family: 'DDIN';
font-display: swap;
font-style: normal;
font-named-instance: 'Regular';
src:
local('DDIN'),
url('#{$font-path}/D-DIN.woff2') format("woff2");
}
@font-face {
font-family: 'DDIN-Italic';
font-display: swap;
font-style: normal;
font-named-instance: 'Italic';
src:
local('DDIN-Italic'),
url('#{$font-path}/D-DIN-Italic.woff2') format("woff2");
}
body {
background-image: $background;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
}
#title {
color: $primary;
}
.card {
background: #ffffff;
background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 100%) !important;
}
.item-box {
background-color: rgba(255, 255, 255, 0.6);
}
.react-icons {
vertical-align: middle;
color: $primary
}
a:hover {
/* --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
*/
color: $primary;
text-decoration: underline;
}
a {
color: inherit;
text-decoration-color: $primary;
}
.icon-link {
text-decoration-color: $primary;
}
.btn {
background-color: white;
border-color: var(--bs-btn-hover-border-color);
&:hover {
color: white;
background-color: $primary;
}
}
.btn-primary {
color: white;
background-color: $primary;
}
.kdh-short-desc {
font-size: calc(1.275rem + .2vw);
color: var(--text-secondary)
}
.start-page-container {
h1, h2 {
-webkit-filter: drop-shadow(1px 1px 8px #717171);
filter: drop-shadow(1px 1px 8px #717171);
}
img {
-webkit-filter: drop-shadow(1px 1px 5px #002FEA);
filter: drop-shadow(1px 1px 5px #002FEA);
}
}
hr {
margin: 0.6rem 0;
}
a.anchor {
fill: "red";
}
.custom-anchor {
fill: $primary;
}
.icon-color-secondary {
color: $secondary;
}
.item-box {
transition: transform 0.3s ease, box-shadow 0.3s ease;
&:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
}
.hero-section {
// 1. Die Sektion so hoch wie der Bildschirm machen
//height: 100vh; // vh = viewport height (100% der Bildschirmhöhe)
// 2. Den Inhalt (die TitleBox) perfekt zentrieren
//display: flex;
//align-items: center; // Vertikal zentrieren
//justify-content: center; // Horizontal zentrieren
// 3. (Optional) Einen dezenten Hintergrund für den Kontrast
//background-color: #f8f9fa;
}
/* * Dies sorgt für den "Slide"-Effekt, wenn man z.B. einen
* Anker-Link zum Scrollen nutzt (siehe Schritt 3)
*/
html {
scroll-behavior: smooth;
}