-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
175 lines (149 loc) · 3.37 KB
/
style.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
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
padding: 20px;
background-image: url('images/background.jpg');
background-size: cover; /* Cover the entire page */
background-position: center; /* Center the image */
background-repeat: no-repeat;
}
.logo-container {
text-align: center;
margin-bottom: 20px;
}
.logo-container img {
width: 150px;
height: auto;
}
.grayed-out {
opacity: 0.4;
pointer-events: none;
}
.unselectable {
opacity: 0.6;
pointer-events: none;
background-color: #ff0000 !important;
}
.header-title-logo img {
visibility: hidden;
}
.header-title-logo a {
background-image: url('images/bnet-logo-01.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
.character-select-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.character {
border: 2px solid transparent;
padding: 1px;
margin: 5px;
border-radius: 3px;
transition: transform 0.3s ease;
background-color: #f4f4f481;
}
.character:hover {
transform: scale(1.3);
cursor: pointer;
}
.character img {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 50%;
}
.character p {
margin-top: 1%;
}
.selected {
border-color: #f2ff00;
}
.button-container {
margin-top: 10px;
}
.settings-container {
margin-bottom: 20px;
text-align: center;
}
.settings-container select {
padding: 5px 10px;
margin-left: 10px;
}
#resetButton {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
#sortButton {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
/* Popup info block */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
text-align: left;
}
/* Popup info block end*/
.close-button {
padding: 10px 20px;
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close-button:hover,
.close-button:focus {
padding: 10px 20px;
color: black;
text-decoration: none;
cursor: pointer;
}
/* experimental image design */
.hexagon {
width: 100px; /* Adjust as needed */
height: 100px; /* Adjust as needed */
position: relative;
clip-path: circle(40%);
overflow: hidden;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Slight shadow */
}
.hexagon::before {
content: '';
position: absolute;
top: -10px; /* Adjust thickness */
left: -10px; /* Adjust thickness */
right: -10px; /* Adjust thickness */
bottom: -10px; /* Adjust thickness */
z-index: -1;
clip-path: circle(40%);
background: silver; /* Border color */
}
/* experimental image design end */
.hoverable-element {
transition: border 0.3s ease; /* Optional: for smooth transition */
}
.hoverable-element:hover {
border: 3px solid yellow; /* Adjust the border width and style as needed */
}