-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
125 lines (111 loc) · 1.86 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
body, h1 {
margin: 0;
padding: 0;
}
body {
background-color: rgb(149,207,114);
}
h1 {
font-size: 32px;
padding: 20px;
text-align: center;
background-color: rgb(131,194,93);
}
.content {
display: block;
background-color: rgb(203,240,180);
width: 800px;
height: 650px;
padding: 30px 80px 10px 80px;
margin: auto;
}
.sidebar {
width: 150px;
height: 590px;
float: left;
text-align: center;
padding: 10px;
margin-left: 5px;
outline: none;
}
.settings, .stats {
width: 150px;
margin-bottom: 115px;
text-align: center;
}
label {
display: inline-block;
width: 50px;
text-align: right;
}
input {
margin: 5px 0;
width: 50px;
text-align: center;
}
#shuffle {
padding: 5px 10px;
font-size: 20px;
border: solid 4px rgb(149,207,114);
border-radius: 5px;
background-color: rgb(203,240,180);
text-align: center;
cursor: pointer;
outline: none;
-webkit-transition: background-color 0.3s;
transition: background-color 0.3s;
}
#shuffle:hover {
background-color: rgb(162,217,128);
}
#shuffle:active {
background-color: rgb(150,227,102);
}
.box {
position: relative;
float: left;
width: 450px;
height: 450px;
padding: 80px;
background-color: white;
}
.block {
display: block;
position: absolute;
box-sizing: border-box;
width: 25%;
height: 25%;
padding: 1%;
text-align: center;
cursor: pointer;
-webkit-transition: left 0.5s, top 0.5s;
transition: left 0.5s, top 0.5s;
overflow: hidden;
}
.block span {
width: 400%;
height: 400%;
display: block;
background: url(src/1.jpg);
background-size: cover;
background-position: center;
position: absolute;
top: 0;
left: 0;
}
.block h2 {
position: relative;
font-size: 48px;
color: rgba(0,0,255,0.4);
z-index: 200;
}
#description {
padding-top: 10px;
padding-left: 135px;
clear: both;
}
.footer {
height: 60px;
box-shadow: 0px 500px 0px 500px rgb(131,194,93);
background-color: rgb(131,194,93);
}