pubg/includes/styles.css
2023-09-21 16:38:58 +02:00

143 lines
3.1 KiB
CSS

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
/* Reset some default styles */
body, h1, h2, p, ul, li, a {
margin: 0;
padding: 0;
text-decoration: none;
}
body {
font-family: 'Roboto', sans-serif;
background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
color: white;
}
nav {
background: linear-gradient(to right, #FF416C, #FF4B2B); /* Gradient Background */
box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1); /* Slight Shadow for Depth */
padding: 10px 0; /* Vertical Padding */
}
nav ul {
list-style-type: none;
padding: 0;
text-align: center; /* Center the navigation items */
}
nav li {
display: inline-block;
margin: 0 15px; /* Spacing between items */
}
nav a {
color: white;
padding: 10px 20px;
border-radius: 25px; /* Rounded Edges */
transition: background-color 0.3s, transform 0.3s; /* Smooth Transition for Hover Effect */
font-weight: 600; /* Slightly Bold */
font-size: 16px; /* Adjust as needed */
}
nav a:hover {
background: rgba(255, 255, 255, 0.1); /* Slight White Background on Hover */
transform: translateY(-2px); /* Slight Lift on Hover */
}
nav a:active {
transform: translateY(1px); /* Slight Pressed-In effect on Click */
}
header, main, footer {
max-width: 800px;
margin: 20px auto;
padding: 20px;
border: 1px solid white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
header h1, section h2 {
border-bottom: 1px solid white;
margin-bottom: 10px;
padding-bottom: 5px;
}
footer {
text-align: center;
}
@media (max-width: 600px) {
nav li {
display: block;
margin-right: 0;
}
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
table, th, td {
border: 1px solid white;
border-radius: 5px;
}
th, td {
padding: 10px;
text-align: left;
}
th {
background-color: #555;
}
tr:hover {
background-color: #444;
}
.discord-logo {
width: 50px;
height: auto;
margin-top: 10px;
cursor: pointer;
transition: opacity 0.3s, transform 0.3s;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
.discord-logo:hover {
transform: scale(1.05);
opacity: 0.8;
}
/* Fancy Button Styles */
.btn {
display: inline-block;
font-size: 16px;
padding: 12px 20px;
border: none;
border-radius: 25px; /* Rounded Edges */
background: linear-gradient(to right, #FF416C, #FF4B2B); /* Gradient Background */
color: white;
cursor: pointer;
transition: transform 0.3s, box-shadow 0.3s; /* Smooth Transition for Hover Effect */
text-align: center;
text-decoration: none; /* In case you use it on anchor tags */
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1); /* Slight Shadow */
margin: 10px 0; /* Some Margin for Space */
}
.btn:hover {
transform: translateY(-3px); /* Slight Lift on Hover */
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); /* Increased Shadow on Hover */
}
.btn:active {
transform: translateY(1px); /* Slight Pressed-In effect on Click */
}