mirror of
https://github.com/pabloquablo/RTA-test.git
synced 2026-03-06 03:06:35 +01:00
refactor body styles in style.css for improved layout and visual consistency
This commit is contained in:
14
style.css
14
style.css
@@ -1,15 +1,19 @@
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
margin: 20px;
|
||||
background-color: #f0f0f0;
|
||||
background-image: linear-gradient(to bottom right,#8a09e0, #9909e0, #a809e0, #b709e0, #c709e0, #d609e0, #e509e0, #f409e0, #ff09e0);
|
||||
margin: 0; /* Remove default top and bottom margins */
|
||||
padding: 0; /* Remove default top and bottom padding */
|
||||
height: 100vh; /* Set body height to 100% of viewport height */
|
||||
display: flex; /* Use flexbox for better layout control */
|
||||
justify-content: center; /* Center the content horizontally */
|
||||
align-items: center; /* Center the content vertically */
|
||||
background-image: linear-gradient(to bottom right, #8a09e0, #9909e0, #a809e0, #b709e0, #c709e0, #d609e0, #e509e0, #f409e0, #ff09e0);
|
||||
background-size: cover; /* Cover the entire viewport with the gradient */
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #f8f8f8;
|
||||
background-color: #fff;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user