Files
RTA-test/style.css
vista-man 0705b143c6 d
2025-01-25 21:45:48 +01:00

54 lines
2.0 KiB
CSS

body {
font-family: sans-serif; /* Use sans-serif font for the body */
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; /* Set maximum width of the container */
padding: 20px; /* Add padding inside the container */
background-color: #fff; /* Set background color to white */
border-radius: 5px; /* Round the corners of the container */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 255, 255, 0.2); /* Add shadow effects */
}
h1 {
color: #333; /* Set text color */
text-align: center; /* Center align the text */
margin-bottom: 30px; /* Add margin below the heading */
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); /* Add subtle text shadow */
}
h2 {
color: #007bff; /* Set text color */
margin-top: 40px; /* Add margin above the heading */
border-bottom: 2px solid #007bff; /* Add bottom border */
padding-bottom: 5px; /* Add padding below the heading */
}
h1, h2 {
background-image: none; /* Remove background image */
color: #007bff; /* Set text color */
}
p {
color: #555; /* Set text color */
line-height: 1.6; /* Set line height */
text-indent: 20px; /* Indent the first line of each paragraph */
}
a {
color: #007bff; /* Set link color */
text-decoration: none; /* Remove underline from links */
}
a:hover {
text-decoration: underline; /* Add underline on hover */
color: #0056b3; /* Change color on hover */
}