Files
RTA-test/style.css

55 lines
1.2 KiB
CSS
Raw Normal View History

2025-01-25 21:25:36 +01:00
body {
font-family: sans-serif;
margin: 20px;
2025-01-25 21:28:13 +01:00
background-color: #f0f0f0;
2025-01-25 21:30:13 +01:00
background-image: linear-gradient(to bottom right, #f0f0f0, #e0e0e0); /* Subtle background gradient */
2025-01-25 21:28:13 +01:00
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
2025-01-25 21:30:13 +01:00
/* Add a subtle highlight */
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:30:13 +01:00
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
2025-01-25 21:28:13 +01:00
}
h2 {
color: #007bff;
margin-top: 40px;
2025-01-25 21:30:13 +01:00
border-bottom: 2px solid #007bff; /* Add a colored border */
padding-bottom: 5px;
}
/* Add a gradient to the headings */
h1, h2 {
background-image: linear-gradient(to right, #fff, #f0f0f0);
background-clip: text;
-webkit-background-clip: text; /* For Safari */
color: transparent;
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
}