update,
This commit is contained in:
119
BBoney/doc/tree-diagrm/style.css
Normal file
119
BBoney/doc/tree-diagrm/style.css
Normal file
@@ -0,0 +1,119 @@
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
color: rgb(245, 245, 245);
|
||||
background-color: rgb(249, 148, 23);
|
||||
}
|
||||
|
||||
*, *:before, *:after {
|
||||
font-family: "Noto Sans TC", sans-serif;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
min-width: 1200px;
|
||||
margin: 0;
|
||||
padding: 50px;
|
||||
color: rgb(245, 245, 245);
|
||||
font: 16px Verdana, sans-serif;
|
||||
background: rgb(54, 48, 98);
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.branch {
|
||||
position: relative;
|
||||
margin-left: 250px;
|
||||
}
|
||||
.branch:before {
|
||||
content: "";
|
||||
width: 50px;
|
||||
border-top: 2px solid rgb(245, 245, 245);
|
||||
position: absolute;
|
||||
left: -100px;
|
||||
top: 50%;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.entry {
|
||||
position: relative;
|
||||
min-height: 80px;
|
||||
}
|
||||
.entry:before {
|
||||
content: "";
|
||||
height: 100%;
|
||||
border-left: 2px solid rgb(245, 245, 245);
|
||||
position: absolute;
|
||||
left: -50px;
|
||||
}
|
||||
.entry:after {
|
||||
content: "";
|
||||
width: 50px;
|
||||
border-top: 2px solid rgb(245, 245, 245);
|
||||
position: absolute;
|
||||
left: -50px;
|
||||
top: 50%;
|
||||
margin-top: 1px;
|
||||
}
|
||||
.entry:first-child:before {
|
||||
width: 10px;
|
||||
height: 50%;
|
||||
top: 50%;
|
||||
margin-top: 2px;
|
||||
border-radius: 10px 0 0 0;
|
||||
}
|
||||
.entry:first-child:after {
|
||||
height: 10px;
|
||||
border-radius: 10px 0 0 0;
|
||||
}
|
||||
.entry:last-child:before {
|
||||
width: 10px;
|
||||
height: 50%;
|
||||
border-radius: 0 0 0 10px;
|
||||
}
|
||||
.entry:last-child:after {
|
||||
height: 10px;
|
||||
border-top: none;
|
||||
border-bottom: 2px solid rgb(245, 245, 245);
|
||||
border-radius: 0 0 0 10px;
|
||||
margin-top: -9px;
|
||||
}
|
||||
.entry.sole:before {
|
||||
display: none;
|
||||
}
|
||||
.entry.sole:after {
|
||||
width: 50px;
|
||||
height: 0;
|
||||
margin-top: 1px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: block;
|
||||
min-width: 150px;
|
||||
padding: 5px 10px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
border: 2px solid rgb(245, 245, 245);
|
||||
border-radius: 5px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
margin-top: -25px;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
Reference in New Issue
Block a user