forked from itsecd/web-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
76 lines (75 loc) · 1.63 KB
/
style.css
File metadata and controls
76 lines (75 loc) · 1.63 KB
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
.text {
text-align: justify;
line-height: 1.6;
margin: 20px auto;
}
.text--orange
{
background-color: #f4bc92;
color:#ece870;
}
.image-container{
position: relative;
width: 800px;
height:auto;
margin: 20px auto;
}
.image-container--background{
width: 100%;
height: auto;
object-fit: cover;
}
.image-container--foreground{
position:absolute;
left:50%;
top:50%;
transform:translate(-50%,-50%);
}
.traffic-light{
position: relative;
width:120px;
height:360px;
background-color: black;
}
.traffic-light__signal{
position:absolute;
left:10px;
width:100px;
height:100px;
border-radius: 50px;
}
.traffic-light__signal--red {
top:10px;
background-color: red;
}
.traffic-light__signal--yellow{
top: 130px;
background-color: #ece870;
}
.traffic-light__signal--green{
top:250px;
background-color: greenyellow;
}
.labyrinth-container{
top:20px;
padding: 30px;
border-radius: 15px;
box-shadow: 0 10px 30px;
}
.labyrinth{
display: grid;
grid-template-columns: repeat(3,80px);
grid-template-rows: repeat(3,80px);
}
.labyrinth__cell{
display: flex;
align-items: center;
justify-content: center;
font-family: Arial, sans-serif;
font-weight: bold;
position: relative;
}
.labyrinth__cell--wall-top { border-top: 4px solid #e74c3c; }
.labyrinth__cell--wall-right { border-right: 4px solid #e74c3c; }
.labyrinth__cell--wall-bottom { border-bottom: 4px solid #e74c3c; }
.labyrinth__cell--wall-left { border-left: 4px solid #e74c3c; }