Consolidating Pull Requests

Consolidating the pull request containing the CSS code to suppor the new roll templates into a single PR.
This commit is contained in:
aideenfb
2017-02-09 19:33:40 -06:00
committed by GitHub
parent e1ce3a167a
commit 4155703a8f
+340
View File
@@ -170,3 +170,343 @@ input[type="checkbox"]:checked + span::before
{
border-left: none;
}
/*/ Styles for 2ESheet rolltemplates /*/
/*/ Styles common to all 2E Templates /*/
.sheet-rolltemplate-2Edefault div.sheet-template-container,
.sheet-rolltemplate-2Eattack div.sheet-template-container,
.sheet-rolltemplate-2Espell div.sheet-template-container,
.sheet-rolltemplate-2Esave div.sheet-template-container {
border: none;
text-align: left;
}
.sheet-rolltemplate-2Edefault th.sheet-template-title1,
.sheet-rolltemplate-2Eattack th.sheet-template-title1,
.sheet-rolltemplate-2Espell th.sheet-template-title1,
.sheet-rolltemplate-2Esave th.sheet-template-title1 {
font-size: 12pt;
font-weight: bold;
font-family: "verdana", "tahoma", "ariel";
text-align: center;
color: white;
border: none;
padding: 2px;
margin: 0px;
background-color: none;
}
.sheet-rolltemplate-2Edefault th.sheet-template-title2,
.sheet-rolltemplate-2Eattack th.sheet-template-title2,
.sheet-rolltemplate-2Espell th.sheet-template-title2,
.sheet-rolltemplate-2Esave th.sheet-template-title2 {
font-size: 12pt;
font-weight: bold;
font-family: "verdana", "tahoma", "ariel";
text-align: center;
color: black;
border: none;
padding: 2px;
margin: 0px;
background-color: none;
}
.sheet-rolltemplate-2Edefault th.sheet-template-subtitle1,
.sheet-rolltemplate-2Eattack th.sheet-template-subtitle1,
.sheet-rolltemplate-2Espell th.sheet-template-subtitle1,
.sheet-rolltemplate-2Esave th.sheet-template-subtitle1 {
font-size: 8pt;
font-weight: normal;
font-style: italic;
font-family: "verdana", "tahoma", "ariel";
text-align: center;
color: white;
border: none;
padding: 1px;
margin: 0px;
background-color: none;
}
.sheet-rolltemplate-2Edefault th.sheet-template-subtitle2,
.sheet-rolltemplate-2Eattack th.sheet-template-subtitle2,
.sheet-rolltemplate-2Espell th.sheet-template-subtitle2,
.sheet-rolltemplate-2Esave th.sheet-template-subtitle2 {
font-size: 8pt;
font-style: italic;
font-weight: normal;
font-family: "verdana", "tahoma", "ariel";
text-align: center;
color: black;
border: none;
padding: 1px;
margin: 0px;
background-color: none;
}
.sheet-rolltemplate-2Edefault table,
.sheet-rolltemplate-2Eattack table,
.sheet-rolltemplate-2Espell table,
.sheet-rolltemplate-2Esave table {
width: 100%;
}
.sheet-rolltemplate-2Edefault .sheet-template-body tr:nth-child(even),
.sheet-rolltemplate-2Espell .sheet-template-body tr:nth-child(even),
.sheet-rolltemplate-2Esave .sheet-template-body tr:nth-child(even) {
background-color: #e0e0e0;
}
.sheet-rolltemplate-2Edefault .sheet-template-body tr:nth-child(odd),
.sheet-rolltemplate-2Espell .sheet-template-body tr:nth-child(odd),
.sheet-rolltemplate-2Esave .sheet-template-body tr:nth-child(odd) {
background-color: #f4f4f4;
}
.sheet-rolltemplate-2Edefault div.sheet-template-body,
.sheet-rolltemplate-2Eattack div.sheet-template-body,
.sheet-rolltemplate-2Espell div.sheet-template-body,
.sheet-rolltemplate-2Esave div.sheet-template-body {
border: 1px solid black;
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
background: #727272;
padding: 4px;
margin-top: -1px;
}
.sheet-rolltemplate-2Edefault div.sheet-default-head,
.sheet-rolltemplate-2Eattack div.sheet-attack-head,
.sheet-rolltemplate-2Espell div.sheet-spell-head,
.sheet-rolltemplate-2Esave div.sheet-save-head {
border: 1px solid #000000;
border-top-right-radius: 8px;
border-top-left-radius: 8px;
padding: 3px;
padding-top: 5px;
margin-bottom: 0px;
}
/*/ Styles for the 2Edefault Template /*/
.sheet-rolltemplate-2Edefault div.sheet-default-head {
background: #093a01;
}
.sheet-rolltemplate-2Edefault td.sheet-default-c1 {
font-size: 9pt;
font-weight: bold;
text-transform: capitalize;
color: #000000;
text-align: center;
font-family: "verdana";
border: 1px solid black;
border-right: none;
padding: 4px;
margin: 0px;
}
.sheet-rolltemplate-2Edefault td.sheet-default-c2 {
font-size: 10pt;
color: #000000;
text-align: center;
font-family: "verdana";
border: 1px solid black;
border-left: none;
padding: 4px;
margin: 0px;
}
.sheet-rolltemplate-2Edefault td.sheet-default-c3 {
font-size: 9pt;
color: #000000;
text-align: left;
font-family: "verdana";
border: 1px solid black;
padding: 4px;
margin: 0px;
}
/*/ Styles for the 2Eattack Template /*/
.sheet-rolltemplate-2Eattack div.sheet-attack-head {
background: #a01616;
}
.sheet-rolltemplate-2Eattack td {
padding: 5px;
text-align: center;
background-color: #f4f4f4;
}
.sheet-rolltemplate-2Eattack span.sheet-weapon-used {
text-align: center;
font-size: 10pt;
font-style: italic;
color: black;
}
.sheet-rolltemplate-2Eattack td.sheet-attack-c1 {
vertical-align: bottom;
}
.sheet-rolltemplate-2Eattack td.sheet-attack-c2 {
position: relative;
background-image: url("http://i.imgur.com/rFM5RnH.png");
background-repeat: no-repeat;
background-size: 50px 50px;
background-position: center;
height: 50px;
}
.sheet-rolltemplate-2Eattack td.sheet-attack-c3 {
position: relative;
background-image: url("http://i.imgur.com/QFPPKuq.png");
background-repeat: no-repeat;
background-size: 50px 50px;
background-position: center;
height: 50px;
}
.sheet-rolltemplate-2Eattack td.sheet-attack-c4 {
vertical-align: top;
}
.sheet-rolltemplate-2Eattack td.sheet-attack-c5 {
background-color: #093a01;
font-size: 12pt;
font-weight: bold;
font-style: italic;
font-family: "verdana", "tahoma", "ariel";
color: #ffffff;
}
.sheet-rolltemplate-2Eattack span.sheet-attack-crit {
font-size: 10pt;
font-weight: normal;
padding: 2px;
}
.sheet-rolltemplate-2Eattack td.sheet-attack-c6 {
background-color: #a01616;
font-size: 12pt;
font-weight: bold;
font-style: italic;
font-family: "verdana", "tahoma", "ariel";
color: #ffffff;
}
.sheet-rolltemplate-2Eattack span.sheet-attack-fumble {
font-size: 10pt;
font-weight: normal;
padding: 2px;
}
/*/ Inline Roll Styling for 2Eattack Template /*/
.sheet-rolltemplate-2Eattack .inlinerollresult {
display: inline-block;
font-size: 12pt;
font-weight: bold;
color: #000000;
text-align: center;
vertical-align: middle;
border: none;
background-color: white;
}
.sheet-rolltemplate-2Eattack .inlinerollresult.fullcrit {
color: #093a01;
border: none;
}
.sheet-rolltemplate-2Eattack .inlinerollresult.fullfail {
color: #a01616;
border: none;
}
.sheet-rolltemplate-2Eattack .inlinerollresult.importantroll {
color: #000000;
border: none;
}
/*/ Styles for the 2Espell Template /*/
.sheet-rolltemplate-2Espell div.sheet-spell-head {
background: #1f2354;
}
.sheet-rolltemplate-2Espell td.sheet-spell-c1 {
font-size: 10pt;
color: #000000;
text-align: center;
font-family: "verdana";
border: 1px solid black;
padding: 4px;
margin: 0px;
width: 50%;
}
.sheet-rolltemplate-2Espell span.sheet-spell-prop {
font-size: 9pt;
font-weight: bold;
color: #000000;
text-align: center;
font-family: "verdana";
}
.sheet-rolltemplate-2Espell td.sheet-spell-c2 {
font-size: 9pt;
color: #000000;
text-align: left;
font-family: "verdana";
border: 1px solid black;
padding: 3px;
margin: 0px;
}
/*/ Styles for the 2Esave Template /*/
.sheet-rolltemplate-2Esave div.sheet-save-head {
background: #f26f2e;
}
.sheet-rolltemplate-2Esave td.sheet-save-c1 {
font-size: 9pt;
font-weight: bold;
text-transform: capitalize;
color: #000000;
text-align: center;
font-family: "verdana";
border: none;
padding: 4px;
margin: 0px;
}
.sheet-rolltemplate-2Esave td.sheet-save-c2 {
font-size: 10pt;
font-weight: bold;
text-transform: capitalize;
text-align: center;
font-family: "verdana";
border: none;
padding: 4px;
margin: 0px;
}
.sheet-rolltemplate-2Esave td.sheet-save-c3 {
background-color: #093a01;
border: none;
font-size: 12pt;
font-weight: bold;
font-style: italic;
font-family: "verdana";
text-align: center;
color: #ffffff;
padding: 4px;
margin: 0px;
}
.sheet-rolltemplate-2Esave td.sheet-save-c4 {
background-color: #a01616;
border: none;
font-size: 12pt;
font-weight: bold;
font-style: italic;
font-family: "verdana";
text-align: center;
color: #ffffff;
padding: 4px;
margin: 0px;
}