-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
167 lines (147 loc) · 2.38 KB
/
styles.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
162
163
164
165
166
167
:root {
--purple: #6d597aff;
--dark-red: #b56576ff;
--red: #e56b6fff;
--orange: #eaac8bff;
--pinkish: #f7b2ad;
--light-pink: #e8c3cb;
--whiteish: #fff4e9;
--shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
@keyframes fade {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
html,
body {
margin: 0;
-webkit-font-smoothing: auto;
display: flex;
overflow: hidden;
animation: x 3s;
animation-name: fade;
}
h1 {
color: var(--whiteish);
text-shadow: 1px 1px 2px var(--red);
font-family: "Abril Fatface";
font-size: 4rem;
font-style: italic;
margin: 1rem;
}
h2 {
font-family: "Dancing Script";
text-shadow: 0 2px 2px var(--light-pink);
color: var(--dark-red);
font-size: 2rem;
margin: 0.5rem;
}
a {
font-family: "Fira Code", monospace;
font-weight: bolder;
margin-left: 0.5rem;
text-decoration: none;
text-shadow: 0 2px 2px var(--light-pink);
color: var(--dark-red);
}
a:hover {
color: var(--purple);
}
img {
max-width: 80%;
box-shadow: var(--shadow);
}
ul {
list-style-type: none;
padding-top: 1rem;
}
li {
display: flex;
align-items: center;
}
#title {
margin-top: -3rem;
}
#vCard {
font-family: "Dancing Script", Lato;
font-size: 1.2rem;
align-self: center;
}
.panel {
height: 100vh;
width: 50%;
}
.left:before {
background-color: var(--pinkish);
box-shadow: var(--shadow);
position: absolute;
top: 0;
bottom: 0;
left: 0;
height: 100%;
width: 50%;
z-index: -999;
box-shadow: var(--shadow);
content: "";
transform: skew(2deg);
transform-origin: bottom;
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card {
background: var(--pinkish);
border-radius: 2px;
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
height: 250px;
width: 420px;
margin: 1rem;
transform: skew(2deg);
}
.icon {
width: 35px;
height: 35px;
fill: var(--whiteish);
}
@media (max-width: 800px) {
body {
flex-direction: column;
}
.left {
margin-top: 1rem;
}
.panel {
width: 100vw;
height: 50vh;
}
.left:before {
background: unset;
width: 100%;
transform: unset;
}
}
@media (max-width: 520px) {
img {
max-width: 100%;
}
ul {
padding-top: unset;
}
.left {
margin-top: 0rem;
}
.panel {
height: unset;
}
}