TCTF / styles.css
mvaloatto's picture
Upload styles.css
ec7b94a verified
* {
box-sizing: border-box;
}
body {
background: linear-gradient(to bottom, #080b12 0%, #111827 150px, #111827 100%);
background-attachment: fixed;
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: 40px;
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: #586073;
font-weight: 200;
margin-bottom: 30px;
margin-top: 8px;
text-align: left;
}
h4 {
font-size: 15px;
color: #FFFFFF;
font-weight: 200;
text-align: left;
}
h5 {
font-size: 16px;
color: #FFFFFF;
font-weight: bold;
text-align: left;
margin-bottom: 5px;
margin-top: 15px;
}
.up {
font-size: smaller; /* Reduce font size for superscript */
color: #228722;
margin-right: 0px;
}
.down {
font-size: smaller; /* Reduce font size for superscript */
color: #585f70;
margin-right: 0px;
}
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: 200;
}
.small-link {
font-size: 15px;
font-weight: 200;
}
.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;
margin-right: 0px;
}
.button:hover {
background-color: #080b12;
}
table {
float: left;
border-collapse: collapse;
margin: auto;
font-weight: 200;
Overflow-x:scroll;
}
td, th {
border: 0px;
height: 40px;
padding-left: 20px;
padding-right: 20px;
text-align: left;
font-weight: 200;
}
.xcol {
border: 0px;
height: 40px;
padding-left: 20px;
padding-right: 0px;
text-align: left;
font-weight: 200;
}
.gcol {
border: 0px;
height: 40px;
padding-left: 10px;
padding-right: 0px;
text-align: left;
font-weight: 200;
}
.hfcol {
border: 0px;
height: 40px;
padding-left: 10px;
padding-right: 20px;
text-align: left;
font-weight: 200;
}
table.alternate tr:nth-child(even) {
background-color: #111827;
}
table.alternate tr:nth-child(odd) {
background-color: #131b2b;
}
p {
font-size: 16px;
font-weight: 200;
}
main {
padding: 20px 0;
}
section {
padding-left: 20px;
padding-right: 20px;
padding-top: 0px;
padding-bottom: 50px;
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.4);
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-around;
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:hover {
background-color: #080b12;
border-radius: 5px;
}
/* Style for active tab */
.tabs label.active {
background-color: #080b12; /* Active tab background color */
color: #FFD21E;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
/*
.tabs label:before{
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -3;
margin: -10px;
border-radius: 5px;
}
.tabs label:after{
border-radius: 5px;
}
.tabs label:hover {
background-color: #080b12;
border-radius: 5px;
}
.tabs {
background-color: #080b12;
border-radius: 5px;
}
*/
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
/* Custom dropdown styles */
.custom-dropdown {
/* Add your custom styles here */
padding: 4px 0px 4px 0px;
border: 4px solid #080b12;
border-radius: 5px;
background-color: #080b12;
cursor: pointer;
width: 150px;
color: #FFFFFF; /* Text color for the dropdown */
font-size: 16px;
font-weight: bold;
margin-bottom: 0px;
margin-top: 0px;
text-align: left;
}
.hidden {
display: none;
}
/* Style for the circle container */
.circle {
width: 16px; /* Set the width of the circle */
height: 16px; /* Set the height of the circle */
border-radius: 50%; /* Make it a circle */
overflow: hidden; /* Hide overflowing parts */
display: inline-block; /* Display as inline-block */
margin-right: 7px; /* Optional: Add spacing between image and text */
}
/* Style for the image inside the circle */
.circle img {
width: 100%; /* Make the image fill the circle */
height: auto; /* Maintain aspect ratio */
}
/* Style for the text */
.text {
vertical-align: middle; /* Align text vertically */
}