From b906bbe5923afb667ea7d97db5cfe3df493eebd0 Mon Sep 17 00:00:00 2001 From: Physcik Date: Wed, 14 Jan 2026 21:28:08 +0500 Subject: fuckup --- index_files/cler.svg | 15 + index_files/cler.svg:Zone.Identifier | Bin 0 -> 25 bytes index_files/css2 | 333 +++++++++++++++++++++ index_files/css2:Zone.Identifier | Bin 0 -> 25 bytes index_files/index.css | 170 +++++++++++ index_files/index.css:Zone.Identifier | Bin 0 -> 25 bytes ...20\267\320\262\320\260\320\275\320\270\321\217" | 85 ++++++ ...20\260\320\275\320\270\321\217:Zone.Identifier" | Bin 0 -> 25 bytes 8 files changed, 603 insertions(+) create mode 100644 index_files/cler.svg create mode 100644 index_files/cler.svg:Zone.Identifier create mode 100644 index_files/css2 create mode 100644 index_files/css2:Zone.Identifier create mode 100644 index_files/index.css create mode 100644 index_files/index.css:Zone.Identifier create mode 100644 "index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217" create mode 100644 "index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217:Zone.Identifier" (limited to 'index_files') diff --git a/index_files/cler.svg b/index_files/cler.svg new file mode 100644 index 0000000..52baec9 --- /dev/null +++ b/index_files/cler.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/index_files/cler.svg:Zone.Identifier b/index_files/cler.svg:Zone.Identifier new file mode 100644 index 0000000..d6c1ec6 Binary files /dev/null and b/index_files/cler.svg:Zone.Identifier differ diff --git a/index_files/css2 b/index_files/css2 new file mode 100644 index 0000000..9e673c9 --- /dev/null +++ b/index_files/css2 @@ -0,0 +1,333 @@ +/* cyrillic-ext */ +@font-face { + font-family: 'Brygada 1918'; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe03MI6eKpdGqlF5LANrM--qAc5gU1EQVg.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Brygada 1918'; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe03MI6eKpdGqlF5LANrM--qAc5pU1EQVg.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek */ +@font-face { + font-family: 'Brygada 1918'; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe03MI6eKpdGqlF5LANrM--qAc5uU1EQVg.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Brygada 1918'; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe03MI6eKpdGqlF5LANrM--qAc5iU1EQVg.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Brygada 1918'; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe03MI6eKpdGqlF5LANrM--qAc5jU1EQVg.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Brygada 1918'; + font-style: italic; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe03MI6eKpdGqlF5LANrM--qAc5tU1E.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Brygada 1918'; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe0pMI6eKpdGqlF5LANrM--qCf5vS1U.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Brygada 1918'; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe0pMI6eKpdGqlF5LANrM--qAP5vS1U.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek */ +@font-face { + font-family: 'Brygada 1918'; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe0pMI6eKpdGqlF5LANrM--qB_5vS1U.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* vietnamese */ +@font-face { + font-family: 'Brygada 1918'; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe0pMI6eKpdGqlF5LANrM--qC_5vS1U.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Brygada 1918'; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe0pMI6eKpdGqlF5LANrM--qCv5vS1U.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Brygada 1918'; + font-style: normal; + font-weight: 400 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/brygada1918/v27/pe0pMI6eKpdGqlF5LANrM--qBP5v.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9N_ttcl5m2EDQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9N_ttcs5m2EDQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* vietnamese */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9N_ttcn5m2EDQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9N_ttcm5m2EDQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9N_ttco5m0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_QiZUaILtOqhqgDeXoF_n1_fTGX9vZlMIXxw.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_QiZUaILtOqhqgDeXoF_n1_fTGX9vQlMIXxw.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* vietnamese */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_QiZUaILtOqhqgDeXoF_n1_fTGX9vblMIXxw.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_QiZUaILtOqhqgDeXoF_n1_fTGX9valMIXxw.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_QiZUaILtOqhqgDeXoF_n1_fTGX9vUlMI.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Mnt9cl5m2EDQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Mnt9cs5m2EDQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* vietnamese */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Mnt9cn5m2EDQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Mnt9cm5m2EDQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Mnt9co5m0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9MLsNcl5m2EDQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9MLsNcs5m2EDQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* vietnamese */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9MLsNcn5m2EDQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9MLsNcm5m2EDQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 600; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9MLsNco5m0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Nvsdcl5m2EDQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Nvsdcs5m2EDQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* vietnamese */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Nvsdcn5m2EDQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Nvsdcm5m2EDQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Cormorant Unicase'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(https://fonts.gstatic.com/s/cormorantunicase/v25/HI_ViZUaILtOqhqgDeXoF_n1_fTGX9Nvsdco5m0.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/index_files/css2:Zone.Identifier b/index_files/css2:Zone.Identifier new file mode 100644 index 0000000..d6c1ec6 Binary files /dev/null and b/index_files/css2:Zone.Identifier differ diff --git a/index_files/index.css b/index_files/index.css new file mode 100644 index 0000000..b2b6283 --- /dev/null +++ b/index_files/index.css @@ -0,0 +1,170 @@ +:root { + --colorscheme-fighter: #9E3A2F; + --colorscheme-barbarian: #905945; + --colorscheme-wizard: #4265B8; + --colorscheme-bard: #B15063; + --colorscheme-paladin: #94C6E3; + --colorscheme-cleric: #ECCE65; + --colorscheme-warlock: #8576C2; + --colorscheme-druid: #5FB375; + --colorscheme-sorcerer: #8D578E; + --colorscheme-rouge: #525247; + --colorscheme-ranger: #66B99E; + --colorscheme-monk: #AB8C4E; + --colorscheme-focus: #B85812; + + --font-size: 18px; +} + +* { + margin: 0px; + padding: 0px; + font-family: "Brygada 1918", serif; +} + +.row { + display: flex; + flex-wrap: wrap; + gap: 10px; + margin-top: 10px; +} + +.card { + background-image: url("cardFace.png"); + background-size: cover; + +} + +.overlay { + background-image: url("Components/cardLine.svg"); + background-size: cover; + background-repeat: no-repeat; + background-size: 100%; + padding: -5px; + height: calc(160px * 4); + width: calc(110px * 4); + display: flex; +} + +.in-box { + background-image: url("Components/textbox.svg"); + background-size: cover; + background-repeat: no-repeat; + background-size: 100%; +} + +.side-panel { + height: calc(160px * 4 - 10px); + width: calc(160px * 4 * 0.1 - 23px + 10px); + border-top-left-radius: 20px; + border-bottom-left-radius: 20px; +} + +.level { + width: calc(180px * 4 * 0.1); + height: calc(180px * 4 * 0.1); + background-image: url("bg.jpg"); + background-repeat: no-repeat; + background-size: calc(180px * 4 * 0.1); + border-top-left-radius: 20px; + background-image: url("Components/corner_v2.svg"); + padding: 0px; + margin: 0px; + text-align: center; + line-height: calc(160px * 4 * 0.1); +} + +.side-panel-content { + height: calc(160px * 4 - (160px * 4 * 0.1) - 25px); + display: flex; +} + +.spell-type { + align-self: flex-end; + writing-mode: sideways-lr; + margin: 10px; +} + +.contents { + padding: 10px; + max-width: calc(160px * 4 * 0.9 - 20px - 20px); + display: flex; + flex-direction: column; +} + +.class-name { + margin: 5px; + margin-left: 10px; + padding: 2px; + padding-left: 10px; + width: calc(160px * 4 * 0.9 - 30px - 220px); + line-height: 70px; + text-align: center; +} + +.class-icon { + height: 50%; + justify-self: center; + background-size: cover; +} + +.spell-name { + margin: 5px; + padding: 10px; + width: calc(160px * 4 * 0.9 - 30px - 220px); + margin-bottom: 0px; + + text-align: center; +} + +.stats { + align-self: center; + border-top: none; + justify-self: center; + padding: 3%; + width: calc((160px * 4 * 0.9 - 30px - 200px) * 0.86); + + display: flex; + flex-direction: row; + justify-content: flex-start; + gap: 10px; + list-style: none; + + flex-wrap: wrap; + + background-image: url("Components/components.svg"); + background-size: cover; + background-repeat: no-repeat; + background-size: 100%; + + text-align: center; +} + +.description { + overflow: hidden; +} + +li { + font-weight: bold; +} + +.contents > p { + font-size: var(--font-size); + padding-right: 10px; + padding-left: 10px; +} + +.separator { + background-image: url("Components/separation.svg"); + background-repeat: no-repeat; + background-size: cover; + margin-top: calc(180px * 4 * 0.1 - 6px); + height: calc(160px * 4 - 180px * 4 * 0.1 + 10px - 10px); + min-width: 10; +} + +.back { + background-image: url("cardBack.png"); + display: flex; + flex-wrap: wrap; +} diff --git a/index_files/index.css:Zone.Identifier b/index_files/index.css:Zone.Identifier new file mode 100644 index 0000000..d6c1ec6 Binary files /dev/null and b/index_files/index.css:Zone.Identifier differ diff --git "a/index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217" "b/index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217" new file mode 100644 index 0000000..3b4f63f --- /dev/null +++ "b/index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217" @@ -0,0 +1,85 @@ +function LoadData(data) { + const objects = JSON.parse(data).cards; + for (i of objects) { + CreateFace(i); + CreateBack(i); + } +} + +function acceptFile() { + const inp = document.getElementById("inp"); + console.log(inp.files[0]); + readFileContent(inp.files[0]).then(content => { + LoadData(content); + }); +} + +function readFileContent(file) { + const reader = new FileReader() + return new Promise((resolve, reject) => { + reader.onload = event => resolve(event.target.result) + reader.onerror = error => reject(error) + reader.readAsText(file) + }) +} + +function GetClassData(baseName) { + switch (baseName) { + case "fighter": return {Color: "9E3A2F", Name: "Воин", Icon: "ClassIcons/figh.svg"}; + case "barbarian": return {Color: "905945", Name: "Варвар", Icon: "ClassIcons/barb.svg"}; + case "wizard": return {Color: "4265B8", Name: "Волшебник", Icon: "ClassIcons/wiza.svg"}; + case "bard": return {Color: "B15063", Name: "Бард", Icon: "ClassIcons/bard.svg"}; + case "paladin": return {Color: "94C6E3", Name: "Паладин", Icon: "ClassIcons/pala.svg"}; + case "cleric": return {Color: "ECCE65", Name: "Жрец", Icon: "ClassIcons/cler.svg"}; + case "warlock": return {Color: "8576C2", Name: "Колдун", Icon: "ClassIcons/warl.svg"}; + case "druid": return {Color: "5FB375", Name: "Друид", Icon: "ClassIcons/drui.svg"}; + case "sorcerer": return {Color: "8D578E", Name: "Чародей", Icon: "ClassIcons/sour.svg"}; + case "rouge": return {Color: "525247", Name: "Плут", Icon: "ClassIcons/roug.svg"}; + case "ranger": return {Color: "66B99E", Name: "Следопыт", Icon: "ClassIcons/rang.svg"}; + case "monk": return {Color: "AB8C4E", Name: "Монах", Icon: "ClassIcons/monk.svg"}; + case "focuse": return {Color: "B85812", Name: "Фокус", Icon: "ClassIcons/focu.svg"}; + } +} + +function CreateFace(card) { + let parent = document.getElementById("row"); + const template = document.getElementById("FaceTempl"); + var clone = template.content.cloneNode(true); + + var classData = GetClassData(card.ClassName); + + clone.getElementById("classname").innerHTML = classData.Name; + clone.getElementById("level").innerHTML = card.Level; + clone.getElementById("spellName").innerHTML = card.SpellName; + clone.getElementById("school").innerHTML = card.School; + // clone.getElementById("castTime").innerHTML = card.CastTime; + // clone.getElementById("distance").innerHTML = card.Distance; + // clone.getElementById("components").innerHTML = card.Components; + // clone.getElementById("duration").innerHTML = card.Duration; + clone.getElementById("classIcon").src = classData.Icon; + clone.getElementById("stats").innerHTML = `■ ${card.CastTime} ■ ${card.Distance} ■ ${card.Components} ■ ${card.Duration} ■`; +// ■ + + + clone.getElementById("level").style.backgroundImage = GetLevelBg(classData); + + parent.appendChild(clone); +} + +function CreateBack(card) { + let parent = document.getElementById("row"); + const template = document.getElementById("BackTempl"); + var clone = template.content.cloneNode(true); + var container = clone.getElementById("description"); + for (i of card.Description) { + var newText = document.createElement("p"); + newText.innerHTML = i; + newText.style.fontSize = `${card.DescriptionScale}px`; + container.appendChild(newText); + } + parent.appendChild(clone); +} + +function GetLevelBg(classData) { + return `url("data:image/svg+xml;utf8,")`; +} diff --git "a/index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217:Zone.Identifier" "b/index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217:Zone.Identifier" new file mode 100644 index 0000000..d6c1ec6 Binary files /dev/null and "b/index_files/index.js.\320\221\320\265\320\267 \320\275\320\260\320\267\320\262\320\260\320\275\320\270\321\217:Zone.Identifier" differ -- cgit v1.3