--- --- @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 { font-size: 16px; line-height: 4.5em; } ul ruby { line-height: 2.5em; } rt { text-align: center; font-size:13px; padding: 0 2px; } /* 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 */ mark { &.pm {background: none;font-weight:900; } &.S {background: none; text-decoration: underline double; text-underline-offset: 4px;} &.P {background: none; text-decoration: underline wavy; text-underline-offset: 4px;} &.C {background: none; text-decoration: underline solid; text-underline-offset: 4px;} &.A {background: none; text-decoration: underline dotted; text-underline-offset: 4px;} &.green {background-color: lightgreen; } &.red {background-color: lightcoral; } &.blue {background-color: skyblue; } &.purple {background-color: purple; } } /* 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; } /*Functional Styling*/ @media (pointer: coarse), (hover: none) { [title] { position: relative; display: inline-flex; justify-content: center; } [title]:focus::after { content: attr(title); position: absolute; top: 90%; color: #000; background-color: #fff; border: 1px solid; width: fit-content; padding: 3px; font-size: 10px; } }