-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.component.css
More file actions
165 lines (151 loc) · 3.35 KB
/
app.component.css
File metadata and controls
165 lines (151 loc) · 3.35 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
164
165
/* Vibrant, modern and glassy UI experience for Tour of Heroes */
html, body {
min-height: 100vh;
margin: 0;
padding: 0;
font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
background: linear-gradient(135deg, #d8e3ff 0%, #f5eaff 40%, #c8faef 100%);
background-attachment: fixed;
}
/* Faded glass morphism card */
div[style*="text-align:center"] {
margin: 44px auto 20px auto;
max-width: 540px;
padding: 32px 36px 22px 36px;
box-shadow: 0 6px 40px 0 rgba(48,33,132, 0.24), 0 2px 8px rgba(0,0,0,0.04);
border-radius: 1.5rem;
background: rgba(255,255,255,0.70);
backdrop-filter: blur(8px);
position: relative;
animation: fadeinup 1s both;
}
@keyframes fadeinup {
from { opacity:0; transform: translateY(40px); }
to { opacity:1; transform: none; }
}
h1 {
font-size: 2.8rem;
font-weight: 800;
letter-spacing: 0.03em;
background: linear-gradient(90deg, #1686fa 30%, #5f51da 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 8px;
margin-top: 2px;
text-shadow: 0 4px 24px rgba(13,110,253,0.07);
padding: 0 4px;
}
img {
margin-top: 18px;
margin-bottom: 6px;
width: 220px;
height: 100px;
object-fit: contain;
border-radius: 1rem;
border: 2.5px solid #9ebfff7a;
box-shadow: 0 4px 32px #c1d7ff36, 0 1px 6px #3649b140;
background: rgba(226, 239, 255, 0.5);
filter: hue-rotate(-8deg) saturate(1.18);
}
h2 {
color: #3f468e;
font-size: 1.22rem;
font-weight: 600;
letter-spacing: 0.01em;
margin: 20px 0 10px 0;
padding-top: 10px;
text-align: left;
animation: fadeinup 1.2s 0.1s both;
}
ul {
list-style: none;
padding: 0;
max-width: 450px;
margin: 0 auto 26px auto;
display: flex;
flex-direction: column;
gap: 20px;
animation: fadeinup 1.2s 0.19s both;
}
li {
border-radius: 18px;
background: rgba(246,249,255,0.94);
box-shadow: 0 2px 16px 0 #d4dbf9cc, 0 1px 8px 0 #9fa7b5a6;
margin: 0;
transition:
box-shadow 0.20s,
background 0.23s,
transform 0.22s;
padding: 0;
overflow: hidden;
border: 1px solid #e2e9fe;
}
li:hover {
box-shadow: 0 4px 40px 0 #64a4fa51;
transform: translateY(-4px) scale(1.025);
background: rgba(199,226,255,0.98);
border-color: #aedaea;
}
li h2 {
margin: 0;
padding: 0;
font-size: 1.12rem;
text-align: center;
background: none;
color: #3262a0;
font-weight: 700;
letter-spacing: 0.01em;
transition: color 0.18s;
}
a {
color: #237bf5;
text-decoration: none;
display: flex;
width: 100%;
height: 100%;
min-height: 48px;
align-items: center;
justify-content: center;
border-radius: inherit;
font-size: 1.13rem;
font-weight: 600;
letter-spacing: 0.01em;
transition: color .18s, background .16s;
background: linear-gradient(90deg, #fff 70%,#e9f6ff 100%);
}
a:hover {
color: #1971c2;
background: linear-gradient(93deg, #e0eafd 50%,#e7fffb 140%);
}
/* Animated router outlet region */
router-outlet {
display: block;
margin-top: 28px;
animation: fadeinup 0.8s 0.4s both;
}
/* Responsive breakpoints */
@media (max-width: 660px) {
div[style*="text-align:center"] {
max-width: 99vw;
padding: 20px 7vw 19px 7vw;
}
ul {
max-width: 97vw;
gap: 14px;
}
img {
width: 84vw;
height: auto;
}
}
@media (max-width: 399px) {
h1 {
font-size: 1.35rem;
}
div[style*="text-align:center"] {
padding: 10px 0 10px 0;
}
ul {
gap: 8px;
}
}