/*CSS file for my story webpage(s)*/

/* Some font-size practices: https://css-tricks.com/rems-ems/, https://www.editorx.com/shaping-design/article/font-size */

@media (min-width: 900px)
{
	html {font-size: 105%;}
}

h2,h3 {
	margin-bottom: 0ex;
}

pre {
	white-space: pre-wrap;
	font-family: Calibri;
	margin: 0 0.5em 0 0.5em;
	z-index: 3;
}

blockquote {
	margin: 0 0 -1em 0.25em;
	border-left: 2px solid #CCC;
	padding-left: 1.75em;
	font-style: italic;
}

dd {
	padding-left: 1em;
	font-size: 75%;
}

img.center {display: block; margin-left: auto; margin-right: auto;}

/* https://www.htmlsymbols.xyz/ornamental-symbols */
.perspective {
	margin: 0 0 -1em 0;
}

.perspective:after {content: '  🙧';}

.scene_break {
	text-align: center;
	margin: 0 0 -1em 0;
}

.scene_break:after {content: "* * *";}

.sms {
	display: inline-block;
	margin-left: 0.25em;
	border-left: 2px solid #CCC;
	padding-left: 1.75em;
	font-style: italic;
}

.subhead {
	font-size: 0.8em;
	font-style: italic;
}

.toc {
	font-weight: bold;
	font-size: 0.75em;
	margin-top: 6ex;
	margin-bottom: 6ex;
	padding-top: 1ex;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

.thumb {
	max-height: 400px;
	max-width: 400px;
}

.story_header {text-align: center;}

.preamble > * {
	margin: 2ex 2em;
	font-size: 0.75em}

#title {
	font-size: 1.3em;
	font-weight: bold;
	font-variant: small-caps;
}

#title i {font-size: 1em;}

#subtitle {font-size: 150%;}

#author, #editor {font-size: 90%;}

/* Syling for links*/
a {
	color: #00ffff;
	-webkit-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
}

.toc a {text-decoration: none;}

a:link {}

a:visited {}

a:focus {}

a:hover {text-decoration: underline;}

a:active {}
/*/Syling for links*/


/* Spoiler tag */
.spoiler {
    background: #666;
    border-radius: 0.2em;
    color: transparent;
    cursor: help;
    user-select: none;
    transition: 0.5s;
}
.spoiler:hover,
.spoiler:focus {
    background: transparent;
    color: inherit;
}
