-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (99 loc) · 2.22 KB
/
Copy pathstyle.css
File metadata and controls
120 lines (99 loc) · 2.22 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
:root {
--background: #fff; /* default background color */
--foreground: #333; /* default foreground color */
--highlight: #537668; /* hopefully your favorite color */
}
.dark-mode {
--background: #333; /* darken background color */
--foreground: #fff; /* lighten foreground color */
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: var(--background);
color: var(--foreground);
transition: background-color 0.5s, color 0.5s; /* animation for switching the mode */
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
main {
flex-grow: 1; /* got aviable space for content */
display: flex;
align-items: center;
justify-content: center;
}
button {
padding: 10px;
background: none;
color: var(--foreground);
border-color: var(--highlight);
border-style: solid;
border-radius: 15px;
}
button:hover {
color: var(--highlight);
}
header h1 {
padding-left: 5px;;
font-size: 1.5em;
font-weight: 500;
}
header h1 span {
color: var(--highlight);
font-weight: 900;
}
header nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
header nav a {
color: var(--foreground);
text-decoration: none;
}
header nav a:hover {
color: var(--highlight);
text-decoration: underline;
}
#resultContainer {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.card {
width: 150px; /* Passe die Breite nach Bedarf an */
border: 1px solid var(--highlight);
border-radius: 8px;
padding: 12px;
margin: 8px;
background-color: var(--background);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
color: var(--foreground);
}
.card h2 {
font-size: 1.2em; /* Passe die Schriftgröße nach Bedarf an */
color: var(--highlight);
}
.card p {
font-size: 0.9em; /* Passe die Schriftgröße nach Bedarf an */
}
footer {
padding-bottom: 2%;
font-size: 1.0em;
font-weight: 100;
padding-left: 3%;
margin-top: auto;
}
footer .version {
color: var(--highlight);
}
footer .copyright {
color: var(--foreground);
}
footer .copyright span {
color: var(--highlight);
font-weight: 500;
}