Compare commits

..

No commits in common. "b81b78d13a40b7808639af2512a984bc91d5365d" and "2170122805836b08faa9ca49321a2e7fd3e27246" have entirely different histories.

2 changed files with 21 additions and 13 deletions

View File

@ -8,25 +8,18 @@ body {
font-size: 1.1em; font-size: 1.1em;
background-color: var(--background-color); background-color: var(--background-color);
min-width: 30em; min-width: 30em;
padding: 0;
margin: 0;
} }
main { main {
background: linear-gradient(180deg, rgba(227,220,190,1) 0%, rgba(255,248,238,1) 100%); background: linear-gradient(180deg, rgba(227,220,190,1) 0%, rgba(255,248,238,1) 100%);
max-width: 80vw;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 1em 1em 4em 1em; padding: 1em 1em 4em 1em;
margin: 0 auto;
min-height: calc(100vh - var(--header-height)); min-height: calc(100vh - var(--header-height));
} }
@media(min-width: 800px) {
main, footer, header {
margin: 0 auto;
max-width: 80vw;
}
}
aside.flash { aside.flash {
background-color: var(--notice-bg-color); background-color: var(--notice-bg-color);
color: var(--notice-text-color); color: var(--notice-text-color);
@ -53,11 +46,26 @@ h1, h2 {
header { header {
background: linear-gradient(180deg, rgba(34,45,113,1) 0%, rgba(22,90,157,1) 100%); background: linear-gradient(180deg, rgba(34,45,113,1) 0%, rgba(22,90,157,1) 100%);
position: relative;
padding: 0 50px;
margin-right: 2em;
height: var(--header-height); height: var(--header-height);
} }
/* Angled banner end */
header:before {
content: "";
width: 0;
height: 0;
border-top: calc(var(--header-height) / 2) solid transparent;
border-bottom: calc(var(--header-height) / 2) solid transparent;
border-right: calc(var(--header-height) / 2) solid var(--background-color);
position: absolute;
right:0;
}
header h1 { header h1 {
margin: 0; padding: 1em 0;
padding: 1em;
} }
header h1 a:link, header h1 a:visited { header h1 a:link, header h1 a:visited {
@ -69,8 +77,6 @@ header nav {
ul { ul {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin: 0;
padding: 0;
} }
li { li {
list-style-type: none; list-style-type: none;
@ -166,6 +172,7 @@ footer {
padding: 1em; padding: 1em;
margin: 0 auto; margin: 0 auto;
font-size: .8em; font-size: .8em;
max-width: 80vw;
a:link, a:visited { a:link, a:visited {
color: var(--header-text-color); color: var(--header-text-color);
text-decoration: none; text-decoration: none;

View File

@ -3,6 +3,7 @@
- Weapons/spells: skills? - Weapons/spells: skills?
- Do this have_many :stats? - Do this have_many :stats?
- Lists - Lists
- make dice rolls own model so stats can have multiple rolls (e.g. advantage)
- improve dice roll parsing to allow e.g. choose highest - improve dice roll parsing to allow e.g. choose highest
- Easy add amount to stat - Easy add amount to stat
- icons on features - icons on features