-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
135 lines (117 loc) · 2.15 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
135
@keyframes fade-out {
from {
opacity: 0;
transform: scale(102) rotate(0deg);
}
to {
opacity: 1;
transform: scale(1) rotate(720deg);
}
}
@-webkit-keyframes fade-out {
from {
opacity: 0;
transform: scale(102) rotate(0deg);
}
to {
opacity: 1;
transform: scale(1) rotate(720deg);
}
}
@keyframes nova-animacija {
0% {
transform: scale(1) rotate(0deg);
}
50% {
transform: scale(1.25) rotate(0deg);
}
100% {
transform: scale(1) rotate(360deg);
}
}
@-webkit-keyframes nova-animacija {
0% {
transform: scale(1) rotate(0deg);
}
50% {
transform: scale(1.25) rotate(0deg);
}
100% {
transform: scale(1) rotate(360deg);
}
}
* {
box-sizing: border-box;
}
body {
padding-top: 30px;
background-image: url('http://thumbs.dreamstime.com/x/cute-friendly-cow-pattern-7279386.jpg');
text-align: center;
font-family: "Comic Sans MS", cursive, sans-serif;
}
#app {
margin-top: 30px;
text-align: left;
padding: 10px;
width: 600px;
background-color: white;
margin-left: auto;
margin-right: auto;
overflow: hidden;
box-shadow: 0 0 20px black;
transform: skew(-3deg,15deg);
}
ul {
list-style: none;
padding-left: 0;
}
li {
padding-left: 0;
}
li:focus {
font-style: bold;
}
.thumbnail {
width: 49%;
float: left;
}
.thumbnail:nth-child(2n+1) {
clear: both;
}
.thumbnail img {
width: 200px;
height: 200px;
}
.thumbnail.selected {
background-color: white;
border: 5px solid red;
}
.thumbnail.selected img {
-webkit-animation: nova-animacija 2s ease-in-out infinite;
animation: nova-animacija 2s ease-in-out infinite;
}
.common {
color: #999;
}
.common:before {
content: " ";
}
.plus {
color: green;
}
.plus:before {
content: "+";
}
.minus {
color: red;
}
.minus:before {
content: "-";
}
.common:before, .plus:before, .minus:before {
display: inline-block;
min-width: 1em;
text-align: center;
animation: fade-out 1s ease-in-out;
-webkit-animation: fade-out 1s ease-in-out;
}