-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
133 lines (126 loc) · 2.45 KB
/
main.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
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike , strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video{
font: inherit;
}
@keyframes Fade-in{
0%{ opacity:0; }
40%{ opacity:0; }
100%{ opacity:0.5; }
}
body{
/*background:url("https://acg.toubiec.cn/random.php?fa8e648d8f8fcb8469b51515") no-repeat;*/
background-size:cover;
background-attachment:fixed;
background-position:center top;
cursor: crosshair;
}
.ball{
color:#00aaff;
width: 10px;
height: 10px;
position: fixed;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
}
.ball:after,.ball:before{
width: inherit;
height: inherit;
background: inherit;
position: absolute;
}
.ball:after{
top: -5px;
}
.ball:before{
left: -5px;
}
section{
background: #ffffff;
color: #233333;
opacity: 0.5;
text-align: center;
font: inherit;
margin: 10% 40% 10px 40%;
animation: Fade-in 0.8s ease 0s 1;
transition: all 0.4s;
}
section:hover{
opacity: 0.9;
}
a{
text-decoration: none;
color: #f525e4;
transition: all 0.2s;
}
a.button{
border-radius: 4px;
border:1px solid #444444;
margin-bottom: 10px;
color: #233333;
transition: color 1s, background_color 1s;
}
a.button:hover{
background-color: #333333;
color: #ffffff;
}
ul{
list-style-type: none;
margin: 0;
padding: 0;
}
li{
display: inline;
padding: 0px 10px;
}
img.link{
width: 30px;
height: 30px;
margin-bottom: 10px;
}
img.head{
margin-top: 40px;
width: 60%;
height: 60%;
}
a.chgbutton{
border-radius: 4px;
border:1px solid #444444;
padding: 0px;
transition: color 1s, background_color 1s;
float:right;
}
@keyframes Chg{
0%{
background-color: #ffffff55;
color: #233333;
}
10%{
background-color: #ffffff55;
color: #233333;
}
90%{
background-color: #0088ccaa;
color: #ffffff;
}
100%{
background-color: #0088ccaa;
color: #ffffff;
}
}
a.chgbutton{
animation: Chg 2s linear 1s 100000 alternate;
}
h2.aboutlink{
padding: 0px 20px;
display:inline;
margin-bottom:10px;
font-size:20px;
transition: all 0.4s;
}
h2.aboutlink:hover{
color: #0088cc;
font-size:25px;
}
a:hover{
color: #00bbff;
}