-
-
Notifications
You must be signed in to change notification settings - Fork 255
/
style.css
134 lines (114 loc) · 1.8 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
* {
box-sizing: border-box;
}
html,
body {
margin: 0;
}
body {
background: #fafafa;
}
h1,
h2,
h3 {
margin: 0;
}
header {
width: 100%;
text-align: center;
}
h1 {
font-size: 3.8rem;
font-family: papyrus;
letter-spacing: 2px;
padding-top: 50px;
text-shadow: 3px 3px 0 red, -1px -1px 0 red, 1px -1px 0 red, -1px 1px 0 red,
1px 1px 0 red;
}
.wrapper {
margin: 30px;
padding: 30px;
max-width: 580px;
font-family: monospace;
text-align: justify;
font-size: 1.3rem;
line-height: 1.5rem;
margin: auto;
}
.wrapper span {
font-style: italic;
font-weight: bold;
}
.cursor {
padding: 30px 30px 0;
width: 100%;
height: 400px;
position: relative;
font-family: monospace;
}
.box {
width: 100%;
height: 100%;
border: 3px solid black;
background: white;
display: flex;
flex-direction: column;
}
.info {
width: 100%;
background: linear-gradient(90deg, hotpink, #54b2f0);
}
.center {
text-align: center;
margin: 10px;
}
.name {
font-weight: bold;
width: 100%;
border-bottom: 2px solid black;
padding: 6px 8px;
letter-spacing: 1.5px;
color: white;
display: flex;
justify-content: space-between;
}
.name a {
color: white;
text-decoration: none;
}
.byline {
padding: 6px 8px;
font-style: italic;
background: #f9f9f9;
opacity: 0.7;
border-bottom: 1px solid black;
}
.effect {
height: 100%;
position: relative;
}
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}