-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
669 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
@charset "UTF-8"; | ||
|
||
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC&display=swap"); | ||
@import url(https://fonts.googleapis.com/css?family=Noto+Serif+TC&display=swap); | ||
|
||
@font-face { | ||
font-family: 'BopomofoRuby'; | ||
src: | ||
local('BopomofoRuby1909-v1-Regular'), | ||
url('../fonts/BopomofoRuby1909-v1-Regular.ttf'); | ||
} | ||
|
||
body { | ||
/* width: 100%; */ | ||
margin: 10px auto; | ||
width: 60%; | ||
color: #333; | ||
line-height: 2.0; | ||
font-size: 28pt; | ||
font-family: 'Noto Sans TC', sans-serif !important; | ||
} | ||
|
||
main { | ||
display: block; | ||
padding: 40px 20px 20px; | ||
color: #333; | ||
line-height: 1.8; | ||
} | ||
|
||
p { | ||
margin-bottom: 50px; | ||
line-height: 2em; | ||
} | ||
|
||
header { | ||
/* display: block; */ | ||
border-top: #00c4ab 5px solid; | ||
text-align: center; | ||
background: url(../picts/bg_header.png) #e6e6e6; | ||
} | ||
|
||
header h1 { | ||
padding: 0 10px 25px; | ||
font-family: 'Noto Serif TC', serif; | ||
font-size: 32pt; | ||
font-weight: bold; | ||
} | ||
|
||
h1 { | ||
color: #333; | ||
} | ||
|
||
#articles { | ||
font-weight: bold; | ||
} | ||
|
||
.title { | ||
font-size: 1.2em; | ||
letter-spacing: 2px; | ||
text-align: center; | ||
} | ||
|
||
.author { | ||
font-size: 0.7em; | ||
letter-spacing: 2px; | ||
text-align: right; | ||
} | ||
|
||
ul { | ||
display: none; | ||
list-style-type: none; | ||
} | ||
|
||
li a { | ||
text-decoration: none; | ||
display: block; | ||
padding: 17px 25px; | ||
color: #FFF; | ||
background: #B94B6A; | ||
border-bottom: 1px solid #A24861; | ||
font-size: 100%; | ||
line-height: 1.0em; | ||
} | ||
|
||
li:last-child a { | ||
border-bottom: none; | ||
} | ||
|
||
a { | ||
color: #0066cc; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
button { | ||
position: absolute; | ||
top: 25px; | ||
right: 15px; | ||
background-color: transparent; | ||
border: none; | ||
cursor: pointer; | ||
} | ||
|
||
button:focus { | ||
outline: none; | ||
} | ||
|
||
rt { | ||
font-family: Arial; | ||
color: darkcyan; | ||
font-size: 45%; | ||
letter-spacing: 0; | ||
} | ||
|
||
rtc { | ||
font-family: BopomofoRuby; | ||
color: #B94B6A; | ||
font-size: 30%; | ||
line-height: normal; | ||
ruby-merge: merge; | ||
|
||
-webkit-ruby-position: inter-character; | ||
ruby-position: inter-character; | ||
text-orientation: upright; | ||
letter-spacing: 3px; | ||
|
||
-webkitg_writing-mode: vertical-lr; | ||
writing-mode: vertical-lr; | ||
vertical-align: middle; | ||
display: inline; | ||
} | ||
|
||
/* 方音符號 */ | ||
.zhu_yin { | ||
font-family: "Noto Serif TC"; | ||
letter-spacing: 0.2em; | ||
} | ||
|
||
.zhu_yin ruby { | ||
writing-mode: vertical-lr; | ||
text-orientation: upright; | ||
} | ||
|
||
.zhu_yin rt { | ||
font-family: BopomofoRuby; | ||
color: #B94B6A; | ||
font-size: 40%; | ||
letter-spacing: 0; | ||
} | ||
|
||
.Piau_Im { | ||
font-family: "Noto Serif TC"; | ||
} | ||
|
||
.Piau_Im rt { | ||
font-family: BopomofoRuby; | ||
color: #B94B6A; | ||
font-size: 30%; | ||
|
||
-webkit-ruby-position: inter-character; | ||
ruby-position: inter-character; | ||
text-orientation: upright; | ||
|
||
-webkit-writing-mode: vertical-rl; | ||
writing-mode: vertical-rl; | ||
vertical-align: middle; | ||
display: inline; | ||
} | ||
|
||
/* 雙排注音符號 */ | ||
.Siang_Pai { | ||
font-family: "Noto Serif TC"; | ||
} | ||
|
||
.Siang_Pai ruby { | ||
ruby-merge: separate; | ||
ruby-position: over; | ||
} | ||
|
||
.Siang_Pai rt { | ||
font-family: Arial; | ||
color: #00c4ab; | ||
font-size: 40%; | ||
} | ||
|
||
.Siang_Pai rtc { | ||
font-family: BopomofoRuby; | ||
color: #B94B6A; | ||
font-size: 30%; | ||
|
||
-webkit-ruby-position: inter-character; | ||
ruby-position: inter-character; | ||
text-orientation: upright; | ||
|
||
-webkit-writing-mode: vertical-lr; | ||
writing-mode: vertical-lr; | ||
vertical-align: middle; | ||
display: inline; | ||
} | ||
|
||
/* 台羅、閩拼、白話字 */ | ||
.pin_yin { | ||
font-family: "Noto Serif TC"; | ||
} | ||
|
||
/* 白話字 */ | ||
.poj { | ||
font-family: "Noto Serif TC"; | ||
letter-spacing: 0.2em; | ||
} | ||
|
||
/* 十五音 */ | ||
.fifteen_yin { | ||
font-family: "Noto Serif TC"; | ||
letter-spacing: 0.2em; | ||
} | ||
|
||
.fifteen_yin rt { | ||
letter-spacing: 0; | ||
font-size: 40%; | ||
} |
Oops, something went wrong.