summaryrefslogtreecommitdiff
path: root/index_files/index.css
blob: b2b628377ed3a69e266147eb0260766c03aa3b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
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;
}