dev1/src/App.css
2024-12-27 19:03:32 +00:00

130 lines
2.4 KiB
CSS

/* src/App.css */
/* Body styling for the entire application */
/* General body and root styling for full-page coverage */
body, #root {
background-color: #f4f7fb; /* Light gray-blue background */
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
min-height: 100vh; /* Full viewport height */
display: flex;
flex-direction: column;
}
/* Main App container for consistent centering */
.container {
max-width: 1200px;
margin: 20px auto;
padding: 20px;
background-color: #ffffff; /* White background for sections */
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Main App styling */
.App {
text-align: center;
}
/* App header styling */
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
/* Animation for the logo */
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* Link styling */
.App-link {
color: #61dafb;
}
/* Button styling for a consistent look */
.button {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
.button:hover {
background-color: #0056b3;
}
/* Headings styling */
h1, h2, h3 {
color: #333;
margin-bottom: 10px;
}
/* Link styling for a clean look */
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* Form input styling for a uniform appearance */
input, select {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
width: 100%; /* Full width within parent container */
margin-top: 5px;
margin-bottom: 15px;
font-size: 16px;
}
/* Section styling, like cards */
.section {
padding: 20px;
margin-bottom: 20px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border: 1px solid #ddd;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.dashboard {
grid-template-columns: 1fr; /* Stack vertically on smaller screens */
}
.riasec-scores, .riasec-descriptions {
padding: 15px;
}
}