-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
161 lines (140 loc) · 3.07 KB
/
style.css
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
body {
background-color: #F5F5DC;
margin: 0;
padding: 0;
}
.grad {
width: 90%;
margin-left: auto;
margin-right: auto;
margin-bottom: 50px;
height: 1000px;
background-image: linear-gradient(to bottom right, rgb(0, 255, 72), rgb(0, 213, 255));
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
}
h1 {
margin-top: -5px;
color: rgb(255, 255, 255);
text-align: center;
font-family: 'Trebuchet MS';
font-size: 400%;
text-shadow: 4px 4px 8px rgb(0, 0, 0, 0.5);
color: rgb(179, 131, 251);
-webkit-text-stroke: 2px #454545;
margin-bottom: -30px;
}
h2 {
margin-bottom: -5px;
color: rgb(255, 255, 255);
text-align: center;
font-size: 300%;
font-family: 'Trebuchet MS';
text-shadow: 4px 4px 8px rgb(0, 0, 0, 0.5);
color: rgb(255, 216, 108);
-webkit-text-stroke: 2px #454545;
}
.self {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.self p {
color: rgb(255, 255, 255);
text-align: center;
font-family: 'Trebuchet MS';
font-weight: bold;
font-size: 125%;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.img1 {
justify-content: center;
align-items: center;
display: flex;
}
.img1 img {
max-width: 500px;
width: 75%;
border-radius: 20px;
box-shadow: 5px 10px 12px rgba(0, 0, 0, 0.5);
}
@keyframes fadeInFromBottom {
to {
opacity: 1;
/* 在動畫結束時,將透明度設為1,使元素完全顯示 */
transform: translateY(0);
/* 在動畫結束時,將位移設為0,回到原本位置 */
}
}
ul {
margin-left: 0;
padding-left: 0;
display: flex;
}
ul li {
list-style: none;
}
ul li a {
position: relative;
width: 60px;
height: 60px;
display: block;
text-align: center;
margin: 0px 10px;
border-radius: 50%;
padding: 6px;
box-sizing: border-box;
text-decoration: none;
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
background: linear-gradient(0deg, #ddd, #fff);
transition: .5s;
}
ul li a:hover {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
text-decoration: none;
}
ul li a .fab {
width: 100%;
height: 100%;
display: block;
background: linear-gradient(0deg, #fff, #ddd);
border-radius: 50%;
line-height: calc(60px - 12px);
font-size: 24px;
color: #262626;
transition: .5s;
}
ul li:nth-child(1) a:hover .fab {
color: #c4302b;
}
ul li:nth-child(2) a:hover .fab {
color: #6441a5;
}
ul li:nth-child(3) a:hover .fab {
color: #24292e;
}
.contact {
justify-content: center;
display: block;
}
.link {
justify-content: center;
display: flex;
}
.link a {
margin-left: 5px;
color: rgb(255, 255, 255);
text-align: center;
font-family: 'Noto Sans TC';
font-size: 250%;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.link h3 {
color: rgb(255, 255, 255);
text-align: center;
font-family: 'Trebuchet MS';
font-weight: bold;
font-size: 125%;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}