-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (92 loc) · 1.39 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
* {
box-sizing: border-box;
}
html {
width: 100%;
height: 100%;
}
body {
width: 100%;
height: 100%;
}
body {
margin: 0;
}
.explorer {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.explorer-header {
flex: 0 0 auto;
border: 2px solid gray;
}
.explorer-body {
flex-grow: 1;
display: flex;
border: 2px solid gray;
border-top: none;
}
.parent-container {
background-color: pink;
padding: 10px;
overflow: hidden;
}
.parent-item, .sibling-item, .child-item {
display: inline-block;
height: 200px;
width: 200px;
background-color: lightgray;
opacity: .7;
padding: 5px;
border: 2px solid darkgray;
border-radius: 10px;
overflow: hidden;
}
.parent-item.current {
background-color: limegreen;
}
.parent-item:not(:last-of-type) {
margin-right: 10px;
}
.sibling-container {
border-right: 2px solid gray;
background-color: lightblue;
padding: 10px;
overflow: hidden;
}
.sibling-item {
display: block;
}
.sibling-item.current {
background-color: limegreen;
}
.sibling-item:not(:last-of-type) {
margin-bottom: 10px;
}
.content-container {
flex-grow: 1;
background-color: #FF7256;
}
.square {
position: relative;
}
.square:before {
content: "";
display: block;
padding-top: 100%;
}
.square > * {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.content-container {
padding: 10px;
}
.child-item:not(:last-of-type) {
margin-right: 10px;
}