diff --git a/Nahui Ollin/.gitignore b/Nahui Ollin/.gitignore new file mode 100644 index 0000000000..97008e5b86 --- /dev/null +++ b/Nahui Ollin/.gitignore @@ -0,0 +1,2 @@ +node_modules +yarn.lock \ No newline at end of file diff --git a/Nahui Ollin/README.md b/Nahui Ollin/README.md new file mode 100644 index 0000000000..8d0cf8ce75 --- /dev/null +++ b/Nahui Ollin/README.md @@ -0,0 +1,3 @@ +## Nahui Ollin charsheet (Roll20) + +Hoja de personaje para Nahui Ollin en español. diff --git a/Nahui Ollin/nahuiollin.css b/Nahui Ollin/nahuiollin.css new file mode 100644 index 0000000000..7401c28117 --- /dev/null +++ b/Nahui Ollin/nahuiollin.css @@ -0,0 +1,92 @@ +/* Chrome, Safari, Edge, Opera */ +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; } + +/* Firefox */ +input[type=number] { + -moz-appearance: textfield; } + +textarea { + resize: vertical; + height: auto; + width: auto; } + +.charsheet { + background: #F2EAD3 url(https://raw.githubusercontent.com/rldorado/roll20-character-sheets/master/Nahui%20Ollin/src/img/bg.jpg) no-repeat center; + font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; } + +h3 { + color: #915027; + background-color: rgba(235, 195, 95, 0.8); + text-align: center; + border-top: 2px solid #915027; + border-bottom: 2px solid #915027; } + +.sheet-logo { + display: flex; + justify-content: center; + width: 100%; + margin-bottom: 20px; } + +.sheet-section { + display: flex; + flex-direction: row; + flex-grow: 1; + justify-content: center; } + .sheet-section label { + color: #6C613B; } + .sheet-section__left, .sheet-section__right { + margin: 1em; } + +.sheet-inline { + display: flex; + flex-direction: row; + align-content: center; + align-items: center; } + .sheet-inline input, .sheet-inline textarea { + width: 100%; } + +.sheet-inline-checkboxes { + padding: 1rem; + display: flex; + flex-direction: row; + align-content: center; + border-right: 2px solid #915027; + border-left: 2px solid #915027; } + .sheet-inline-checkboxes label:first-of-type { + width: 35%; } + .sheet-inline-checkboxes:last-of-type { + border-bottom: 2px solid #915027; } + .sheet-inline-checkboxes label.sheet-styled-checkbox { + margin-bottom: 0; + padding-right: initial; + position: relative; + padding-left: 35px; + cursor: pointer; + font-size: 1rem; } + .sheet-inline-checkboxes label.sheet-styled-checkbox input { + position: absolute; + opacity: 0; } + .sheet-inline-checkboxes label.sheet-styled-checkbox:hover input ~ span { + background-color: #ccc; } + .sheet-inline-checkboxes label.sheet-styled-checkbox input:checked ~ span { + background-color: #145b32; } + .sheet-inline-checkboxes label.sheet-styled-checkbox input:checked ~ span:after { + display: block; } + .sheet-inline-checkboxes label.sheet-styled-checkbox span { + border: 2px solid #27ae60; + border-radius: 50%; + position: absolute; + top: 0; + left: 0; + height: 15px; + width: 15px; } + .sheet-inline-checkboxes label.sheet-styled-checkbox span:after { + top: 9px; + left: 9px; + width: 8px; + height: 8px; + border-radius: 50%; + background: red; } diff --git a/Nahui Ollin/nahuiollin.html b/Nahui Ollin/nahuiollin.html new file mode 100644 index 0000000000..149d99aa60 --- /dev/null +++ b/Nahui Ollin/nahuiollin.html @@ -0,0 +1,340 @@ + + +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + + (PX) +
+
+ + +
+ +
+ +
+

CARACTERÍSTICAS Y DESTREZAS

+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + +
+

RASGOS SECUNDARIOS

+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+

TIRADAS DE AYUDA

+
+ +
+
+ +
+
+ +
+
+ + +
+ +
+ +
+

SALUD

+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ (-20% acciones físicas)
+ (tirada de fortaleza para no desmayarse) +
+
+ + +
+

ENTEREZA

+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ (-20% acciones mentales/sociales) +
+
+ + +
+
+ + +
+ +
+ +
+

EQUIPO

+ +
+ + +
+

HECHIZOS

