Guest User

enyllion.css

a guest
Apr 25th, 2025
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.04 KB | Source Code | 0 0
  1. /* Font import */
  2. @import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Eagle+Lake&family=Macondo&family=MedievalSharp&display=swap');
  3.  
  4. /*Tabs*/
  5.     /*PJ (PC) sheet*/
  6.     .charsheet .pc-principal,
  7.     .charsheet .pc-equipment,
  8.     .charsheet .pc-grimoire,
  9.     .charsheet .pc-necromancy,
  10.     .charsheet .pc-notes {
  11.         display: none;
  12.     }
  13.  
  14.     .charsheet .tabstoggle[value="PC_principal"] ~ div.pc-principal,
  15.     .charsheet .tabstoggle[value="PC_equipment"] ~ div.pc-equipment,
  16.     .charsheet .tabstoggle[value="PC_grimoire"] ~ div.pc-grimoire,
  17.     .charsheet .tabstoggle[value="PC_necromancy"] ~ div.pc-necromancy,
  18.     .charsheet .tabstoggle[value="PC_notes"] ~ div.pc-notes {
  19.         display: block;
  20.     }
  21.  
  22.     /* PNJ (NPC) sheet */
  23.     .charsheet .npc-principal,
  24.     .charsheet .npc-equipement,
  25.     .charsheet .npc-grimoire {
  26.         display: none;
  27.     }
  28.  
  29.     .charsheet .tabstoggle[value="NPC_principal"] ~ div.npc-principal,
  30.     .charsheet .tabstoggle[value="NPC_equipment"] ~ div.npc-equipement,
  31.     .charsheet .tabstoggle[value="NPC_grimoire"] ~ div.npc-grimoire {
  32.         display: block;
  33.     }
  34.  
  35.     /* Ennemy sheet */
  36.     .charsheet .creature,
  37.     .charsheet .demon,
  38.     .charsheet .dragon,
  39.     .charsheet .ennemi {
  40.         display: none;
  41.     }
  42.  
  43.     .charsheet .tabstoggle[value="creature"] ~ div.creature,
  44.     .charsheet .tabstoggle[value="demon"] ~ div.demon,
  45.     .charsheet .tabstoggle[value="dragon"] ~ div.dragon,
  46.     .charsheet .tabstoggle[value="ennemi"] ~ div.ennemi {
  47.         display: block;
  48.     }
  49.  
  50.     /* Sheet selection */
  51.     div.sheet-tab-content {
  52.         display: none;
  53.     }
  54.  
  55.     input.sheet-tab1:checked ~ div.sheet-tab1,
  56.     input.sheet-tab2:checked ~ div.sheet-tab2,
  57.     input.sheet-tab3:checked ~ div.sheet-tab3 {
  58.         display: block;
  59.     }
  60.  
  61.     input.sheet-tab {
  62.         width: 100px;
  63.         height: 25px;
  64.         left: 6px;
  65.         margin: 35px 2px;
  66.         cursor: pointer;
  67.         z-index: 1;
  68.         border: 2px solid #000;
  69.         border-radius: 6px;
  70.         font-family:"Cinzel Decorative", serif;
  71.         font-size: 18px;
  72.     }
  73.  
  74.     input.sheet-tab::before {
  75.         content: attr(title);
  76.         text-align: center;
  77.         display: inline-block;
  78.         background: #fff;
  79.         color: #000;
  80.         width: 100px;
  81.         height: 25px;
  82.         border: 2px solid #000;
  83.         border-radius: 6px;
  84.         font-family:"Cinzel Decorative", serif;
  85.         font-size: 18px;
  86.     }
  87.  
  88.     input.sheet-tab:checked::before {
  89.         background: #926239;
  90.         color: #fff;
  91.         border: 2px solid #000;
  92.         border-radius: 6px;
  93.         font-family:"Cinzel Decorative", serif;
  94.         font-size: 18px;
  95.     }
  96.  
  97.     div.sheet-tab-content {
  98.         width:827px;
  99.         height: 850px;
  100.         margin: 0 0 0 0;
  101.         padding: 5px;
  102.         background-color:#926239
  103.     }
  104. /* End of tabs */
  105.  
  106. /* Logo & title */
  107.     div.logo {
  108.         width: 105px;
  109.         height: auto;
  110.         position: absolute;
  111.         left: 752px;
  112.         top: 57px;
  113.     }
  114.  
  115.     div.title-sheet {
  116.         width: 320px;
  117.         height: auto;
  118.         position: absolute;
  119.         left: 288px;
  120.         top:70px;
  121.     }
  122.  
  123.     span.title-sheet {
  124.         font-family: "Eagle Lake", serif;
  125.         font-size: 22px;
  126.         text-align: center;
  127.     }
  128.  
  129. /* Fields and buttons */
  130. .part-of-sheet-buttons{
  131.     width: 145px;
  132.     height: auto;
  133.     font-family: "Cinzel Decorative", serif;
  134.     font-size: 12px;
  135.     border-radius: 5px;
  136.     color: #000;
  137. }
  138.  
  139. .char-textbox {
  140.     background:transparent;
  141.     border-top:none;
  142.     border-left:none;
  143.     border-right:none;
  144.     border-bottom:1px solid #000;
  145.     box-shadow:none;
  146.     color: #000;
  147.     width: 165px;
  148. }
  149.  
  150. .textbox-stat[type="number"] {
  151.     text-align: center !important;
  152.     background:transparent;
  153.     border: 1px solid #000;
  154.     box-shadow:none;
  155.     color: #000;
  156.     width:35px;
  157.     margin-left:7px;
  158.     text-align:center;
  159.     font-size:20px;
  160. }
  161.  
  162. /* Dices buttons */
  163. button[type=roll].sheet-d100-dice,
  164. button[type=roll].sheet-d10-dice,
  165. button[type=roll].sheet-infos-dice {
  166.     box-sizing: border-box;
  167.     text-align: center !important;
  168.     padding: 1px 1px 1px 1px !important;
  169.     border-width: 1px;
  170.     border-style: solid;
  171.     border-color: transparent;
  172.     background:transparent;
  173.     box-shadow: none;
  174.     text-shadow: none;
  175.     -webkit-box-shadow: none;
  176. }
  177.  
  178. .ui-dialog .tab-content .charsheet button[type=roll].sheet-d100-dice::before {
  179.     font-family: 'dicefontd10';
  180.     content: 't';
  181.     font-size: 27px;
  182.     color: #000;
  183. }
  184.  
  185. .ui-dialog .tab-content .charsheet button[type=roll].sheet-d10-dice::before {
  186.     font-family: 'dicefontd10';
  187.     content: 'k';
  188.     font-size: 27px;
  189.     color: #000;
  190. }
  191.  
  192. .ui-dialog .tab-content .charsheet button[type=roll].sheet-infos-dice::before {
  193.     font-family: 'Pictos';
  194.     content: 'i';
  195.     font-size: 27px;
  196.     color: #000;
  197. }
  198.  
  199. .ui-dialog .tab-content .charsheet button[type=roll].sheet-d100-dice:hover:before {
  200.     font-family: 'dicefontd10';
  201.     content: 'T';
  202.     font-size: 27px;
  203.     color: #000;
  204. }
  205.  
  206. .ui-dialog .tab-content .charsheet button[type=roll].sheet-d10-dice:hover:before {
  207.     font-family: 'dicefontd10';
  208.     content: 'K';
  209.     font-size: 27px;
  210.     color: #000;
  211. }
  212.  
  213. /* Titles and writings */
  214. .section-title {
  215.     font-family: "MedievalSharp", serif;
  216.     font-size: 22px;
  217.     margin-left: 25px;
  218.     color: #000;
  219. }
  220.  
  221. .char-textbox-label {
  222.     font-family: "Macondo", serif;
  223.     font-size: 15px;
  224.     color: #000;
  225. }
  226.  
  227. .textbox-label {
  228.     font-family: "Eagle Lake", serif;
  229.     font-size: 18px;
  230.     color: #000;
  231. }
  232.  
  233. /*Chrome appearance for number field like a textfield*/
  234. input::-webkit-outer-spin-button,
  235. input::-webkit-inner-spin-button {
  236.   -webkit-appearance: none;
  237.   margin: 0;
  238. }
  239.  
  240. /*Mozilla appearance for number field like a textfield*/
  241. input[type="number"] {
  242.     -moz-appearance: textfield;
  243. }
  244.  
  245. /* Grid areas */
  246.     .areas {
  247.         border: 1px solid gray;
  248.         height: auto;
  249.         padding-bottom: 15px;
  250.     }
  251.  
  252.     .buttons {
  253.         border: none;
  254.         width: auto;
  255.         height: auto;
  256.     }
  257.  
  258.     /*PC principal*/
  259.     .perso {
  260.         grid-area: perso;
  261.         width: 99.75%;
  262.     }
  263.  
  264.     .carac {
  265.         grid-area: carac;
  266.         width: 98.5%;
  267.     }
  268.  
  269.     .health {
  270.         grid-area: health;
  271.         width: 98.5%;
  272.     }
  273. /*End of grid areas*/
  274.  
  275. /* Wrappers */
  276.     /* Part of sheet selection */
  277.     .part-of-sheet-buttons-wrapper {
  278.         width: auto;
  279.         justify-items: center;
  280.     }
  281.  
  282.     /*PC wrappers*/
  283.     .pc-principal {
  284.         display: grid;
  285.         gap: 1px;
  286.         grid-template-columns: repeat(2, 50%);
  287.         grid-auto-rows: minmax(50px, auto);
  288.         grid-template-areas:
  289.             "perso      perso"
  290.             "carac      health"
  291.             "bourse     honneur"
  292.             "attributs  affDiv"
  293.             "attributs  carRace"
  294.             "resMag     resMag"
  295.             "charge     charge"
  296.             "competence competence";
  297.     }
  298. /* End of wrappers */
Advertisement
Add Comment
Please, Sign In to add comment