1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-23 12:15:06 +03:00
guide/static/css.css

155 lines
2.6 KiB
CSS
Raw Normal View History

/* 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; }
2016-04-24 23:53:00 +03:00
/* headers look bad when the width is small, so */
h1 {
line-height: 100%; }
/* Other CSS */
#footer {
text-align: center;
padding: 1.5em 0;
margin-top: 2em;
border-top: 1px solid black; }
2016-02-25 17:26:30 +03:00
body {
2016-04-23 19:30:43 +03:00
padding: 0px 15px;
2016-03-19 03:20:43 +03:00
padding-top: 2em;
2016-02-25 17:26:30 +03:00
margin: auto;
max-width: 800px;
2016-03-05 01:46:47 +03:00
font-family: sans-serif;
line-height: 120%; }
2016-02-25 17:26:30 +03:00
#noscript-message {
padding: 1px 1em;
background-color: #FFEBEE; }
2016-02-25 17:26:30 +03:00
#search {
font-size: 200%;
border: 1px solid #d0d0d0;
padding: 3px 10px;
width: 100%; }
2016-04-21 18:19:38 +03:00
#categories {
2016-05-01 23:17:55 +03:00
display: flex;
flex-flow: row wrap;
justify-content: space-between;
2016-04-21 18:19:38 +03:00
margin-top: 1em; }
2016-05-01 23:17:55 +03:00
#categories a {
2016-04-21 18:19:38 +03:00
font-weight: bold;
2016-05-01 23:17:55 +03:00
line-height: 100%;
font-size: 110%; }
.category-group {
min-width: 350px; }
2016-04-21 18:19:38 +03:00
2016-02-25 17:26:30 +03:00
.category {
margin-top: 3em; }
2016-02-14 14:03:39 +03:00
.item {
2016-02-26 20:45:28 +03:00
margin-top: 20px; }
.item-info {
2016-03-04 12:35:36 +03:00
padding: 10px 15px; }
2016-02-26 20:45:28 +03:00
2016-03-11 01:44:07 +03:00
.item-info .controls {
float: right; }
.item-info .controls img {
opacity: 0.4;
height: 23px; }
2016-03-22 20:19:05 +03:00
.category-title .controls {
margin-right: 0.5em;
vertical-align: -1px; }
.category-title .controls img {
opacity: 0.3;
height: 20px; }
2016-05-01 23:17:55 +03:00
.category-title .group {
font-size: 60%;
font-weight: normal;
color: gray; }
2016-03-17 02:52:40 +03:00
.item-traits, .item-notes, .item-description, .item-ecosystem {
2016-03-04 12:35:36 +03:00
padding: 10px 15px 20px 15px; }
2016-02-14 14:19:32 +03:00
2016-02-26 01:31:24 +03:00
.traits-groups-container {
display: flex;
flex-wrap: wrap;
margin: 0px -15px; }
2016-02-14 14:19:32 +03:00
2016-02-20 16:12:45 +03:00
.traits-group {
flex: 1;
min-width: 300px;
padding: 0px 15px; }
2016-02-26 01:31:24 +03:00
.traits-group > ul {
padding-left: 1em; }
2016-02-20 00:09:49 +03:00
2016-02-25 21:15:32 +03:00
.traits-group > ul li {
margin: 10px 0px; }
2016-02-25 17:26:30 +03:00
.text-button {
2016-02-25 18:09:33 +03:00
font-size: 10pt;
2016-02-25 18:46:22 +03:00
font-weight: normal; }
2016-02-20 00:09:49 +03:00
2016-02-25 17:26:30 +03:00
.text-button::before {content: "[";}
.text-button::after {content: "]";}
2016-02-21 13:07:35 +03:00
textarea {
font-family: sans-serif;
font-size: 100%; }
2016-02-25 21:15:32 +03:00
input {
font-size: 100%; }
.text-button > a:visited {color: #008ACE;}
h1 > a:visited {color: #008ACE;} /* for header in category pages */
2016-02-21 13:07:35 +03:00
a.anchor {
margin-right: 0.5em;
color: gray; }
2016-02-26 13:48:27 +03:00
2016-02-26 20:45:28 +03:00
form {
margin: 0; }
2016-03-04 19:07:26 +03:00
2016-03-11 17:08:04 +03:00
textarea {
border: 1px solid #ccc;
padding: 5px 7px; }
textarea:focus {
outline: 0px none;
border: 1px solid #07C; }
textarea.big {
padding: 10px; }
2016-03-04 19:07:26 +03:00
.fullwidth {
width: 100%; }
textarea.fullwidth {
resize: vertical; }
2016-04-16 02:02:43 +03:00
.notes-toc {
background-color: rgba(10, 10, 10, 0.1);
padding: 1px 0; }