+ +
+ + +
\ No newline at end of file diff --git a/Nahui Ollin/nahuiollin.png b/Nahui Ollin/nahuiollin.png new file mode 100644 index 0000000000..713bff02ee Binary files /dev/null and b/Nahui Ollin/nahuiollin.png differ diff --git a/Nahui Ollin/package.json b/Nahui Ollin/package.json new file mode 100644 index 0000000000..c3acf5aa9c --- /dev/null +++ b/Nahui Ollin/package.json @@ -0,0 +1,15 @@ +{ + "name": "nahuiollin", + "version": "1.0.0", + "description": "Character sheet for Nahui Ollin", + "main": "index.js", + "author": "rldorado", + "license": "MIT", + "dependencies": { + "node-sass": "^4.14.1" + }, + "scripts": { + "start": "yarn run compile:sass", + "compile:sass": "node-sass src/scss/nahuiollin.scss nahuiollin.css -w" + } +} diff --git a/Nahui Ollin/sheet.json b/Nahui Ollin/sheet.json new file mode 100644 index 0000000000..8a3076a7a8 --- /dev/null +++ b/Nahui Ollin/sheet.json @@ -0,0 +1,7 @@ +{ + "html": "nahuiollin.html", + "css": "nahuiollin.css", + "authors": "feybrant", + "preview": "nahuiollin.png", + "instructions": "" + } diff --git a/Nahui Ollin/src/img/NahuiOllin_logo.png b/Nahui Ollin/src/img/NahuiOllin_logo.png new file mode 100644 index 0000000000..cebc1e386f Binary files /dev/null and b/Nahui Ollin/src/img/NahuiOllin_logo.png differ diff --git a/Nahui Ollin/src/img/bg.jpg b/Nahui Ollin/src/img/bg.jpg new file mode 100644 index 0000000000..5d2e014065 Binary files /dev/null and b/Nahui Ollin/src/img/bg.jpg differ diff --git a/Nahui Ollin/src/img/border.jpg b/Nahui Ollin/src/img/border.jpg new file mode 100644 index 0000000000..fbedc943f5 Binary files /dev/null and b/Nahui Ollin/src/img/border.jpg differ diff --git a/Nahui Ollin/src/scss/_checkbox.scss b/Nahui Ollin/src/scss/_checkbox.scss new file mode 100644 index 0000000000..4c2ed63bae --- /dev/null +++ b/Nahui Ollin/src/scss/_checkbox.scss @@ -0,0 +1,53 @@ +$activeColor: #27ae60; //green +$darkenColor: darken($activeColor, 20%); + +label.sheet-styled-checkbox { + // Reset values inherited from Roll20 + margin-bottom: 0; + padding-right: initial; + + position: relative; + padding-left: 35px; + cursor: pointer; + font-size: 1rem; + + input { + position: absolute; + opacity: 0; + } + + // Mouse over + &:hover input ~ span { + background-color: #ccc; + } + + // Button checked + input:checked ~ span { + background-color: $darkenColor; + } + + // Show dot/circle indicator + input:checked ~ span:after { + display: block; + } + + span { + border: 2px solid $activeColor; + border-radius: 50%; + position: absolute; + top: 0; left: 0; + height: 15px; + width: 15px; + + // Dot/Circle indicator when checkedd + &:after { + top: 9px; + left: 9px; + width: 8px; + height: 8px; + border-radius: 50%; + background: red; + } + } + +} \ No newline at end of file diff --git a/Nahui Ollin/src/scss/_variables.scss b/Nahui Ollin/src/scss/_variables.scss new file mode 100644 index 0000000000..48fac22c78 --- /dev/null +++ b/Nahui Ollin/src/scss/_variables.scss @@ -0,0 +1,25 @@ +$prefix: "sheet-"; +$color1: #915027; +$color2: #6C613B; + +// ---------- Reset rules + +// Number input arrows +/* Chrome, Safari, Edge, Opera */ +input::-webkit-outer-spin-button, +input::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +/* Firefox */ +input[type=number] { + -moz-appearance: textfield; +} + +// textarea resize disable on horizontal +textarea { + resize: vertical; + height: auto; + width: auto; +} \ No newline at end of file diff --git a/Nahui Ollin/src/scss/nahuiollin.scss b/Nahui Ollin/src/scss/nahuiollin.scss new file mode 100644 index 0000000000..30e4c2be1c --- /dev/null +++ b/Nahui Ollin/src/scss/nahuiollin.scss @@ -0,0 +1,69 @@ +@import "variables"; + +.charsheet { + background: #F2EAD3 url(https://raw.githubusercontent.com/rldorado/roll20-character-sheets/master/Nahui%20Ollin/src/img/bg.jpg) no-repeat center; + font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; +} + +h3 { + color: $color1; + background-color: rgba(235,195,95,0.8); + text-align: center; + border-top: 2px solid $color1; + border-bottom: 2px solid $color1; +} + +.#{$prefix} { + + &logo { + display: flex; + justify-content: center; + width: 100%; + margin-bottom: 20px; + } + + §ion { + display: flex; + flex-direction: row; + flex-grow: 1; + justify-content: center; + + label { + color: $color2; + } + + &__left, &__right { + margin: 1em; + } + } + + &inline { + display: flex; + flex-direction: row; + align-content: center; + align-items: center; + + input, textarea { + width: 100%; + } + } + + &inline-checkboxes { + padding: 1rem; + display: flex; + flex-direction: row; + align-content: center; + border-right: 2px solid $color1; + border-left: 2px solid $color1; + + label:first-of-type { + width: 35%; + } + + &:last-of-type { + border-bottom: 2px solid $color1; + } + + @import "checkbox"; + } +} \ No newline at end of file