Spaces:
Sleeping
Sleeping
Update static/css/styles.css
Browse files- static/css/styles.css +57 -87
static/css/styles.css
CHANGED
|
@@ -75,30 +75,65 @@ body {
|
|
| 75 |
animation: fadeIn 0.5s ease-in-out;
|
| 76 |
}
|
| 77 |
|
| 78 |
-
/*
|
| 79 |
-
|
| 80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
margin-bottom: var(--spacing-lg);
|
| 82 |
text-transform: uppercase;
|
| 83 |
-
letter-spacing: 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
}
|
| 91 |
|
| 92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
.player-grid {
|
| 94 |
display: flex;
|
| 95 |
justify-content: center;
|
| 96 |
gap: var(--spacing-lg);
|
| 97 |
-
margin
|
| 98 |
-
flex-wrap: wrap;
|
| 99 |
}
|
| 100 |
|
| 101 |
-
/* Player card styling */
|
| 102 |
.player-card {
|
| 103 |
display: flex;
|
| 104 |
flex-direction: column;
|
|
@@ -106,7 +141,6 @@ body {
|
|
| 106 |
gap: var(--spacing-sm);
|
| 107 |
}
|
| 108 |
|
| 109 |
-
/* Player circle styling */
|
| 110 |
.player-circle {
|
| 111 |
width: 60px;
|
| 112 |
height: 60px;
|
|
@@ -116,66 +150,21 @@ body {
|
|
| 116 |
align-items: center;
|
| 117 |
justify-content: center;
|
| 118 |
font-size: 1.5rem;
|
| 119 |
-
margin-bottom: var(--spacing-sm);
|
| 120 |
background: transparent;
|
| 121 |
transition: all var(--transition-speed) ease;
|
| 122 |
}
|
| 123 |
|
| 124 |
-
.player-circle:hover {
|
| 125 |
-
background: rgba(255, 255, 255, 0.1);
|
| 126 |
-
}
|
| 127 |
-
|
| 128 |
-
/* Player name styling */
|
| 129 |
.player-name {
|
| 130 |
font-size: 1rem;
|
| 131 |
color: var(--text-secondary);
|
|
|
|
| 132 |
}
|
| 133 |
|
| 134 |
-
/* Button container */
|
| 135 |
.button-container {
|
| 136 |
display: flex;
|
| 137 |
gap: var(--spacing-md);
|
| 138 |
margin-top: var(--spacing-lg);
|
| 139 |
-
justify-content: center;
|
| 140 |
-
}
|
| 141 |
-
|
| 142 |
-
/* Button styles */
|
| 143 |
-
.button {
|
| 144 |
-
background: transparent;
|
| 145 |
-
border: 2px solid var(--text-primary);
|
| 146 |
-
color: var(--text-primary);
|
| 147 |
-
padding: var(--spacing-md) var(--spacing-lg);
|
| 148 |
-
font-family: 'Pixelify Sans', sans-serif;
|
| 149 |
-
font-size: 1.2rem;
|
| 150 |
-
cursor: pointer;
|
| 151 |
-
transition: all var(--transition-speed) ease;
|
| 152 |
-
min-width: 150px;
|
| 153 |
-
text-transform: uppercase;
|
| 154 |
-
}
|
| 155 |
-
|
| 156 |
-
.button:hover:not(:disabled) {
|
| 157 |
-
background: var(--text-primary);
|
| 158 |
-
color: var(--bg-primary);
|
| 159 |
-
}
|
| 160 |
-
|
| 161 |
-
.button:disabled {
|
| 162 |
-
opacity: 0.5;
|
| 163 |
-
cursor: not-allowed;
|
| 164 |
-
border-color: var(--text-secondary);
|
| 165 |
-
}
|
| 166 |
-
|
| 167 |
-
.button.start-button {
|
| 168 |
-
background-color: transparent;
|
| 169 |
-
}
|
| 170 |
-
|
| 171 |
-
.button.start-button:not(:disabled) {
|
| 172 |
-
border-color: var(--accent-green);
|
| 173 |
-
color: var(--accent-green);
|
| 174 |
-
}
|
| 175 |
-
|
| 176 |
-
.button.start-button:hover:not(:disabled) {
|
| 177 |
-
background-color: var(--accent-green);
|
| 178 |
-
color: var(--bg-primary);
|
| 179 |
}
|
| 180 |
|
| 181 |
/* Animation keyframes */
|
|
@@ -192,39 +181,20 @@ body {
|
|
| 192 |
|
| 193 |
/* Responsive design */
|
| 194 |
@media (max-width: 768px) {
|
| 195 |
-
.
|
| 196 |
-
|
| 197 |
}
|
| 198 |
-
|
| 199 |
-
.player-
|
| 200 |
-
|
| 201 |
-
height: 50px;
|
| 202 |
-
font-size: 1.2rem;
|
| 203 |
-
}
|
| 204 |
-
|
| 205 |
-
.button {
|
| 206 |
-
padding: var(--spacing-sm) var(--spacing-md);
|
| 207 |
-
font-size: 1rem;
|
| 208 |
-
min-width: 120px;
|
| 209 |
}
|
| 210 |
}
|
| 211 |
|
| 212 |
@media (max-width: 480px) {
|
| 213 |
-
.
|
| 214 |
-
|
| 215 |
-
}
|
| 216 |
-
|
| 217 |
-
.player-circle {
|
| 218 |
-
width: 40px;
|
| 219 |
-
height: 40px;
|
| 220 |
-
font-size: 1rem;
|
| 221 |
-
}
|
| 222 |
-
|
| 223 |
-
.button-container {
|
| 224 |
-
flex-direction: column;
|
| 225 |
-
align-items: center;
|
| 226 |
}
|
| 227 |
-
|
| 228 |
.button {
|
| 229 |
width: 100%;
|
| 230 |
}
|
|
|
|
| 75 |
animation: fadeIn 0.5s ease-in-out;
|
| 76 |
}
|
| 77 |
|
| 78 |
+
/* Landing page specific styles */
|
| 79 |
+
#landing-page {
|
| 80 |
+
text-align: center;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/* Game title styling */
|
| 84 |
+
.game-title {
|
| 85 |
+
font-size: 4rem;
|
| 86 |
margin-bottom: var(--spacing-lg);
|
| 87 |
text-transform: uppercase;
|
| 88 |
+
letter-spacing: 0.2em;
|
| 89 |
+
display: flex;
|
| 90 |
+
justify-content: center;
|
| 91 |
+
align-items: center;
|
| 92 |
+
gap: 0.5rem;
|
| 93 |
}
|
| 94 |
|
| 95 |
+
.title-not {
|
| 96 |
+
color: var(--text-primary);
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.title-emphasis {
|
| 100 |
+
color: var(--accent-red) !important;
|
| 101 |
+
font-weight: bold;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
/* Button styles */
|
| 105 |
+
.button {
|
| 106 |
+
background: transparent;
|
| 107 |
+
border: 2px solid var(--text-primary);
|
| 108 |
+
color: var(--text-primary);
|
| 109 |
+
padding: var(--spacing-md) var(--spacing-lg);
|
| 110 |
+
font-family: 'Pixelify Sans', sans-serif;
|
| 111 |
+
font-size: 1.2rem;
|
| 112 |
+
cursor: pointer;
|
| 113 |
+
transition: all var(--transition-speed) ease;
|
| 114 |
+
min-width: 150px;
|
| 115 |
+
text-transform: uppercase;
|
| 116 |
+
margin: 0.5rem;
|
| 117 |
}
|
| 118 |
|
| 119 |
+
.button:hover:not(:disabled) {
|
| 120 |
+
background: var(--text-primary);
|
| 121 |
+
color: var(--bg-primary);
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.button:disabled {
|
| 125 |
+
opacity: 0.5;
|
| 126 |
+
cursor: not-allowed;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
/* Player setup specific styles */
|
| 130 |
.player-grid {
|
| 131 |
display: flex;
|
| 132 |
justify-content: center;
|
| 133 |
gap: var(--spacing-lg);
|
| 134 |
+
margin: var(--spacing-lg) 0;
|
|
|
|
| 135 |
}
|
| 136 |
|
|
|
|
| 137 |
.player-card {
|
| 138 |
display: flex;
|
| 139 |
flex-direction: column;
|
|
|
|
| 141 |
gap: var(--spacing-sm);
|
| 142 |
}
|
| 143 |
|
|
|
|
| 144 |
.player-circle {
|
| 145 |
width: 60px;
|
| 146 |
height: 60px;
|
|
|
|
| 150 |
align-items: center;
|
| 151 |
justify-content: center;
|
| 152 |
font-size: 1.5rem;
|
|
|
|
| 153 |
background: transparent;
|
| 154 |
transition: all var(--transition-speed) ease;
|
| 155 |
}
|
| 156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
.player-name {
|
| 158 |
font-size: 1rem;
|
| 159 |
color: var(--text-secondary);
|
| 160 |
+
margin-top: 0.5rem;
|
| 161 |
}
|
| 162 |
|
| 163 |
+
/* Button container for setup page */
|
| 164 |
.button-container {
|
| 165 |
display: flex;
|
| 166 |
gap: var(--spacing-md);
|
| 167 |
margin-top: var(--spacing-lg);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
}
|
| 169 |
|
| 170 |
/* Animation keyframes */
|
|
|
|
| 181 |
|
| 182 |
/* Responsive design */
|
| 183 |
@media (max-width: 768px) {
|
| 184 |
+
.game-title {
|
| 185 |
+
font-size: 3rem;
|
| 186 |
}
|
| 187 |
+
|
| 188 |
+
.player-grid {
|
| 189 |
+
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 190 |
}
|
| 191 |
}
|
| 192 |
|
| 193 |
@media (max-width: 480px) {
|
| 194 |
+
.game-title {
|
| 195 |
+
font-size: 2rem;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 196 |
}
|
| 197 |
+
|
| 198 |
.button {
|
| 199 |
width: 100%;
|
| 200 |
}
|