mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 22:23:02 +02:00
- Move puzzle_solver/, poker_modifier_app/, articles/, tests/ into python_pkg/ - Move moviepy_showcase.py and _moviepy_*.py into python_pkg/moviepy_showcase/ - Update all imports to use python_pkg. prefix - Update pyproject.toml per-file-ignores and pytest testpaths - Add pre-commit hook to enforce Python files under python_pkg/
235 lines
4.3 KiB
CSS
235 lines
4.3 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background: linear-gradient(135deg, #0f4c3a, #1a6b4d);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #fff;
|
|
}
|
|
|
|
.container {
|
|
max-width: 600px;
|
|
width: 90%;
|
|
padding: 2rem;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
font-size: 2.5rem;
|
|
margin-bottom: 2rem;
|
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.game-area {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 15px;
|
|
padding: 2rem;
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.probability-settings {
|
|
margin-bottom: 2rem;
|
|
padding: 1rem;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.probability-settings h3 {
|
|
margin-bottom: 1rem;
|
|
color: #ffd700;
|
|
text-align: center;
|
|
}
|
|
|
|
.setting {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.setting label {
|
|
font-weight: bold;
|
|
min-width: 150px;
|
|
}
|
|
|
|
#modifierChance {
|
|
flex: 1;
|
|
min-width: 150px;
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 5px;
|
|
outline: none;
|
|
appearance: none;
|
|
}
|
|
|
|
#modifierChance::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #ffd700;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
#modifierChance::-moz-range-thumb {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #ffd700;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
border: none;
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
#chanceValue {
|
|
font-weight: bold;
|
|
color: #ffd700;
|
|
min-width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.result-area {
|
|
margin: 2rem 0;
|
|
min-height: 120px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.result-display {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 10px;
|
|
border: 2px solid rgba(255, 255, 255, 0.1);
|
|
min-height: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.result-display.no-modifier {
|
|
border-color: rgba(128, 128, 128, 0.5);
|
|
background: rgba(128, 128, 128, 0.1);
|
|
}
|
|
|
|
.result-display.has-modifier {
|
|
border-color: #ffd700;
|
|
background: rgba(255, 215, 0, 0.1);
|
|
box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
|
|
}
|
|
|
|
.modifier-title {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #ffd700;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.modifier-description {
|
|
font-size: 1rem;
|
|
line-height: 1.4;
|
|
color: #fff;
|
|
}
|
|
|
|
.no-modifier-text {
|
|
font-size: 1.2rem;
|
|
color: #ccc;
|
|
}
|
|
|
|
.start-button {
|
|
width: 100%;
|
|
padding: 1rem 2rem;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
background: linear-gradient(45deg, #ffd700, #ffed4e);
|
|
color: #0f4c3a;
|
|
border: none;
|
|
border-radius: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.start-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
|
|
background: linear-gradient(45deg, #ffed4e, #ffd700);
|
|
}
|
|
|
|
.start-button:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
|
|
}
|
|
|
|
.stats {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.stat {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 1rem;
|
|
border-radius: 8px;
|
|
text-align: center;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.stat-label {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
color: #ccc;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.stat span:last-child {
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
color: #ffd700;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.container {
|
|
padding: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.game-area {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.setting {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.setting label {
|
|
min-width: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.stats {
|
|
flex-direction: column;
|
|
}
|
|
}
|