Spaces:
Sleeping
Sleeping
File size: 3,875 Bytes
fda4324 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | /* GLOBAL STYLES */
body {
margin: 0;
font-family: 'Nunito', sans-serif; /* Rounded font */
background-color: #f9f9f9;
height: 100vh;
overflow: hidden; /* Prevents scrolling */
}
.hidden {
display: none !important;
}
/* TOP MENU */
#top-menu {
height: 60px;
background-color: white;
display: flex;
align-items: center;
justify-content: center; /* Center buttons horizontally */
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
.menu-btn {
background: none;
border: none;
font-family: 'Nunito', sans-serif;
font-size: 16px;
color: #333;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.2s;
}
.menu-btn:hover {
background-color: #f0f0f0;
border-radius: 4px;
}
.separator {
width: 1px;
height: 20px;
background-color: #555; /* Dark gray separator */
margin: 0 5px;
}
/* PAGE CONTAINER */
.page {
height: 100vh;
padding-top: 60px; /* Space for fixed menu */
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: center;
}
/* PAGE A SPECIFIC */
#page-a {
justify-content: center; /* Center vertically */
margin-top: -40px; /* Slight offset to look optical centered */
}
#page-a h1 {
font-size: 80px;
margin: 0 0 10px 0;
color: #000;
}
#page-a p {
color: #666;
font-size: 20px;
margin-bottom: 40px;
}
.btn-main {
background-color: #007BFF; /* Blue */
color: white;
border: none;
padding: 15px 50px;
font-size: 20px;
font-family: 'Nunito', sans-serif;
border-radius: 30px; /* Fully rounded corners */
cursor: pointer;
transition: transform 0.2s ease;
}
.btn-main:hover {
transform: scale(1.1); /* Zoom effect */
}
/* PAGE B SPECIFIC */
#page-b {
justify-content: space-evenly; /* Distribute vertical space */
padding-bottom: 20px;
}
/* 1. Display Area */
#display-area {
width: 60%;
height: 50%; /* Takes up half the page height */
border: 2px solid #ddd;
border-radius: 12px;
background-color: #fff;
display: flex;
align-items: center;
justify-content: center;
color: #555;
font-size: 24px;
position: relative;
}
/* 2. Timeline Area */
#timeline-area {
width: 60%;
height: 80px;
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-end;
}
.timeline-label {
position: absolute;
top: 0;
left: 0;
color: #888;
font-size: 14px;
}
#timeline-line {
width: 100%;
height: 2px;
background-color: #87CEEB; /* Light blue */
}
/* 3. Control Panel */
#control-panel {
display: flex;
gap: 20px;
width: 60%;
justify-content: space-between;
}
.action-btn {
flex: 1; /* Evenly distributed width */
padding: 12px 0;
border: none;
border-radius: 12px;
font-size: 16px;
font-family: 'Nunito', sans-serif;
font-weight: 700;
cursor: pointer;
color: white;
transition: opacity 0.2s;
}
.action-btn:hover {
opacity: 0.9;
}
.action-btn.green { background-color: #28a745; }
.action-btn.yellow { background-color: #ffc107; color: #333; }
.action-btn.blue { background-color: #17a2b8; }
.action-btn.red { background-color: #dc3545; }
/* 4. Frame Control */
#frame-control {
display: flex;
align-items: center;
gap: 15px;
color: #333;
font-weight: bold;
}
#frame-slider {
width: 200px;
cursor: pointer;
}
#frame-input {
width: 50px;
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
text-align: center;
font-family: 'Nunito', sans-serif;
} |