-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
138 lines (121 loc) · 2.32 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
136
137
138
body {
width: 1381px;
margin: 0 auto;
padding-top: 10%;
}
.container {
width: 88%;
max-height: 600px;
overflow: scroll;
float: left;
background-color: #EFEFEF;
box-sizing: border-box;
padding: 20px;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
box-shadow: -2px 3px 5px -3px rgba(0,0,0,0.4);
}
.side {
width: 12%;
min-height: 233px;
float: left;
box-sizing: border-box;
padding: 15px;
background-color: #DADADA;
box-shadow: -2px 3px 5px -3px rgba(0,0,0,0.4);
}
button {
display: block;
margin: 10px 0;
width: 100%;
background-color: #007EFF;
color: white;
border: none;
padding: 8px;
font-size: 1.2rem;
box-shadow: -2px 3px 5px -3px rgba(0,0,0,0.4);
-webkit-transition: all .3s ease; /* Safari and Chrome */
}
button:hover {
background-color: #005AFF;
}
button:focus {
outline: none;
}
.active {
background-color: #005AFF;
}
.block {
height: 163px;
width: 14%;
background-color: #DADADA;
margin: 15px;
-webkit-transition: all .8s ease; /* Safari and Chrome */
border-radius: 4px;
position: relative;
box-shadow: -2px 3px 5px -3px rgba(0,0,0,0.4);
}
.block img {
width: 100%;
border-radius: 4px 4px 0 0;
}
.block img.portrait {
height: 85%;
width: auto;
margin: 0 auto;
border-radius: 0;
position: absolute;
right: 20%;
left: 20%;
}
.controls {
height: 15%;
position: absolute;
bottom: 0;
width: 100%;
}
.controls p {
background-color: #ADADAD;
width: 50%;
height: 100%;
color: white;
font-weight: bold;
font-size: 1.5rem;
text-align: center;
margin: 0;
float: left;
box-sizing: border-box;
-webkit-transition: all .3s ease; /* Safari and Chrome */
}
.controls p:hover {
background-color: #656565 !important;
cursor: pointer;
}
.controls p:last-child {
background-color: #8B8B8B;
width: 50%;
border-radius: 0 0 4px 0;
}
.controls p:first-child {
border-radius: 0 0 0 4px;
line-height: 0.55;
font-size: 2rem;
}
.counter {
height: 30px;
width: 30px;
border: 2px solid #007EFF;
border-radius: 4px;
color: #007EFF;
position: absolute;
top: -11px;
right: -11px;
text-align: center;
background: white;
font-weight: bold;
box-sizing: border-box;
padding: 4px;
font-family: sans-serif;
display: none;
}