forked from localscripts/voxlis.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
90 lines (82 loc) · 6.51 KB
/
styles.css
File metadata and controls
90 lines (82 loc) · 6.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
body { background-color: #000000; color: #fff; padding: 0; margin: 0; width: 100vw; overflow-x: hidden; }
.cards-wrapper { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding: 20px; width: 100%; box-sizing: border-box; }
.card-container { position: relative; background-color: #050505; border: 1px solid #27272A; border-radius: 10px; padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: transform 0.2s ease-in-out; display: flex; flex-direction: column; overflow: hidden; width: 100%; max-width: 450px; min-height: 200px; min-width: 450px; max-height: 600px; box-sizing: border-box; }
.card-container:hover { transform: scale(1.05); }
.card-images { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: row; gap: 10px; }
.card-image { width: 29px; height: 29px; object-fit: contain; }
.card-header { font-size: 22px; font-weight: bold; color: #ffffff; margin-bottom: 15px; text-shadow: none; }
.card-content { display: flex; flex-direction: column; justify-content: center; flex: 1; text-align: left; align-items: flex-start; margin-bottom: 60px; color: #fff; }
.pros { color: #4ADE80; font-weight: normal; margin-bottom: 15px; }
.pros .section-title { color: #4ADE80; }
.pros ul li { color: #ffffff; }
.neutral { color: #FACC15; font-weight: normal; margin-top: 20px; margin-bottom: 15px; }
.neutral .section-title { color: #FACC15; }
.neutral ul li { color: #ffffff; }
.cons { color: #E84848; font-weight: normal; margin-top: 20px; margin-bottom: 15px; }
.cons .section-title { color: #E84848; }
.cons ul li { color: #ffffff; }
.card-footer { display: flex; flex-direction: column; align-items: center; padding: 20px 0; box-sizing: border-box; background-color: #050505; position: relative; }
.card-button { background-color: transparent; color: #E84848; border: 2px solid #E84848; border-radius: 25px; padding: 12px 0; font-size: 16px; cursor: pointer; transition: background-color 0.3s, color 0.3s; width: 100%; max-width: none; text-align: center; box-sizing: border-box; margin-top: 10px; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.card-button:hover { background-color: #E84848; color: #fff; }
.last-updated { color: #B0B0B0; font-size: 14px; margin-top: 5px; font-family: 'Montserrat', sans-serif; }
ul { padding-left: 20px; list-style-position: inside; }
.main-container { display: flex; flex-direction: column; align-items: center; padding: 20px; }
.notification-box { background-color: #050505; border: 1px solid #27272A; color: #fff; border-radius: 10px; padding: 20px; margin-top: 30px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); width: calc(100% - 40px); max-width: 1100px; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
.notification-header { font-size: 1.125rem; font-weight: 600; color: #FACC15; margin: 0 0 10px 0; text-shadow: none; font-family: 'Montserrat', sans-serif; }
.notification-link { color: #E84848; text-decoration: none; font-family: 'Montserrat', sans-serif; }
.notification-link:hover { text-decoration: underline; }
.navbar { background-color: #000; color: #fff; border-bottom: 2px solid #f00; position: fixed; top: 0; left: 0; width: 100%; z-index: 50; padding: 1rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); display: flex; justify-content: space-between; align-items: center; font-family: 'Montserrat', sans-serif; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1rem; width: 100%; }
.navbar .brand { font-size: 1.25rem; font-weight: bold; text-transform: uppercase; color: #fff; text-decoration: none; }
.navbar .brand .highlight { color: #f00; }
.navbar .menu { display: flex; gap: 1rem; }
.navbar .menu .nav-link {
text-decoration: none;
color: #fff;
font-weight: bold;
position: relative;
font-size: 0.875rem;
}
.navbar .menu .nav-link:hover::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: #f00; transform: scaleX(1); transition: transform 0.3s ease; }
.navbar .menu .nav-link::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 2px; background: #f00; transform: scaleX(0); transition: transform 0.3s ease; }
.navbar .mobile-menu { display: none; }
.navbar .mobile-menu-items { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background-color: #000; border-top: 2px solid #f00; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
.navbar .mobile-menu-items.open { display: flex; }
.navbar .menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: #fff; }
.card-footer-buttons { display: flex; justify-content: flex-end; width: 100%; gap: 2px; }
.card-button, .bloxproducts-button {
background-color: transparent;
border-radius: 25px;
padding: 12px 0; /* Ensure both buttons have the same padding */
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s;
text-align: center;
box-sizing: border-box;
text-decoration: none;
font-family: 'Montserrat', sans-serif;
font-weight: 600;
flex: 1;
line-height: 1.5; /* Ensure both buttons have the same line-height */
}
.card-button {
color: #E84848;
border: 2px solid #E84848;
}
.bloxproducts-button {
color: #4ADE80;
border: 2px solid #4ADE80;
}
.bloxproducts-button:hover {
background-color: #4ADE80;
color: #fff;
}
.card-footer-buttons .card-button:not(:last-child) {
border-radius: 25px 0 0 25px;
}
.card-footer-buttons .bloxproducts-button:not(:first-child) {
border-radius: 0 25px 25px 0;
}
@media (max-width: 768px) { .navbar .menu { display: none; } .navbar .mobile-menu-items { display: none; } .navbar .menu-toggle { display: block; } .navbar .mobile-menu-items.open { display: block; } .mobile-menu-items .home-link, .mobile-menu-items .contribute-link { display: none; } .mobile-menu-items .discord-link { display: block; } .card-container { min-width: unset; min-height: unset; max-width: 100%; } }
@media (min-width: 769px) { .cards-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; } .card-container { max-width: 350px; } .cards-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; } }