Update and rename index.css to styles.css

This commit is contained in:
TheYmirsCla 2024-10-31 00:15:29 -04:00 committed by GitHub
parent ce52180a79
commit aa316a2b0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 265 additions and 233 deletions

View File

@ -1,233 +0,0 @@
body {
font-family: 'Arial', sans-serif;
background-color: #f1f1f1;
margin: 0;
padding: 0;
text-align: center;
display: flex;
flex-direction: column;
min-height: 100vh;
overflow-x: hidden;
}
.Container18{
display: flex;
width: 1%;
flex-wrap:wrap;
justify-content: center;
margin: 0 auto;
}
.Container15{
display: flex;
width: 1%;
flex-wrap:wrap;
justify-content:center;
margin: 0 auto;
}
.ContainerOther{
display: flex;
width: 1%;
flex-wrap:wrap;
justify-content:center;
margin: 0 auto;
}
h1 {
color: #000000;
}
h2 {
color: #000000;
}
p {
color: #000000;
}
button {
background-color: #4caf50;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
margin: 10px auto;
text-decoration: none;
display: inline-block;
max-width: 200px;
transition: transform 0.5s ease;
}
.source-btn {
background-color: #333333;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
margin: 10px auto;
text-decoration: none;
display: inline-block;
max-width: 200px;
transition: transform 0.5s ease;
}
.dsc-btn {
background-color: #9656ce;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
margin: 10px auto;
text-decoration: none;
display: inline-block;
max-width: 200px;
transition: transform 0.5s ease;
}
.clr-btn {
background-color: #ff3c00;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
margin: 10px auto;
text-decoration: none;
display: inline-block;
max-width: 200px;
transition: transform 0.5s ease;
}
button:hover {
background-color: #45a049;
transform: scale(1.1);
}
.source-btn:hover {
background-color: #000000;
transform: scale(1.1);
}
.dsc-btn:hover {
background-color: #a751f2;
transform: scale(1.1);
}
.clr-btn:hover {
transform: scale(1.1);
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.filter-button > button {
min-width: 200px;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown-btn:hover .dropdown-content {
display: block;
}
.pick-client {
color: #000000;
}
.line {
width: 50%;
border-top: 1px solid #888;
margin: 10px auto;
}
.version-text {
margin: 10px 0;
color: #000000;
}
.version-link {
display: block ruby;
}
.footer {
margin-top: auto;
background-color: #ddd;
padding: 20px;
width: 100%;
}
.footer a {
text-decoration: none;
color: #0d5152;
font-size: inherit;
font-weight: inherit;
}
.footer a:hover {
text-decoration: underline;
}
.recommended {
vertical-align: middle;
margin-left: 5px;
width: 20px;
height: 20px;
}
.title {
font-family: "Poppins", sans-serif;
font-weight: 500;
font-style: normal;
}
.clicker {
background-color: #5e5e5e;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
margin: 10px auto;
text-decoration: none;
display: inline-block;
max-width: 200px;
transition: transform 0.5s ease;
text-align: center;
}
.clicker.hidden {
display: none;
}
.hiddendiv {
height: 0px;
background-color: green;
overflow: hidden;
transition: height 0.5s;
}
.hiddendiv.nr2 {
background-color: red;
}
#showdiv1:target ~ div a[href="#showdiv1"],
#showdiv2:target ~ div a[href="#showdiv2"] {
display: none;
}
#showdiv1:target ~ div a[href="#hidediv1"],
#showdiv2:target ~ div a[href="#hidediv2"] {
display: inline-block;
}
#showdiv1:target ~ div .hiddendiv.nr1,
#showdiv2:target ~ div .hiddendiv.nr2 {
height: 130px;
}

265
css/styles.css Normal file
View File

