TCTF / styles.css
mvaloatto's picture
Update styles.css
343569d verified
raw
history blame
3.94 kB
* {
box-sizing: border-box;
}
body {
background-color: #111827;
font-family: Arial, sans-serif;
color: white;
font-weight: 200;
}
header, main {
max-width: 960px;
margin: 0 auto;
}
header {
padding: 10px 0;
text-align: center;
}
h1 {
font-size: 48px;
font-weight: bold;
margin-bottom: 16px;
text-align: center;
}
h2 {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
margin-top: 5px;
text-align: left;
}
h3 {
font-size: 14px;
color: #324773;
font-weight: 200;
margin-bottom: 20px;
margin-top: 0px;
text-align: left;
}
a:link {
font-size: 16px;
color: #FFFFFF;
text-decoration-line: none;
}
a:visited {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
.link {
font-weight: 900;
}
.link:hover {
color: ##FFD21E;
}
.link:active {
color: ##FFD21E;
}
.button {
background-color: #0d131f;
border: none;
color: white;
border-radius: 5px;
padding-left: 15px;
padding-right: 15px;
padding-top: 8px;
padding-bottom: 5px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
transition-duration: 0.4s;
}
.button:hover {
background-color: #090d14;
}
table {
float: left;
border-collapse: collapse;
margin: auto;
font-weight: 200;
}
td, th {
border: 0px;
height: 40px;
padding-left: 10px;
padding-right: 10px;
text-align: left;
font-weight: 200;
}
p {
font-size: 16px;
font-weight: 200;
}
main {
padding: 20px 0;
}
section {
padding-left: 20px;
padding-right: 20px;
padding-top: 0px;
padding-bottom: 50px;
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;
}
.notes {
padding: 32px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
background-color: #0d131f;
position: relative;
overflow: hidden;
}
.notes::before,
.notes::after {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -10px;
background-color: #0d131f;
}
.notes::after {
filter: blur(10px);
}
.notes h2 {
font-size: 28px;
font-weight: bold;
margin-bottom: 10px;
}
.notes p {
font-size: 18px;
}
.tabs {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
background-color: #0d131f;
border-radius: 5px;
transition-duration: 0.4s;
}
.tabs input[type="radio"] {
display: none;
}
.tabs label {
padding: 16px;
font-weight: bold;
cursor: pointer;
position: relative;
overflow: hidden;
background-color: #0d131f;
border-radius: 5px;
transition-duration: 0.4s;
}
.tabs label:before{
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -3;
margin: -10px;
background-color: #0d131f;
border-radius: 5px;
}
.tabs label:after{
background-color: #090d14;
border-radius: 5px;
}
.tabs label:hover {
background-color: #090d14;
border-radius: 5px;
}
.tabs label:active {
background-color: #090d14;
border-radius: 5px;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}