284 lines
4.7 KiB
CSS
284 lines
4.7 KiB
CSS
/* Basic styling for RetroPulse */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #1e3c72, #2a5298);
|
|
color: #fff;
|
|
min-height: 100vh;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 3em;
|
|
margin-bottom: 10px;
|
|
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
header p {
|
|
font-size: 1.2em;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Form Styling */
|
|
.user-input {
|
|
background: rgba(255,255,255,0.1);
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.user-input h2 {
|
|
margin-bottom: 20px;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
#userForm {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#username {
|
|
flex: 1;
|
|
max-width: 300px;
|
|
padding: 15px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1.1em;
|
|
background: rgba(255,255,255,0.9);
|
|
color: #333;
|
|
}
|
|
|
|
#username:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
|
|
}
|
|
|
|
button {
|
|
padding: 15px 30px;
|
|
background: #28a745;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
font-size: 1.1em;
|
|
cursor: pointer;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background: #218838;
|
|
}
|
|
|
|
/* Section States */
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.loading, .error {
|
|
text-align: center;
|
|
padding: 40px;
|
|
background: rgba(255,255,255,0.1);
|
|
border-radius: 15px;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.error {
|
|
background: rgba(220,53,69,0.2);
|
|
border: 1px solid rgba(220,53,69,0.3);
|
|
}
|
|
|
|
.error-message {
|
|
color: #ff6b6b;
|
|
font-size: 1.1em;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
/* User Info Styling */
|
|
.user-info {
|
|
background: rgba(255,255,255,0.1);
|
|
padding: 30px;
|
|
border-radius: 15px;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.profile-card {
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.profile-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.avatar {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
border: 3px solid rgba(255,255,255,0.3);
|
|
}
|
|
|
|
.profile-details h3 {
|
|
font-size: 1.8em;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.motto {
|
|
font-style: italic;
|
|
opacity: 0.8;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.stats {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.stat {
|
|
background: rgba(255,255,255,0.1);
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.member-since {
|
|
font-size: 0.9em;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Game and Achievement Cards */
|
|
.game-card, .achievement-card {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
background: rgba(255,255,255,0.05);
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.game-icon, .achievement-badge {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 8px;
|
|
border: 2px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.game-details h4, .achievement-details h4 {
|
|
font-size: 1.3em;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.console, .description {
|
|
opacity: 0.8;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.achievement-stats {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-top: 8px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.points, .true-ratio {
|
|
background: rgba(255,255,255,0.1);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Overlay Controls */
|
|
.overlay-controls {
|
|
margin-top: 30px;
|
|
padding: 25px;
|
|
background: rgba(40,167,69,0.1);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(40,167,69,0.3);
|
|
}
|
|
|
|
.overlay-controls h3 {
|
|
margin-bottom: 10px;
|
|
color: #28a745;
|
|
}
|
|
|
|
.overlay-url {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.overlay-url input {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: rgba(255,255,255,0.9);
|
|
color: #333;
|
|
font-family: monospace;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.overlay-button {
|
|
display: inline-block;
|
|
padding: 15px 25px;
|
|
background: #17a2b8;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: bold;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
.overlay-button:hover {
|
|
background: #138496;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 600px) {
|
|
.profile-header {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.game-card, .achievement-card {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
#userForm {
|
|
flex-direction: column;
|
|
}
|
|
|
|
#username {
|
|
max-width: none;
|
|
}
|
|
|
|
.overlay-url {
|
|
flex-direction: column;
|
|
}
|
|
}
|