dodatki
This commit is contained in:
209
styles/main.css
209
styles/main.css
@@ -333,6 +333,61 @@ nav {
|
||||
margin-right: 23px;
|
||||
}
|
||||
|
||||
.fin-calculator-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.fin-calculator-form .form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.fin-calculator-form label {
|
||||
color: var(--text-color);
|
||||
font-size: 0.92rem;
|
||||
font-weight: 500;
|
||||
|
||||
/* Smooth Theme Transition */
|
||||
transition: color 0.25s ease;
|
||||
}
|
||||
|
||||
.fin-calculator-form .checkbox-group {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.fin-calculator-form .checkbox-group input[type="checkbox"] {
|
||||
cursor: pointer;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.fin-calculator-form .checkbox-group label {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.calculator-result {
|
||||
padding: 15px;
|
||||
border: 1px solid var(--nav-btn-border);
|
||||
border-radius: 4px;
|
||||
background: var(--nav-btn-bg);
|
||||
color: var(--text-color);
|
||||
|
||||
/* Smooth Theme Transition */
|
||||
transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
|
||||
}
|
||||
|
||||
.calculator-result p {
|
||||
margin: 8px 0;
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.page-unordered-list {
|
||||
list-style-type: disc;
|
||||
padding-left: 20px;
|
||||
@@ -382,20 +437,135 @@ nav {
|
||||
|
||||
.modal-content {
|
||||
background: var(--nav-btn-bg);
|
||||
padding: 20px;
|
||||
padding: 28px;
|
||||
border-radius: 8px;
|
||||
width: 90%;
|
||||
max-width: 400px;
|
||||
max-width: 900px;
|
||||
position: relative;
|
||||
color: var(--text-color);
|
||||
transition: background-color 0.25s ease, color 0.25s ease;
|
||||
}
|
||||
|
||||
/* Make images inside modals larger while constraining to viewport */
|
||||
.image-modal-img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-height: 80vh;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.modal-buttons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
margin-top: 20px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.modal-buttons-left {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.game-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.game-intro {
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.game-meta {
|
||||
line-height: 1.4;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.game-definition-box {
|
||||
padding: 18px;
|
||||
border: 1px solid var(--nav-btn-border);
|
||||
border-radius: 8px;
|
||||
background: rgba(127, 127, 127, 0.08);
|
||||
}
|
||||
|
||||
.game-section-label {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.game-definitions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.game-definition-line {
|
||||
padding-left: 16px;
|
||||
border-left: 3px solid var(--nav-btn-primary-bg);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.game-input-row {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.game-guess-input {
|
||||
flex: 1 1 260px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.game-feedback {
|
||||
min-height: 1.4em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.game-feedback.is-success {
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
.game-feedback.is-error {
|
||||
color: #e74c3c;
|
||||
}
|
||||
|
||||
.game-feedback.is-neutral {
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.game-stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.game-stats-grid p {
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--nav-btn-border);
|
||||
border-radius: 8px;
|
||||
background: rgba(127, 127, 127, 0.08);
|
||||
}
|
||||
|
||||
.game-stats-grid strong {
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.game-secret-answer {
|
||||
font-size: 0.95rem;
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
||||
.game-empty-state {
|
||||
font-style: italic;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.modal-buttons .page-btn:hover {
|
||||
@@ -558,4 +728,37 @@ hr {
|
||||
margin-top: 8px;
|
||||
font-size: 0.75rem;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.page-collapse {
|
||||
border: 1px solid var(--nav-btn-border);
|
||||
border-radius: 8px;
|
||||
padding: 12px;
|
||||
padding-top: 18px;
|
||||
background: var(--nav-btn-bg);
|
||||
color: var(--text-color);
|
||||
transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
|
||||
margin: 0 23px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.page-image-gallery {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-top: 12px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.page-gallery-image {
|
||||
width: 100%;
|
||||
max-width: 30%;
|
||||
border-radius: 4px;
|
||||
border: 1px solid var(--nav-btn-border);
|
||||
object-fit: cover;
|
||||
transition: transform 0.25s ease, border-color 0.25s ease;
|
||||
}
|
||||
|
||||
.page-gallery-image:hover {
|
||||
transform: scale(1.05);
|
||||
border-color: var(--nav-btn-hover-border);
|
||||
}
|
||||
Reference in New Issue
Block a user