TCTF / styles.css
mvaloatto's picture
Update styles.css
a593da3 verified
raw
history blame
3.8 kB
* {
box-sizing: border-box;
}
body {
background-color: #111827;
font-family: Arial, sans-serif;
color: white;
}
header, main {
max-width: 960px;
margin: 0 auto;
}
header {
padding: 32px 0;
text-align: center;
}
h1 {
font-size: 48px;
font-weight: bold;
margin-bottom: 16px;
}
p {
font-size: 18px;
}
main {
padding: 32px 0;
}
section {
padding: 32px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #111827;
position: relative;
overflow: hidden;
}
section::before,
section::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -10px;
background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}
section::after {
filter: blur(10px);
}
.leaderboard ul {
list-style: none;
padding: 0;
margin: 0;
}
.leaderboard li {
display: flex;
align-items: center;
border-bottom: 1px solid #ddd;
padding: 16px 0;
}
.leaderboard img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 16px;
}
.leaderboard h3 {
font-size: 24px;
font-weight: bold;
margin-bottom: 4px;
}
.leaderboard p {
font-size: 16px;
margin-bottom: 8px;
}
.leaderboard a {
color: #007bff;
text-decoration: none;
}
.leaderboard a:hover {
text-decoration: underline;
}
.testimonials h2 {
font-size: 28px;
font-weight: bold;
margin-bottom: 24px;
}
.testimonials blockquote {
padding: 24px;
border-radius: 8px;
background-color: #222222;
position: relative;
overflow: hidden;
}
.testimonials blockquote::before,
.testimonials blockquote::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -10px;
background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}
.testimonials blockquote::after {
filter: blur(10px);
}
.testimonials p {
font-size: 18px;
margin-bottom: 8px;
}
.testimonials cite {
font-size: 14px;
font-style: italic;
}
.contact h2 {
font-size: 28px;
font-weight: bold;
margin-bottom: 24px;
}
.contact form {
display: flex;
flex-direction: column;
}
.contact input, .contact textarea {
width: 100%;
padding: 12px;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 16px;
}
.contact input:focus,
.contact textarea:focus {
outline: none;
border-color: #007bff;
}
.contact textarea {
resize: vertical: vertical;
}
.contact button {
background-color: #007bff;
color: white;
border: none;
padding: 12px 24px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease-in-out;
position: relative;
overflow: hidden;
}
.contact button::before,
.contact button::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -10px;
background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}
.contact button::after {
filter: blur(10px);
}
.contact button:hover {
background-color: #0062cc;
}
.tabs {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #ddd;
margin-bottom: 32px;
}
.tabs input[type="radio"] {
display: none;
}
.tabs label {
padding: 16px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.tabs label::before,
.tabs label::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -10px;
background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}
.tabs label::after {
filter: blur(10px);
}
.tabs label:hover {
background-color: #222222;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}