forked from technolyceum/ai6-m2
328 lines
6.9 KiB
Plaintext
328 lines
6.9 KiB
Plaintext
ARTYOM - GRAPHICS DESIGNER MISSION
|
|
Your Role: Visual Designer | Your File: static/style.css
|
|
|
|
💡 What You're Building: You're making the game look amazing with Russian themes!
|
|
|
|
📋 LESSON 1-2: SETUP & RUSSIAN COLOR THEME
|
|
|
|
Step 1: Fork and Clone (10 minutes)
|
|
1. Go to: https://gitea.techshare.cc/technolyceum/ai6-m2
|
|
2. Click the "Fork" button (creates your copy)
|
|
3. Copy your forked repository URL
|
|
4. Open Terminal and type:
|
|
git clone [YOUR-FORKED-URL-HERE]
|
|
cd ai6-m2
|
|
git checkout -b artyom-graphics-work
|
|
|
|
Step 2: Enhance the Russian Color Theme (30 minutes)
|
|
Open static/style.css and find the body section.
|
|
|
|
DELETE these lines:
|
|
|
|
body {
|
|
background: #1a2a6c;
|
|
color: white;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
}
|
|
|
|
TYPE THIS instead:
|
|
|
|
body {
|
|
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
|
|
color: white;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
font-family: 'Arial', 'Helvetica', sans-serif;
|
|
}
|
|
|
|
Step 3: Make the Header Look Russian (20 minutes)
|
|
Find the header section.
|
|
|
|
DELETE these lines:
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background: #b21f1f;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
TYPE THIS instead:
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
padding: 20px;
|
|
background: linear-gradient(90deg, #1a2a6c, #b21f1f);
|
|
border-radius: 15px;
|
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
border: 2px solid #fdbb2d;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3rem;
|
|
margin-bottom: 10px;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
color: #fdbb2d;
|
|
}
|
|
|
|
Save and push:
|
|
git add static/style.css
|
|
git commit -m "feat: enhanced Russian color theme"
|
|
git push origin artyom-graphics-work
|
|
|
|
📋 LESSON 3-4: GAME ELEMENTS STYLING
|
|
|
|
Step 4: Style the Question Container (25 minutes)
|
|
Find the question-container section.
|
|
|
|
DELETE these lines:
|
|
|
|
.question-container {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
TYPE THIS instead:
|
|
|
|
.question-container {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
padding: 25px;
|
|
border-radius: 15px;
|
|
margin-bottom: 25px;
|
|
border: 1px solid rgba(253, 187, 45, 0.3);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.question {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 25px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
color: #fdbb2d;
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.question-number {
|
|
color: #fdbb2d;
|
|
font-size: 1.1rem;
|
|
margin-bottom: 15px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
Step 5: Make Answer Buttons Beautiful (25 minutes)
|
|
Find the option styling.
|
|
|
|
DELETE these lines:
|
|
|
|
.option {
|
|
background: #fdbb2d;
|
|
color: #1a2a6c;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.option:hover {
|
|
background: #e6a923;
|
|
}
|
|
|
|
TYPE THIS instead:
|
|
|
|
.option {
|
|
background: linear-gradient(135deg, #fdbb2d, #e6a923);
|
|
color: #1a2a6c;
|
|
padding: 18px;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
border: 2px solid #1a2a6c;
|
|
transition: all 0.3s ease;
|
|
font-size: 1.1rem;
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.option:hover {
|
|
background: linear-gradient(135deg, #e6a923, #fdbb2d);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.option:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
Save and push:
|
|
git add static/style.css
|
|
git commit -m "feat: enhanced question and option styling"
|
|
git push origin artyom-graphics-work
|
|
|
|
📋 LESSON 5-6: LIFELINES & FINAL TOUCHES
|
|
|
|
Step 6: Style Lifelines and Game Over Screen (40 minutes)
|
|
Find the lifelines section.
|
|
|
|
DELETE these lines:
|
|
|
|
.lifelines {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.lifeline-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.lifeline-btn {
|
|
background: #1a2a6c;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
TYPE THIS instead:
|
|
|
|
.lifelines {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
border: 1px solid rgba(253, 187, 45, 0.3);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.lifelines h3 {
|
|
color: #fdbb2d;
|
|
text-align: center;
|
|
margin-bottom: 15px;
|
|
font-size: 1.3rem;
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.lifeline-buttons {
|
|
display: flex;
|
|
gap: 15px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.lifeline-btn {
|
|
background: linear-gradient(135deg, #1a2a6c, #2a3a8c);
|
|
color: white;
|
|
border: none;
|
|
padding: 12px 20px;
|
|
border-radius: 25px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: all 0.3s ease;
|
|
border: 2px solid #fdbb2d;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.lifeline-btn:hover:not(:disabled) {
|
|
background: linear-gradient(135deg, #2a3a8c, #1a2a6c);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.lifeline-btn:disabled {
|
|
background: #666;
|
|
cursor: not-allowed;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.lifeline-result {
|
|
background: rgba(253, 187, 45, 0.2);
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
margin-top: 15px;
|
|
text-align: center;
|
|
border: 1px solid #fdbb2d;
|
|
font-style: italic;
|
|
}
|
|
|
|
Step 7: Make Game Over Screen Epic (20 minutes)
|
|
Find the game-over-screen section.
|
|
|
|
DELETE these lines:
|
|
|
|
.game-over-screen {
|
|
text-align: center;
|
|
padding: 30px;
|
|
}
|
|
|
|
TYPE THIS instead:
|
|
|
|
.game-over-screen {
|
|
text-align: center;
|
|
padding: 40px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 20px;
|
|
border: 3px solid #fdbb2d;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
|
|
backdrop-filter: blur(10px);
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.game-over-screen h2 {
|
|
font-size: 3rem;
|
|
margin-bottom: 20px;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.game-over-screen p {
|
|
font-size: 1.3rem;
|
|
margin-bottom: 25px;
|
|
color: #fdbb2d;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.game-over-screen button {
|
|
background: linear-gradient(135deg, #1a2a6c, #b21f1f);
|
|
color: white;
|
|
border: none;
|
|
padding: 15px 30px;
|
|
border-radius: 25px;
|
|
font-size: 1.2rem;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border: 2px solid #fdbb2d;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.game-over-screen button:hover {
|
|
background: linear-gradient(135deg, #b21f1f, #1a2a6c);
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
Final push:
|
|
git add static/style.css
|
|
git commit -m "feat: completed Russian-themed visual design"
|
|
git push origin artyom-graphics-work
|
|
|
|
✅ ARTYOM'S COMPLETION CHECKLIST
|
|
☐ Russian flag colors used throughout (white, blue, red, gold)
|
|
☐ Gradient backgrounds look professional
|
|
☐ Buttons have hover effects and animations
|
|
☐ Game elements have shadows and borders
|
|
☐ Text is readable with good contrast
|
|
☐ Game over screen looks exciting
|
|
☐ All code pushed to your branch
|
|
☐ Created Pull Request for teacher to review
|
|
|
|
🎉 Congratulations Artyom! You made the game look amazing! |