}
* {
- list-style-type: none;
padding: 0;
margin: 0;
font-weight: normal;
text-decoration: none;
}
+strong { font-weight: bold; }
+em { font-style: italic; }
+
a:link, [onclick] {
text-decoration: underline;
cursor: pointer;
font-family: "Fira Sans", sans-serif;
font-size: 16px;
background-color: rgb(226, 192, 242);
+ background-image: linear-gradient(rgb(226, 192, 242), rgb(244, 199, 199) 100%);
+ background-attachment: fixed;
padding: 0 1em;
+ height: 100%;
+ background-repeat: no-repeat;
}
body {
- margin: 0 auto;
+ border-top: solid rgb(206, 132, 242) 0.75em;
+ border-bottom: solid rgb(244, 126, 126) 0.75em;
+ border-radius: 2em;
+ margin: 0.25em auto;
color: black;
background-color: white;
max-width: 56em;
header {
border-top: solid rgb(206, 132, 242) 0.5em;
border-bottom: solid rgb(244, 126, 126) 0.5em;
- border-radius: 2.5em;
+ border-radius: 2em;
height: 6em;
transition: border-color 0.5s;
white-space: nowrap;
text-align: right;
- margin: 0 auto;
+ margin: 0 -1em;
+ margin-top: -0.75em;
+ background-color: white;
}
header img {
}
h2 {
- border-top: solid rgb(206, 132, 242) 0.0625em;
- border-left: solid rgb(206, 132, 242) 0.0625em;
+ border-top: solid rgb(206, 132, 242) 1px;
+ border-left: solid rgb(206, 132, 242) 1px;
border-radius: 1em 0 0 1em;
font-size: 1.25em;
font-weight: 300;
margin-left: -0.67em;
margin-right: -0.67em;
- margin-top: 2em;
+ margin-top: 1.5em;
margin-bottom: 0.5em;
padding-left: 0.5em;
padding-top: 0.125em;
margin: auto;
}
+main *:first-child {
+ margin-top: 0;
+}
+
main > p {
- margin: 1em 0.5em;
+ max-width: 45em;
+ margin: 1em auto;
+}
+
+main > ul {
+ max-width: 40em;
+ margin: 1em auto;
+}
+
+main > ul > li {
+ margin: 0.5em auto;
}
hr {
width: 100%;
max-width: 37em;
margin: auto;
+ list-style-type: none;
}
.game-preview > li {
text-align: center;
box-sizing: border-box;
padding-top: 0.25em;
+ font-size: 1.125em;
}
.game-preview li:nth-child(odd) .info h4,
right: 0.125em;
left: 0.125em;
text-align: center;
+ list-style-type: none;
+}
+
+.game-preview .info li {
+ white-space: nowrap;
}
.game-preview .info li:before {
border-left: solid rgba(206, 132, 242, 0.5) 8px;
border-radius: 8px;
font-family: "Fira Mono", monospace;
- margin-left: 1em;
overflow: auto;
padding-left: 2em;
padding: 0.5em;
+ max-width: 40em;
+ margin: auto;
transition: background-color 0.3s, border-color 0.3s, border-radius 0.3s;
}
background-color: transparent;
}
-@media (max-width: 599px) {
+@media (max-width: 767px) {
html { font-size: 13px; }
.optional {
}
@media (max-width: 479px) {
- html { font-size: 10px; }
+ html { font-size: 10px; padding: 0 0.5em; }
+ h4 { font-size: 1em; }
}
<link rel="stylesheet" href="css/main.css" type="text/css">
<title>Yukkuri Games</title>
<style>
- body {
- border-top: solid rgb(206, 132, 242) 0.75em;
- border-bottom: solid rgb(244, 126, 126) 0.75em;
- border-radius: 2em;
- }
-
/* Reset usual header CSS */
header {
border: none;
height: 13em;
text-align: center;
+ background-color: transparent;
+ margin-top: 0;
}
header img {
<p>
Random scenarios and
<a href="/heroik/variants.html">variant rules</a> for
- Emmanuel Beltrando's dungeon-crawling card game
+ the dungeon-crawling card game
<em>Hero: Immortal King</em>.
</p>
<ul>