-
Notifications
You must be signed in to change notification settings - Fork 1
/
DND_Image.css
199 lines (172 loc) · 4.11 KB
/
DND_Image.css
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
.header {
background-image: url("https://static1.thegamerimages.com/wordpress/wp-content/uploads/2021/06/dungeons-and-dragons-no-dm.jpg?q=50&fit=contain&w=767&h=450&dpr=1.5");
background-size: 100%;
padding:none;
color: white;
}
/* Overall style of the Web App */
body {
background-color: rgba(107, 0, 0);
color:white;
}
/* End of overall style of the Web App */
/* Setting text sytle and coloring for the boxed section for each tab */
label {
font-weight: normal;
text-transform: none;
line-height: 1.6;
text-indent: 50%;
color:rgb(255, 196, 0)
}
.info_section {
background-color: hsla(347, 100%, 41%, 0.637);
color:white;
padding-left: 12px;
text-transform: uppercase;
font-weight: bold;
}
/* End of Setting text sytle and coloring for the boxed section for each tab */
/* Final Page formating */
.indent-1 {float: left; padding-left:12px;}
.indent-1 section {width: 70%; float: left; padding-left:12px;}
/* Ending Final Page formating */
/* Dropdown Button */
.dropbtn, #roll {
background-color: #ff0000;
color: white;
padding: 16px;
font-size: 16px;
border: none;
cursor: pointer;
}
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
background-color: #b80028;
}
/* The container <div> - needed to position the dropdown content */
.dropdown {
position: relative;
display: inline-block;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content li {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content li:hover {background-color: #ddd}
/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
/* Style the tab */
.tab {
overflow: hidden;
color: white;
border: 1px solid rgb(187, 53, 0);
background-color: #be273b;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
color: white;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
color: rgb(82, 0, 0);
background-color: rgb(255, 115, 115);
}
/* Create an active/current tablink class */
.tab button.active {
color: white;
background-color: rgb(247, 59, 59);
}
/* Style the tab content */
.tabcontent {
display: none;
background-color: rgba(148, 5, 5, 0.678);
padding: 6px 12px;
border: 1px solid rgb(255, 0, 0);
border-top: none;
}
.tabcontent {
animation: fadeEffect 1s; /* Fading effect takes 1 second */
}
/* Go from zero to full opacity */
@keyframes fadeEffect {
from {opacity: 0;}
to {opacity: 1;}
}
/* Table border */
table, th, td {
border: 1px solid red;
border-collapse: collapse;
}
/* Table coloring */
td {
background-color: #be273b;
color:white;
}
th {
background-color:rgb(255, 115, 115);
color: black;
}
/* Table padding */
th, td {
padding-top: 10px;
padding-bottom: 20px;
padding-left: 30px;
padding-right: 40px;
}
/* The sidebar menu */
.sidenav {
overflow: auto;
height: 74.5%;
width: 300px;
position: fixed;
z-index: 1;
top: 160px;
left: 0;
float: left;
background-color: #450a03;
overflow-x: hidden;
padding-top: 60px;
transition: 0.5s;
}
/* The navigation menu links */
.sidenav, .sidenav li, #extra_spell_info{
padding: 6px 8px 6px 16px;
text-decoration: none;
font-size: 20px;
color: #ffffff;
display: block;
}
/* When you mouse over the navigation links, change their color */
.sidenav li:hover {
color: #f1f1f1;
}
/* Style page content */
.main {
margin-left: 300px;
padding: 0px 10px;
}
/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}