@ -0,0 +1,265 @@
/* General Styles */
body {
font-family: 'Arial', sans-serif;
background-color: #f1f1f1;
margin: 0;
padding: 0;
text-align: center;
display: flex;
flex-direction: column;
min-height: 100vh;
overflow-x: hidden;
color: #333;
transition: background-color 0.3s ease, color 0.3s ease;
}
body.dark-mode {
background-color: #141414;
color: #f1f1f1;
}
header {
background-color: #4caf50;
color: white;
padding: 20px 0;
text-align: center;
}
header h1 {
margin: 0;
}
main {
flex: 1;
padding: 20px;
}
.counter, .info, .clients, .danger-zone {
margin-bottom: 20px;
}
.Container18, .Container15, .ContainerOther {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
margin: 20px 0;
}
button, .source-btn, .dsc-btn, .clr-btn {
background-color: #4caf50;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s ease, transform 0.3s ease;
}
button:hover, .source-btn:hover, .dsc-btn:hover, .clr-btn:hover {
background-color: #45a049;
transform: scale(1.05);
}
.source-btn {
background-color: #000; /* Black color for GitHub button */
}
.dsc-btn {
background-color: #9656ce;
}
.clr-btn {
background-color: #ff3c00;
}
.search-container {
margin: 20px 0;
}
#search-bar {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
width: 50%;
max-width: 400px;
transition: border-color 0.3s ease;
}
#search-bar:focus {
border-color: #4caf50;
outline: none;
}
.footer {
background-color: #444; /* Dark gray color for footer */
color: white; /* Light text color for footer */
padding: 20px;
text-align: center;
margin-top: auto;
}
.footer a {
color: white; /* Light text color for footer links */
text-decoration: none;
margin: 0 10px;
}
.footer a:hover {
text-decoration: underline;
}
.footer button {
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.footer button.server-list {
background-color: #000; /* Black color for Server List button */
}
.footer button.server-list:hover {
background-color: #333; /* Slightly lighter shade for hover effect */
transform: scale(1.05);
}
.footer button.eaglerrinth-mod-list {
background-color: #9656ce; /* Same color as Discord link button */
}
.footer button.eaglerrinth-mod-list:hover {
background-color: #a751f2; /* Slightly lighter shade for hover effect */
transform: scale(1.05);
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
}
.modal-content {
background-color: white;
padding: 20px;
border-radius: 10px;
width: 80%;
max-width: 400px;
text-align: center;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease, color 0.3s ease;
}
.modal h2 {
color: #333;
}
.modal p {
color: #555;
margin-bottom: 20px;
}
.modal button {
background-color: #4caf50;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border: none;
border-radius: 5px;
margin: 5px;
}
.modal button.cancel-btn {
background-color: #f44336;
}
.modal button:hover {
background-color: #45a049;
}
.modal button.cancel-btn:hover {
background-color: #e53935;
}
.copy-link {
background-color: #f4f4f4;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
margin-bottom: 15px;
}
.copy-btn {
background-color: #9656ce;
}
.copy-btn:hover {
background-color: #5b209a;
}
/* Dark Mode Styles */
body.dark-mode .modal-content {
background-color: #333;
color: #f1f1f1;
}
body.dark-mode .modal h2 {
color: #f1f1f1;
}
body.dark-mode .modal p {
color: #ccc;
}
body.dark-mode #search-bar {
background-color: #444;
color: #f1f1f1;
border-color: #555;
}
body.dark-mode #search-bar:focus {
border-color: #4caf50;
}
body.dark-mode .footer {
background-color: #444; /* Dark gray color for footer in dark mode */
color: white; /* Light text color for footer in dark mode */
}
body.dark-mode .footer a {
color: white; /* Light text color for footer links in dark mode */
}
body.dark-mode .footer button.server-list {
background-color: #000; /* Black color for Server List button in dark mode */
}
body.dark-mode .footer button.server-list:hover {
background-color: #333; /* Slightly lighter shade for hover effect in dark mode */
}
body.dark-mode .footer button.eaglerrinth-mod-list {
background-color: #9656ce; /* Same color as Discord link button in dark mode */
}
body.dark-mode .footer button.eaglerrinth-mod-list:hover {
background-color: #a751f2; /* Slightly lighter shade for hover effect in dark mode */
}