-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (103 loc) · 1.79 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
body {
height: 100vh;
display: grid;
align-items: center;
font-family: 'Poppins', sans-serif;
/* padding-right: 30px; */
}
h3 {
padding-left: 1%;
}
p.name {
font-family: Lucida Handwriting;
}
div.something {
padding-left: 1%;
padding-right: 1%;
}
p.long {
height: 360px;
}
.tree {
width: 100%;
height: auto;
text-align: center;
/* margin: 0 auto;
margin-left: 5%; */
}
.tree ul {
padding-top: 20px;
position: relative;
transition: .5s;
}
.tree li {
display: inline-block;
text-align: center;
list-style-type: none;
position: relative;
padding: 2.5px;
transition: .5s;
padding-bottom: 5%;
}
.tree li::before, .tree li::after {
content: '';
position: absolute;
top: 0;
right: 50%;
border-top: 1px solid #ccc;
width: 50%;
height: 10px;
}
.tree li::after {
right: 50%;
left: 50%;
border-left: 1px solid #ccc;
}
.tree li:only-child::after, .tree li:only-child::before {
display: none;
}
.tree li:only-child {
padding-top: 0;
}
.tree li:first-child::before, .tree li:last-child::after {
border: 0 none;
}
.tree li:last-child::before {
border-right: 1px solid #ccc;
border-radius: 0 5px 0 0;
-webkit-border-radius: 0 5px 0 0;
-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after {
border-radius: 0 5px 0 0;
-webkit-border-radius: 0 5px 0 0;
-moz-border-radius: 0 5px 0 0;
}
.tree ul ul::before {
content: '';
position: absolute;
top: 0;
left: 50%;
border-left: 1px solid #ccc;
width: 0;
height: 20px;
}
.tree li a {
border: 1px solid #ccc;
padding: 5px;
display: inline-grid;
border-radius: 5px;
text-decoration-line: none;
border-radius: 5px;
transition: .5s;
}
.tree li a span {
border: 1px solid #ccc;
border-radius: 5px;
color: #ffffff;
padding: 5px;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 500;
}