From cf713cddf6a28ba190826b84a852ba07f9ed232e Mon Sep 17 00:00:00 2001 From: Maximilien Rigaut Date: Sat, 11 Feb 2017 18:01:28 +0100 Subject: [PATCH] Ajouts de deux Css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Début du travail sur le repeating field, beaucoup a faire pour le rendre potable --- feuille_sysd10.html | 58 +++++++++++++++++++++++++++--- style.css | 86 ++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 139 insertions(+), 5 deletions(-) diff --git a/feuille_sysd10.html b/feuille_sysd10.html index 44865ec..ea2f508 100644 --- a/feuille_sysd10.html +++ b/feuille_sysd10.html @@ -57,20 +57,59 @@ + Charisme + + + + + + + +
+

 

+ + + + + + + + - - + + - + + + + + + + + + + + + + + + + + + + +
CaracValeurExaltéeLancer
Intelligence
Volonte
Psyché
Chance

Ressources

+
+ @@ -79,13 +118,24 @@

Points de Vie

Points de Fatigue

-
+
+

Skills

+
+ + +

COMPETENCES

diff --git a/style.css b/style.css index 58a35b3..12a3637 100644 --- a/style.css +++ b/style.css @@ -26,4 +26,88 @@ td { .sheet-dice>option { font-size: 0.4em; -} \ No newline at end of file +} + +div.sheet-tab-content { display: none; } +input.sheet-tab1:checked ~ div.sheet-tab1, +input.sheet-tab2:checked ~ div.sheet-tab2, +input.sheet-tab3:checked ~ div.sheet-tab3, +input.sheet-tab4:checked ~ div.sheet-tab4, +input.sheet-tab5:checked ~ div.sheet-tab5, +input.sheet-tab6:checked ~ div.sheet-tab6 +{ + display: block; +} +input.sheet-secondary_tab1:checked ~ div.sheet-secondary_tab1, +input.sheet-secondary_tab2:checked ~ div.sheet-secondary_tab2, +input.sheet-secondary_tab3:checked ~ div.sheet-secondary_tab3, +input.sheet-secondary_tab4:checked ~ div.sheet-secondary_tab4, +input.sheet-secondary_tab5:checked ~ div.sheet-secondary_tab5, +input.sheet-secondary_tab6:checked ~ div.sheet-secondary_tab6, +input.sheet-secondary_tab7:checked ~ div.sheet-secondary_tab7, +input.sheet-secondary_tab8:checked ~ div.sheet-secondary_tab8 +{ + display:block; +} +input.sheet-tab{ + width:150px; + height: 20px; + top: 5px; + left: 6px; + margin: 5px; + cursor: pointer; + z-index: 1; +} +input.sheet-tab::before{ + content: attr(title); + + border-radius:.5em; + border:2px solid black; + text-align: center; + display: inline-block; + + background: black; + color:white; + width: 150px; + height: 20px; + font-size: 18px; +} +input.sheet-tab:checked::before{ + background:#CCCCCC; + color:black; + border-radius:.5em; + border:2px solid black; +} + +input.sheet-small_tab{ + width:90px; + height: 20px; + cursor: pointer; + z-index: 1; + margin:5px; +} +input.sheet-small_tab::before{ + content: attr(title); + + border-radius:.5em; + text-align: center; + display: inline-block; + color:white; + background:black; + border:2px solid black; + width: 90px; + height:20px; + font-size: 14px; + +} +input.sheet-small_tab:checked::before{ + border:2px solid black; + background:#CCCCCC; + color:black; + border-radius:.5em; +} + +div.sheet-tab-content{ + border-top-color: #000; + margin: 2px 0 0 0; +}