-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
143 lines (127 loc) · 2.35 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
:root {
--pink: #f9b5da;
--purple: #d9b5fe;
--blue: #79cbff;
--dark: #120052;
--green: #82e0bf;
--yellow: #fef7ae;
--magenta: #ee2d97;
}
html {
margin: 0;
background: radial-gradient(circle, #79cbff, #dbeff0, #79cbff);
}
h1 {
text-align: center;
font-size: 90px;
font-weight: 600;
font-family: 'Pirata one', cursive;
color: var(--dark);
text-shadow: 4px 4px 0px var(--green),10px 10px 0px var(--blue),
6px 6px 0px var(--purple);
}
.card-container {
display: flex;
font-family: 'Roboto', sans-serif;
justify-content: space-between;
flex-wrap: wrap;
padding: 10px;
}
.card-container > * {
width: calc(100% / 3);
}
.button {
background: linear-gradient(
to right,
var(--green),
var(--blue),
var(--green),
var(--blue)
);
background-size: 500% auto;
font-family: 'Pirata one', cursive;
transition: background-position 0.5s ease;
padding: 10px 30px;
border: none;
border-radius: 5px;
font-size: 20px;
cursor: pointer;
margin-left: 10px;
margin-bottom: 10px;
}
.button:hover {
background-position: 100% 0;
}
.card {
color: var(--dark);
padding: 5px;
margin-left: 10px;
}
.card ul {
margin: 0px;
padding: 0px;
}
.card li {
list-style: none;
margin: 5px;
text-align: justify;
}
.card img {
max-width: 40%;
height: auto;
margin-top: 5px;
}
.card ul li strong {
font-weight: bold;
color: var(--magenta);
}
.past {
font-weight: bold;
color: #120052;
padding: 5px;
box-shadow: inset #f9b5da 0 0 0 5px;
}
.present {
font-weight: bold;
color: #120052;
padding: 5px;
box-shadow: inset #79cbff 0 0 0 5px;
}
.future {
font-weight: bold;
color: #120052;
padding: 5px;
box-shadow: inset #82e0bf 0 0 0 5px;
}
@media (max-width: 768px) {
h1 {
font-size: 40px;
}
.card-container {
flex-direction: column;
font-family: 'Roboto', sans-serif;
padding: 10px;
flex-direction: column-reverse;
align-content: space-around;
align-items: center;
}
.button {
background: linear-gradient(
to right,
var(--green),
var(--purple),
var(--pink),
var(--blue)
);
background-size: 500% auto;
font-family: 'Pirata one', cursive;
transition: background-position 0.5s ease;
padding: 200px 500px;
border: none;
border-radius: 5px;
font-size: 200px;
cursor: pointer;
margin-left: 10px;
margin-bottom: 10px;
}
}