FumbleAround/styles.css

122 lines
No EOL
2.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
font-family: Arial, sans-serif;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
background-color: #ffffff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
z-index: 1000;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #ff4500;
transition: color 0.3s ease;
}
#fumbleButton {
padding: 10px 25px;
background-color: #ff4500;
color: white;
border: none;
border-radius: 25px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
transition: transform 0.2s ease, background-color 0.3s ease;
}
#fumbleButton:hover {
background-color: #ff5722;
transform: scale(1.05);
}
#fumbleButton:active {
transform: scale(0.95);
}
main {
flex: 1;
position: relative;
}
#contentFrame {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.header-buttons {
display: flex;
gap: 1rem;
align-items: center;
}
#darkModeToggle {
padding: 8px;
background-color: transparent;
border: none;
font-size: 20px;
cursor: pointer;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: transform 0.2s;
}
#darkModeToggle:hover {
transform: scale(1.1);
}
/* Dark mode styles - simplified to only affect header */
.dark-mode header {
background-color: #1a1a1a;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.dark-mode .logo {
color: #ff6b4a;
}
.dark-mode #fumbleButton {
background-color: #ff6b4a;
}
.dark-mode #fumbleButton:hover {
background-color: #ff7c5c;
}
/* Remove these styles */
body {
display: flex;
flex-direction: column;
height: 100vh;
font-family: Arial, sans-serif;
/* Remove transition since we're not changing body background */
}
/* Remove the general dark mode style that was affecting the whole body */
.dark-mode {
/* Remove these styles */
/* background-color: #1a1a1a; */
/* color: #ffffff; */
}