mirror of https://git.door43.org/Andley/BG4e
114 lines
1.7 KiB
SCSS
114 lines
1.7 KiB
SCSS
---
|
|
---
|
|
|
|
@import "{{ site.theme }}";
|
|
|
|
body {
|
|
font-family: 'Gentium Book Plus', 'Noto Sans TC';
|
|
color: black;
|
|
}
|
|
|
|
h1 {
|
|
color: #C00000;
|
|
text-align: center;
|
|
border-bottom: 4px double ;
|
|
}
|
|
|
|
h2 {
|
|
text-align: center;
|
|
}
|
|
|
|
h2, h3, h4, h5, h6 {
|
|
margin-top: 10px;
|
|
color:black;
|
|
}
|
|
|
|
strong {
|
|
color: red;
|
|
font-weight:700;
|
|
}
|
|
|
|
em {
|
|
color: blue;
|
|
font-weight:700;
|
|
}
|
|
|
|
ul {
|
|
margin-bottom: 0em;
|
|
}
|
|
|
|
ruby {
|
|
line-height: 3.5em;
|
|
}
|
|
|
|
/* page layout */
|
|
header {
|
|
padding: 20px 20px 5px 20px;
|
|
}
|
|
|
|
section {
|
|
margin-top: 100px;
|
|
padding-top:20px;
|
|
}
|
|
|
|
ul li::marker {
|
|
content: '• ';
|
|
}
|
|
|
|
nav {
|
|
ul li::marker {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
section.footnotes {
|
|
width: 90%;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
/* table */
|
|
table {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
th {
|
|
border-bottom: 4px double;
|
|
border-top: 2px solid;
|
|
border-right: 2px solid;
|
|
border-left: 2px solid;
|
|
font-weight: 800;
|
|
border-color: black;
|
|
}
|
|
td {
|
|
border: 1px solid;
|
|
border-color: black;
|
|
}
|
|
td:first-child {
|
|
border-left: 1px solid;
|
|
}
|
|
|
|
/* offset anchor tag link */
|
|
|
|
:target {
|
|
padding-top: 115px;
|
|
margin-top: -115px;
|
|
}
|
|
|
|
/* text decoration for marking syntax functions */
|
|
.S {text-decoration: underline double; text-underline-offset: 4px; }
|
|
.P {text-decoration: underline wavy; text-underline-offset: 4px; }
|
|
.C {text-decoration: underline solid; text-underline-offset: 4px; }
|
|
.A {text-decoration: underline dotted; text-underline-offset: 4px; }
|
|
|
|
|
|
/* BULLET POINT RELATIONSHIP LINES */
|
|
ul ul { position: relative; }
|
|
ul ul::before {
|
|
content:'';
|
|
border-left: 1px solid grey ;
|
|
position: absolute;
|
|
}
|
|
ul ul::before { left: -7px; top: 0; bottom: 0;
|
|
}
|