forked from MarkoCen/github-flair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.css
54 lines (53 loc) · 1.03 KB
/
page.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
body{
margin: 4em 0;
}
.logo{
width: 30%;
}
.flair-container{
margin-top: 20px;
}
.flair-container > div{
padding: 10px;
height: 180px;
display: flex;
align-items: center;
margin-bottom: 75px;
}
.flair-wrap > div, .text-wrap > div{
margin-left: auto;
margin-right: auto;
}
.text-wrap > textarea{
text-align: center;
width: 60%;
height: 180px;
}
.author{
position: fixed;
bottom: 10px;
right: 20px;
}
.avatar .border{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
border-width: 3px;
border-top-style: dotted;
border-bottom-style: dotted;
border-left-style: dotted;
border-right-style: dotted;
border-color: hsl(265, 90%, 50%);
animation: rainbow 5s infinite alternate, spin 10s linear infinite;
border-radius: 50%;
}
@keyframes rainbow {
0% {border-color: hsl(265, 90%, 50%);}
100% {border-color: hsl(360, 90%, 50%);}
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}