:root { --bg-color: #121212; --card-bg: #1e1e1e; --text-color: #ffffff; --text-secondary: #8b8b8b; --accent-blue: #90caf9; --accent-red: #ff8a80; --accent-green: #69f0ae; --border-color: #2d2d2d; } /* Styles for the clocks container and individual clock boxes */ #clocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Auto-fit for responsiveness, min 150px width for each box */ gap: 10px; /* Small gap between boxes */ margin-top: 10px; /* Add some space after the h2 header */ } .clock-box { background-color: var(--card-bg); /* Use the same card background for consistency */ border: 1px solid var(--border-color); /* Subtle border */ border-radius: 5px; /* Rounded corners for a softer look */ padding: 10px; /* Padding for better spacing inside the box */ text-align: center; /* Center the text for a cleaner appearance */ font-size: 0.85em; /* Slightly increased font size for better readability while keeping minimalism */ color: var(--text-color); /* Use main text color */ transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth hover transition for interactivity */ } .clock-box:hover { transform: translateY(-2px); /* Slight lift on hover */ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for subtle depth and prettiness */ } .clock-name { font-weight: bold; /* Make the location name stand out */ color: var(--accent-blue); /* Subtle accent color for visual appeal */ margin-bottom: 5px; /* Small space between name and time */ font-size: 1.2em; } .clock-time { font-family: monospace; /* Use monospace font for a digital clock-like appearance, adding a creative touch */ font-size: 1.2em; /* Slightly larger font for the time to emphasize it, while remaining minimal */ color: var(--text-secondary); /* Use secondary color for subtlety */ } .clean-link { text-decoration: none; color: inherit; margin: 0; padding: 0; border: none; display: inline-block; background-color: transparent; } .tweet-links { margin-top: 0.5rem; /* Add some spacing between the content and the links */ font-size: 0.75em; /* Adjust font size as needed */ color: var(--text-secondary); /* Use a secondary text color for the links */ } .tweet-links a { display: inline-block; /* Changed from block to inline-block */ margin-bottom: 0.25em; /* Add a little space between each link */ word-break: break-all; /* Add word break */ text-decoration: none; border: none; background-color: transparent; color: inherit; } body { font-family: 'Segoe UI', Arial, sans-serif; background-color: var(--bg-color); color: var(--text-color); margin: 0; padding: 20px; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; } .header { text-align: center; padding: 1rem; } .header-separator { border: none; height: 1px; background-color: rgba(255, 255, 255, 0.1); margin: 1rem auto; width: 90%; } .info-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 2rem; } .info-box { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; font-size: 0.9em; border: 1px solid var(--border-color); } .main-column { background: var(--card-bg); border-radius: 8px; padding: 2rem; border: 1px solid var(--border-color); } .tweet-list { list-style: none; padding: 0; margin: 0; max-height: 80vh; overflow-y: auto; } .tweet { background: var(--card-bg); padding: 1.5rem; margin-bottom: 1rem; border-radius: 8px; animation: slideIn 0.3s ease-out; border-left: 4px solid var(--accent-blue); transition: transform 0.2s ease; border: 1px solid var(--border-color); } .tweet-header { display: flex; align-items: center; margin-bottom: 0.5rem; gap: 10px; } .profile-pic { /* vertical-align: middle; */ width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); } .tweet-user-info { flex-grow: 1; } .tweet-screen-name { font-weight: 600; color: var(--text-color); } .tweet-handle { color: var(--text-secondary); font-size: 0.9em; } .tweet-time { color: var(--text-secondary); font-size: 0.8em; } .tweet-content { margin: 0.5rem 0; color: var(--text-color); } .tweet-media-container { display: flex; gap: 10px; margin-top: 1rem; border-radius: 8px; } .tweet-media { flex: 0 0 auto; border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.2s; background: #000; } .tweet-media:hover { transform: scale(1.03); } .tweet-media video { height: 128px; width: 128px; object-fit: cover; pointer-events: none; } .tweet-media img { height: 128px; width: 128px; object-fit: cover; } .play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2em; color: rgba(255, 255, 255, 0.9); opacity: 0.8; transition: opacity 0.2s; pointer-events: none; } .play-button:hover { opacity: 1; } .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); justify-content: center; align-items: center; } .modal-content { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 8px; } .modal-close { position: absolute; top: 20px; right: 35px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; opacity: 0.8; } .modal-close:hover { opacity: 1; } @keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Category colors */ .tweet[data-category="economic"] { border-left-color: var(--accent-green); } .tweet[data-category="conflict"] { border-left-color: var(--accent-red); } .quoted-tweet-container { margin-top: 10px; padding: 10px; border: 1px solid var(--border-color); border-radius: 5px; background-color: var(--bg-color); /* A slightly darker shade */ } .quoted-tweet .tweet-header { display: flex; align-items: center; margin-bottom: 0.5rem; gap: 10px; } .quoted-tweet .profile-pic { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-color); } .quoted-tweet .tweet-user-info { flex-grow: 1; } .quoted-tweet .tweet-screen-name { font-weight: 600; color: var(--text-color); } .quoted-tweet .tweet-handle { color: var(--text-secondary); font-size: 0.9em; } .quoted-tweet .tweet-time { color: var(--text-secondary); font-size: 0.8em; } .quoted-tweet .tweet-content { margin: 0.5rem 0; color: var(--text-color); } .quoted-tweet .tweet-media-container { display: flex; gap: 10px; margin-top: 1rem; border-radius: 8px; } .quoted-tweet .tweet-media { flex: 0 0 auto; border-radius: 8px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.2s; background: #000; } .quoted-tweet .tweet-media:hover { transform: scale(1.03); } .quoted-tweet .tweet-media video { height: 64px; width: 64px; object-fit: cover; pointer-events: none; } .quoted-tweet .tweet-media img { height: 64px; width: 64px; object-fit: cover; } .quoted-tweet .play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2em; color: rgba(255, 255, 255, 0.9); opacity: 0.8; transition: opacity 0.2s; pointer-events: none; } .quoted-tweet .play-button:hover { opacity: 1; } .additional-info { display: flex; margin-bottom: 1em; align-items: center; gap: 10px; } .additional-info-name { color: var(--text-secondary); font-size: 0.8em; } .additional-info-profile-pic { display: inline-block; vertical-align: middle; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-color); } #category-filter { margin-bottom: 1rem; padding: 0.5rem; border-radius: 4px; border: 1px solid var(--border-color); background-color: var(--card-bg); color: var(--text-color); font-size: 0.9em; cursor: pointer; } #category-filter:hover { border-color: var(--accent-blue); }