-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
73 lines (66 loc) · 1.59 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
* {
box-sizing: border-box;
}
.container {
width: 100%;
height: 700px;
border: 5px solid saddlebrown;
margin: 15px auto;
background-image: url("background.png");
background-size: cover;
box-shadow: 3px 3px 10px gray;
display: grid;
grid-template-columns: repeat(3, 33.333%);
grid-template-rows: repeat(8, 1fr);
grid-template-areas:
"door9 door6 door11"
"door19 door2 door7"
"door3 door20 door16 "
"door14 door12 door15"
"door1 door5 door23"
"door22 door10 door24"
"door17 door21 door4"
"door8 door18 door13";
}
.image {
background-size: cover;
background-position: center;
}
.text {
height: 100%;
width: 100%;
color: black;
padding: 10px;
border: 1px solid saddlebrown;
transition: opacity 2.5s;
}
@media only screen and (min-width: 768px) {
.container {
width: 800px;
height: 900px;
margin: 15px auto;
background-size: cover;
box-shadow: 6px 6px 20px gray;
display: grid;
grid-template-columns: repeat(4, 25%);
grid-template-rows: repeat(6, 1fr);
grid-template-areas:
"door9 door6 door11 door7"
"door3 door20 door16 door2"
"door14 door12 door19 door15"
"door22 door1 door5 door23"
"door17 door10 door24 door21"
"door8 door18 door4 door13";
}
.image {
background-image: none;
background-size: cover;
background-position: center;
}
.text {
height: 100%;
width: 100%;
padding: 10px;
border: 2px solid saddlebrown;
}
}