Last active
November 22, 2017 07:18
-
-
Save lostandfound/56e3d7c103e779542658bf8355bb3ad1 to your computer and use it in GitHub Desktop.
でんでんコンバーターデフォルトCSS
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
@charset "UTF-8"; | |
/* でんでんコンバーター横書きデフォルト */ | |
@namespace "http://www.w3.org/1999/xhtml"; | |
@namespace epub "http://www.idpf.org/2007/ops"; | |
html { | |
-ms-writing-mode: lr-tb; | |
-epub-writing-mode: horizontal-tb; | |
-webkit-writing-mode: horizontal-tb; | |
writing-mode: horizontal-tb; | |
font-family: sans-serif, serif; | |
} | |
body { | |
text-align: justify; | |
text-justify: inter-ideograph; | |
vertical-align: baseline; | |
word-wrap: break-word; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: inherit; | |
font-weight: bold; | |
color: inherit; | |
} | |
h1 { | |
font-size: 2em; | |
margin-top: 0.625em; | |
margin-bottom: 0.625em; | |
} | |
h2 { | |
font-size: 1.5em; | |
margin-top: 0.83333em; | |
margin-bottom: 0.83333em; | |
} | |
h3 { | |
font-size: 1.125em; | |
margin-top: 1.11111em; | |
margin-bottom: 1.11111em; | |
} | |
h4 { | |
font-size: 1em; | |
margin-top: 1.25em; | |
margin-bottom: 1.25em; | |
} | |
h5 { | |
font-size: 0.875em; | |
margin-top: 1.42857em; | |
margin-bottom: 1.42857em; | |
} | |
h6 { | |
font-size: 0.75em; | |
margin-top: 1.66667em; | |
margin-bottom: 1.66667em; | |
} | |
p { | |
margin-top: 1.25em; | |
margin-bottom: 1.25em; | |
line-height: 1.8; | |
} | |
p, li, dt, dd { | |
line-height: 1.8; | |
} | |
b, strong, dt, caption, figcaption, th { | |
font-family: sans-serif, serif; | |
} | |
blockquote, ul, | |
fieldset, form, | |
ol, dl, menu { | |
margin-top: 1.25em; | |
margin-bottom: 1.25em; | |
padding: 0; | |
} | |
blockquote blockquote, blockquote ol, blockquote ul, blockquote dl, ol blockquote, ol ol, ol ul, ol dl, ul blockquote, ul ol, ul ul, ul dl, dl blockquote, dl ol, dl ul, dl dl { | |
margin-top: 0em; | |
margin-bottom: 0em; | |
} | |
ol, ul, menu, dd { | |
margin-left: 2em; | |
} | |
a { | |
color: #0538b2; | |
} | |
a:hover { | |
color: #b2058e; | |
} | |
a:active { | |
color: #b27f05; | |
} | |
pre { | |
white-space: pre-wrap; | |
} | |
img { | |
width: auto; | |
height: auto; | |
max-width: 100%; | |
max-height: 100%; | |
} | |
hr { | |
margin-top: 1.25em; | |
margin-bottom: 1.25em; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
rt { | |
font-family: serif, sans-serif; | |
} | |
.tcy { | |
-epub-text-combine: horizontal; | |
-webkit-text-combine: horizontal; | |
-ms-text-combine-horizontal: all; | |
text-combine-horizontal: all; | |
text-combine-upright: all; | |
} | |
.sideways { | |
-epub-text-orientation: sideways; | |
text-orientation: sideways; | |
} | |
.upright { | |
-epub-text-orientation: rotate-right; | |
-epub-text-orientation: upright; | |
-webkit-text-orientation: upright; | |
-epub-text-combine: horizontal; | |
-webkit-text-combine: horizontal; | |
-ms-text-combine-horizontal: all; | |
text-combine-horizontal: all; | |
text-combine-upright: all; | |
} | |
.pagenum { | |
color: gray; | |
font-size: 0.8em; | |
} | |
.footnotes hr { | |
margin-top: 1.25em; | |
margin-bottom: 1.25em; | |
} | |
.footnotes ol { | |
margin-left: 2em; | |
} | |
.footnotes li { | |
font-size: 0.875em; | |
} | |
a.noteref { | |
display: inline-block; | |
border: none; | |
font-size: 0.75em; | |
line-height: 1; | |
vertical-align: super; | |
-epub-text-combine: horizontal; | |
-webkit-text-combine: horizontal; | |
-ms-text-combine-horizontal: all; | |
text-combine-horizontal: all; | |
text-combine-upright: all; | |
} | |
a.noteref:before { | |
content: "["; | |
} | |
a.noteref:after { | |
content: "]"; | |
} | |
nav#toc, nav#landmarks, nav#loi, nav#lot, nav#page-list { | |
margin-bottom: 2.5em; | |
} | |
nav#toc ol, nav#landmarks ol, nav#loi ol, nav#lot ol, nav#page-list ol { | |
margin-left: 1em; | |
} | |
.text-left { text-align: left; } | |
.text-right { text-align: right; } | |
.text-center { text-align: center; } | |
.text-justify { text-align: justify; } | |
.text-pre-wrap { white-space: pre-wrap; } | |
.text-hide { | |
font: 0/0 a; | |
color: transparent; | |
text-shadow: none; | |
background-color: transparent; | |
border: 0; | |
} | |
.sr-only { | |
width: 1px; | |
height: 1px; | |
padding: 0; | |
overflow: hidden; | |
clip: rect(0,0,0,0); | |
white-space: nowrap; | |
clip-path: inset(50%); | |
border: 0; | |
} | |
@media print { | |
h1 { | |
page-break-before: always; | |
} | |
h1, h2, h3, | |
h4, h5, h6 { | |
page-break-after: avoid; | |
} | |
ul, ol, dl { | |
page-break-before: avoid; | |
} | |
} |
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
@charset "UTF-8"; | |
/* でんでんコンバーター縦書きデフォルト */ | |
@namespace "http://www.w3.org/1999/xhtml"; | |
@namespace epub "http://www.idpf.org/2007/ops"; | |
html { | |
-ms-writing-mode: tb-rl; | |
-epub-writing-mode: vertical-rl; | |
-webkit-writing-mode: vertical-rl; | |
writing-mode: vertical-rl; | |
font-family: serif, sans-serif; | |
} | |
body { | |
text-align: justify; | |
text-justify: inter-ideograph; | |
vertical-align: baseline; | |
word-wrap: break-word; | |
} | |
h1, h2, h3, h4, h5, h6 { | |
font-family: serif, sans-serif; | |
font-weight: normal; | |
color: inherit; | |
} | |
h1 { | |
font-size: 2em; | |
margin-right: 0.625em; | |
margin-left: 0.625em; | |
} | |
h2 { | |
font-size: 1.5em; | |
margin-right: 0.83333em; | |
margin-left: 0.83333em; | |
} | |
h3 { | |
font-size: 1.125em; | |
margin-right: 1.11111em; | |
margin-left: 1.11111em; | |
} | |
h4 { | |
font-size: 1em; | |
margin-right: 1.25em; | |
margin-left: 1.25em; | |
} | |
h5 { | |
font-size: 0.875em; | |
margin-right: 1.42857em; | |
margin-left: 1.42857em; | |
} | |
h6 { | |
font-size: 0.75em; | |
margin-right: 1.66667em; | |
margin-left: 1.66667em; | |
} | |
p { | |
margin-right: 1.25em; | |
margin-left: 1.25em; | |
line-height: 1.8; | |
} | |
p, li, dt, dd { | |
line-height: 1.8; | |
} | |
b, strong, dt, caption, figcaption, th { | |
font-family: sans-serif, serif; | |
} | |
blockquote, ul, | |
fieldset, form, | |
ol, dl, menu { | |
margin-right: 1.25em; | |
margin-left: 1.25em; | |
padding: 0; | |
} | |
blockquote blockquote, blockquote ol, blockquote ul, blockquote dl, ol blockquote, ol ol, ol ul, ol dl, ul blockquote, ul ol, ul ul, ul dl, dl blockquote, dl ol, dl ul, dl dl { | |
margin-right: 0em; | |
margin-left: 0em; | |
} | |
ol, ul, menu, dd { | |
margin-top: 2em; | |
} | |
a { | |
color: #0538b2; | |
} | |
a:hover { | |
color: #b2058e; | |
} | |
a:active { | |
color: #b27f05; | |
} | |
pre { | |
white-space: pre-wrap; | |
} | |
img { | |
width: auto; | |
height: auto; | |
max-width: 100%; | |
max-height: 100%; | |
} | |
hr { | |
margin-right: 1.25em; | |
margin-left: 1.25em; | |
} | |
table { | |
border-collapse: collapse; | |
border-spacing: 0; | |
} | |
rt { | |
font-family: serif, sans-serif; | |
} | |
.tcy { | |
-epub-text-combine: horizontal; | |
-webkit-text-combine: horizontal; | |
-ms-text-combine-horizontal: all; | |
text-combine-horizontal: all; | |
text-combine-upright: all; | |
} | |
.sideways { | |
-epub-text-orientation: sideways; | |
text-orientation: sideways; | |
} | |
.upright { | |
-epub-text-orientation: rotate-right; | |
-epub-text-orientation: upright; | |
-webkit-text-orientation: upright; | |
-epub-text-combine: horizontal; | |
-webkit-text-combine: horizontal; | |
-ms-text-combine-horizontal: all; | |
text-combine-horizontal: all; | |
text-combine-upright: all; | |
} | |
.pagenum { | |
color: gray; | |
font-size: 0.8em; | |
} | |
.footnotes hr { | |
margin-right: 1.25em; | |
margin-left: 1.25em; | |
} | |
.footnotes ol { | |
margin-top: 2em; | |
} | |
.footnotes li { | |
font-size: 0.875em; | |
} | |
a.noteref { | |
display: inline-block; | |
border: none; | |
font-size: 0.75em; | |
line-height: 1; | |
vertical-align: super; | |
-epub-text-combine: horizontal; | |
-webkit-text-combine: horizontal; | |
-ms-text-combine-horizontal: all; | |
text-combine-horizontal: all; | |
text-combine-upright: all; | |
} | |
a.noteref:before { | |
content: "["; | |
} | |
a.noteref:after { | |
content: "]"; | |
} | |
nav#toc, nav#landmarks, nav#loi, nav#lot, nav#page-list { | |
margin-left: 2.5em; | |
} | |
nav#toc ol, nav#landmarks ol, nav#loi ol, nav#lot ol, nav#page-list ol { | |
margin-top: 1em; | |
} | |
.-epub-media-overlay-active { | |
background-color: yellow; | |
} | |
h2 { | |
margin-top: 0.66667em; | |
} | |
h3 { | |
margin-top: 1.77778em; | |
} | |
h4 { | |
margin-top: 3em; | |
font-family: sans-serif, serif; | |
} | |
blockquote { | |
margin-top: 1em; | |
} | |
p { | |
margin: 0; | |
} | |
a { | |
text-decoration: overline; | |
} | |
u { | |
text-decoration: overline; | |
} | |
em { | |
font-style: normal; | |
-epub-text-emphasis-style: filled sesame; | |
text-emphasis-style: filled sesame; | |
} | |
.text-left { text-align: left; } | |
.text-right { text-align: right; } | |
.text-center { text-align: center; } | |
.text-justify { text-align: justify; } | |
.text-pre-wrap { white-space: pre-wrap; } | |
.text-hide { | |
font: 0/0 a; | |
color: transparent; | |
text-shadow: none; | |
background-color: transparent; | |
border: 0; | |
} | |
.sr-only { | |
width: 1px; | |
height: 1px; | |
padding: 0; | |
overflow: hidden; | |
clip: rect(0,0,0,0); | |
white-space: nowrap; | |
clip-path: inset(50%); | |
border: 0; | |
} | |
@media print { | |
h1 { | |
page-break-before: always; | |
} | |
h1, h2, h3, | |
h4, h5, h6 { | |
page-break-after: avoid; | |
} | |
ul, ol, dl { | |
page-break-before: avoid; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment