Andley_BG4e/assets/css/style.scss

114 lines
1.7 KiB
SCSS
Raw Normal View History

2021-09-11 22:59:13 +00:00
---
---
@import "{{ site.theme }}";
body {
font-family: 'Gentium Book Plus', 'Noto Sans TC';
color: black;
2021-09-11 23:47:52 +00:00
}
2021-09-12 02:25:17 +00:00
h1 {
color: #C00000;
text-align: center;
border-bottom: 4px double ;
}
2021-09-12 02:25:17 +00:00
h2 {
text-align: center;
}
h2, h3, h4, h5, h6 {
margin-top: 10px;
color:black;
2021-09-12 02:25:17 +00:00
}
strong {
2021-09-11 23:59:43 +00:00
color: red;
font-weight:700;
2021-09-11 23:47:52 +00:00
}
em {
2021-09-11 23:59:43 +00:00
color: blue;
font-weight:700;
2021-09-12 10:16:21 +00:00
}
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 footnote jumping */
:target {
padding-top: 65px;
margin-top: -65px;
}
/* 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;
}