mirror of
https://github.com/aelve/guide.git
synced 2024-11-23 12:15:06 +03:00
a439dffcf6
Fixes #38
175 lines
3.0 KiB
CSS
175 lines
3.0 KiB
CSS
/* Making textboxes and other text inputs behave normally (i.e. now an input
|
|
with “width:100%;padding:10px” is going to take 100% of width, not
|
|
100%+20px) */
|
|
|
|
*, *:before, *:after {
|
|
box-sizing: border-box; }
|
|
|
|
/* Making the footer stick to the bottom of the screen */
|
|
|
|
body {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column; }
|
|
|
|
#main {
|
|
flex: 1; }
|
|
|
|
/* headers look bad when the width is small, so */
|
|
|
|
h1 {
|
|
line-height: 100%; }
|
|
|
|
/* Other CSS */
|
|
|
|
#footer {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-around;
|
|
padding: 1.5em 0 0em 0;
|
|
margin: 0 -1em;
|
|
margin-top: 2em;
|
|
border-top: 1px solid black; }
|
|
|
|
.footer-item {
|
|
margin: 0 1em;
|
|
min-height: 40px;
|
|
text-align: center; }
|
|
|
|
.unemployed {
|
|
font-size: 50%;
|
|
margin-top: -0.3em; }
|
|
|
|
body {
|
|
padding: 0px 15px;
|
|
padding-top: 2em;
|
|
margin: auto;
|
|
max-width: 800px;
|
|
font-family: sans-serif;
|
|
line-height: 120%; }
|
|
|
|
#noscript-message {
|
|
padding: 1px 1em;
|
|
background-color: #FFEBEE; }
|
|
|
|
#search {
|
|
font-size: 200%;
|
|
border: 1px solid #d0d0d0;
|
|
padding: 3px 10px;
|
|
width: 100%; }
|
|
|
|
#categories {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
justify-content: space-between;
|
|
margin-top: 1em; }
|
|
|
|
#categories a {
|
|
font-weight: bold;
|
|
line-height: 140%;
|
|
font-size: 110%;
|
|
padding: 2px 1px; }
|
|
|
|
#categories a.status-finished {
|
|
background-color: #fff; }
|
|
#categories a.status-wip {
|
|
background-color: #fdd; }
|
|
#categories a.status-stub {
|
|
background-color: #f89; }
|
|
|
|
.category-group {
|
|
min-width: 350px; }
|
|
|
|
.category {
|
|
margin-top: 3em; }
|
|
|
|
.item {
|
|
margin-top: 20px; }
|
|
|
|
.item-info {
|
|
padding: 10px 15px; }
|
|
|
|
.item-info .controls {
|
|
float: right; }
|
|
|
|
.item-info .controls img {
|
|
opacity: 0.4;
|
|
height: 23px; }
|
|
|
|
.category-info .controls {
|
|
margin-right: 0.5em;
|
|
vertical-align: -1px; }
|
|
|
|
.category-info .controls img {
|
|
opacity: 0.3;
|
|
height: 20px; }
|
|
|
|
.category-info .group {
|
|
font-size: 60%;
|
|
font-weight: normal;
|
|
color: gray; }
|
|
|
|
.item-traits, .item-notes, .item-description, .item-ecosystem {
|
|
padding: 10px 15px 20px 15px; }
|
|
|
|
.traits-groups-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 0px -15px; }
|
|
|
|
.traits-group {
|
|
flex: 1;
|
|
min-width: 300px;
|
|
padding: 0px 15px; }
|
|
|
|
.traits-group > ul {
|
|
padding-left: 1em; }
|
|
|
|
.traits-group > ul li {
|
|
margin: 10px 0px; }
|
|
|
|
.text-button {
|
|
font-size: 10pt;
|
|
font-weight: normal; }
|
|
|
|
.text-button::before {content: "[";}
|
|
.text-button::after {content: "]";}
|
|
|
|
textarea {
|
|
font-family: sans-serif;
|
|
font-size: 100%; }
|
|
|
|
input {
|
|
font-size: 100%; }
|
|
|
|
.text-button > a:visited {color: #008ACE;}
|
|
h1 > a:visited {color: #008ACE;} /* for header in category pages */
|
|
|
|
a.anchor {
|
|
margin-right: 0.5em;
|
|
color: gray; }
|
|
|
|
form {
|
|
margin: 0; }
|
|
|
|
textarea {
|
|
border: 1px solid #ccc;
|
|
padding: 5px 7px; }
|
|
|
|
textarea:focus {
|
|
outline: 0px none;
|
|
border: 1px solid #07C; }
|
|
|
|
textarea.big {
|
|
padding: 10px; }
|
|
|
|
.fullwidth {
|
|
width: 100%; }
|
|
|
|
textarea.fullwidth {
|
|
resize: vertical; }
|
|
|
|
.notes-toc {
|
|
background-color: rgba(10, 10, 10, 0.1);
|
|
padding: 1px 0; }
|