-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
102 lines (89 loc) · 1.47 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
@keyframes card-hover
{
25% { transform: rotate(1deg);}
50% { transform: rotate(0deg);}
75% { transform: rotate(-1deg);}
100% { transform: rotate(0deg);}
}
body
{
margin: 0;
background-color: #CFD8DC;
}
.container
{
display: flex;
justify-content: center;
align-items: stretch;
flex-wrap: wrap;
padding: 0 1%;
}
.title
{
text-align: center;
color: #2c3e50;
margin-bottom: 2em;
}
small
{
font-size: small;
}
.heading
{
font-family: cursive;
text-align: center;
color: #f1c40f;
}
.card
{
margin: 0 5px 1.5em 5px;
display: inline-block;
max-width: auto;
padding: 10px 20px 20px 20px;
box-shadow: 2px 2px 10px 0px rgb(0, 0, 0.1);
background-color: #16a085;
border-radius: 10px;
}
.card:hover
{
animation-name: card-hover;
animation-duration: 0.2s;
animation-timing-function: ease-out;
}
.card p
{
margin: 0;
padding: 0 5px;
color: #FFEBCF;
border-radius: 5px;
font-family: monospace;
cursor: pointer;
transition: all .5s;
}
.card p:hover
{
transform: scale(1.05) translateY(-2px);
background-color: #70cebb;
color: black;
}
.card p:hover .detail
{
color: #c23616;
}
.detail
{
font-family: cursive;
color: #0D0221;
transition: color .5s;
}
footer
{
margin: 20px;
border-top: 3px solid rgba(100, 100, 100, .4);
}
footer p
{
text-align: center;
font-family: 'Courier New', Courier, monospace;
color: #0D0221;
}