Files
RTA-test/style.css

54 lines
1.3 KiB
CSS
Raw Normal View History

2025-01-25 21:25:36 +01:00
body {
font-family: sans-serif;
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 */
2025-01-25 21:28:13 +01:00
}
.container {
max-width: 800px;
padding: 20px;
background-color: #fff;
2025-01-25 21:28:13 +01:00
border-radius: 5px;
2025-01-25 21:30:13 +01:00
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 255, 255, 0.2);
2025-01-25 21:25:36 +01:00
}
h1 {
color: #333;
2025-01-25 21:28:13 +01:00
text-align: center;
margin-bottom: 30px;
2025-01-25 21:32:17 +01:00
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
2025-01-25 21:28:13 +01:00
}
h2 {
color: #007bff;
margin-top: 40px;
2025-01-25 21:32:17 +01:00
border-bottom: 2px solid #007bff;
2025-01-25 21:30:13 +01:00
padding-bottom: 5px;
}
h1, h2 {
2025-01-25 21:37:44 +01:00
background-image: none;
color: #007bff;
2025-01-25 21:25:36 +01:00
}
p {
color: #555;
line-height: 1.6;
2025-01-25 21:28:13 +01:00
text-indent: 20px;
2025-01-25 21:25:36 +01:00
}
a {
color: #007bff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
2025-01-25 21:28:13 +01:00
color: #0056b3;
2025-01-25 21:25:36 +01:00
}