Current File : /home/kelaby89/public_html/software/gram-grid-planner/styles.css
:root {
    --grid-item-size: 200px; /* Default size */
    --background-color: #000000; /* Dark mode background color */
    --text-color: #ffffff;
    --button-background: #333333;
    --button-hover-background: #555555;
    --border-color: #444444;
    --selected-border-color: #1e88e5;
    --modal-background: #242424;
    --logo-size: 120px; /* Adjust size to match button width */
}

body.light-mode {
    --background-color: #ffffff;
    --text-color: #000000;
    --button-background: #f0f0f0;
    --button-hover-background: #cccccc;
    --border-color: #cccccc;
    --selected-border-color: #1e88e5;
    --modal-background: #ffffff;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content */
    width: 100%;
    padding: 20px;
    background-color: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.app-logo {
    position: absolute; /* Position logo absolutely */
    top: 20px; /* Add some space from the top */
    left: 20px; /* Align logo to the left */
    width: var(--logo-size);
    height: var(--logo-size);
}

h1 {
    margin: 0;
    flex-grow: 1;
    text-align: center; /* Center the heading */
}

#appContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px; /* Adjust for header height */
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensure 3 columns */
    gap: 10px; /* Space between items */
    width: 100%;
    max-width: 1200px;
}

.grid-item {
    position: relative;
    width: var(--grid-item-size);
    height: var(--grid-item-size); /* Maintain square aspect ratio */
    border: 2px solid transparent;
    transition: border 0.2s, transform 0.2s;
    overflow: hidden;
}

.grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: move;
}

.grid-item.selected {
    border: 2px solid var(--selected-border-color);
    transform: scale(1.05);
}

.draggable {
    opacity: 0.5;
}

.button-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#imageCounter {
    margin-bottom: 10px;
    text-align: center;
}

#imageCount {
    font-size: 2em;
    font-weight: bold;
}

.button-container input[type="file"] {
    display: none;
}

.button-container label,
.button-container button {
    width: var(--logo-size); /* Ensure buttons match logo width */
    height: 40px;
    margin: 10px 0;
    background-color: var(--button-background);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center; /* Center text in label */
    line-height: 40px; /* Center text vertically */
}

.button-container button:hover,
.button-container label:hover {
    background-color: var(--button-hover-background);
}

#gridSizeSlider {
    width: var(--logo-size); /* Ensure slider matches button width */
    margin-bottom: 20px;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: var(--modal-background);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    color: var(--text-color);
    width: 80%;
    max-width: 500px;
    text-align: left;
}

.modal.active {
    display: block;
}

.modal h2 {
    margin-top: 0;
}

.modal button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--button-background);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal button:hover {
    background-color: var(--button-hover-background);
}
Page not found – Hello World !