0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 23:12:39 +00:00

Cleaning up the icons and added a fall back color for the pages

This commit is contained in:
Scott Tolksdorf
2015-12-19 22:30:09 -05:00
parent ad569f04d8
commit 144476d363
3 changed files with 19 additions and 10 deletions

View File

@@ -42,13 +42,13 @@ var Icons = [
tooltip : "Class Table" tooltip : "Class Table"
}, },
{ {
icon : 'fa-code', icon : 'fa-columns',
snippet : "```\n```", snippet : "```\n```\n\n",
tooltip : "Column Break" tooltip : "Column Break"
}, },
{ {
icon : 'fa-file-o', icon : 'fa-file-text',
snippet : "\\page", snippet : "\\pagen\n\n",
tooltip : "New Page" tooltip : "New Page"
}, },

View File

@@ -12,12 +12,15 @@
line-height: 30px; line-height: 30px;
font-size: 1.5em; font-size: 1.5em;
&:nth-child(1){ background-color: @blue; } &:nth-child(8n + 1){ background-color: @blue; }
&:nth-child(2){ background-color: @orange; } &:nth-child(8n + 2){ background-color: @orange; }
&:nth-child(3){ background-color: @red; } &:nth-child(8n + 3){ background-color: @teal; }
&:nth-child(4){ background-color: @yellow; } &:nth-child(8n + 4){ background-color: @red; }
&:nth-child(5){ background-color: @purple; } &:nth-child(8n + 5){ background-color: @purple; }
&:nth-child(6){ background-color: @green; } &:nth-child(8n + 6){ background-color: @silver; }
&:nth-child(8n + 7){ background-color: @yellow; }
&:nth-child(8n + 8){ background-color: @green; }
} }
} }
textarea{ textarea{

View File

@@ -58,6 +58,7 @@
column-fill : auto; column-fill : auto;
column-gap : 1cm; column-gap : 1cm;
column-width : 8cm; column-width : 8cm;
background-color: #EEE5CE;
background-image : url('/assets/naturalCrit/homebrew/assets/PHB-background.png'); background-image : url('/assets/naturalCrit/homebrew/assets/PHB-background.png');
-webkit-column-count : 2; -webkit-column-count : 2;
-moz-column-count : 2; -moz-column-count : 2;
@@ -66,6 +67,8 @@
-webkit-column-gap : 1cm; -webkit-column-gap : 1cm;
text-rendering : optimizeLegibility; text-rendering : optimizeLegibility;
overflow: hidden;
p,ul,blockquote{ p,ul,blockquote{
-webkit-column-break-inside : avoid; -webkit-column-break-inside : avoid;
@@ -106,9 +109,11 @@
} }
//Full Spell casting table
hr+table{ hr+table{
-webkit-column-span : all; -webkit-column-span : all;
column-span : all; column-span : all;
background-color: white;
} }
table{ table{
width : 100%; width : 100%;
@@ -186,6 +191,7 @@
hr+table{ hr+table{
-webkit-column-span : 1; -webkit-column-span : 1;
column-span : 1; column-span : 1;
background-color: transparent;
} }
table{ table{
color : @header; color : @header;