Skip to content

Commit d60fa73

Browse files
authored
Merge pull request #14 from Servbot91/main
Major Improvement: New Feature, bug fixes, performance enhancements
2 parents 46b948e + 76014eb commit d60fa73

9 files changed

Lines changed: 872 additions & 383 deletions

File tree

plugins/hot_or_not/hot_or_not.css

Lines changed: 61 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -740,68 +740,84 @@
740740
margin-bottom: 20px;
741741
text-align: center;
742742
}
743-
.hon-performer-list {
744-
display: grid;
745-
grid-template-columns: repeat(5, minmax(0, 1fr));
746-
gap: 40px;
743+
#hon-performer-list {
744+
display: grid !important;
745+
grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
746+
gap: 25px !important;
747747
width: 100%;
748-
padding: 12px 6px;
749-
}
750-
.hon-performer-list .hon-selection-card {
751-
transform: scale(1.25);
752-
transform-origin: center center;
753-
}
754-
.hon-performer-list .hon-selection-name {
755-
font-size: 0.95rem;
756-
}
757-
.hon-performer-list .hon-selection-rating {
758-
font-size: 0.85rem;
748+
padding: 20px 6px !important;
759749
}
760750
.hon-selection-card {
761751
background: #252525;
762752
border: 2px solid #444;
763753
border-radius: 10px;
764-
overflow: hidden;
754+
overflow: visible;
765755
cursor: pointer;
766-
transition: all 0.3s ease;
767756
display: flex;
768757
flex-direction: column;
758+
position: relative;
759+
z-index: 1;
760+
transform-origin: center center;
761+
transition:
762+
transform 0.2s ease-out,
763+
border-color 0.2s ease-out,
764+
box-shadow 0.2s ease-out,
765+
z-index 0s ease-out 0s;
769766
}
770767
.hon-selection-card:hover {
768+
transform: scale(1.05) translateY(-8px);
771769
border-color: #0d6efd;
772-
transform: translateY(-5px);
773-
box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
770+
box-shadow: 0 15px 30px rgba(13, 110, 253, 0.4);
771+
animation: none;
772+
z-index: 20;
774773
}
775774
.hon-selection-image-container {
776775
width: 100%;
777776
aspect-ratio: 2/3;
778-
overflow: hidden;
777+
overflow: visible;
779778
background: #333;
780779
display: flex;
781780
align-items: center;
782781
justify-content: center;
782+
position: relative;
783+
border-radius: 8px 8px 0 0;
783784
}
784785
.hon-selection-image {
785786
width: 100%;
786787
height: 100%;
787788
object-fit: cover;
789+
border-radius: 8px 8px 0 0;
790+
transition: transform 0.2s ease-out;
791+
}
792+
.hon-selection-card:hover .hon-selection-image {
793+
transform: none;
788794
}
789795
.hon-selection-image.hon-no-image {
790796
display: flex;
791797
align-items: center;
792798
justify-content: center;
793799
color: #888;
794800
font-size: 0.9rem;
801+
width: 100%;
802+
height: 100%;
795803
}
796804
.hon-selection-info {
797-
padding: 10px;
805+
padding: 12px;
798806
text-align: center;
807+
flex: 1;
808+
display: flex;
809+
flex-direction: column;
810+
justify-content: center;
811+
background: #252525;
812+
border-radius: 0 0 8px 8px;
813+
position: relative;
814+
z-index: 3;
799815
}
800816
.hon-selection-name {
801-
font-size: 0.95rem;
817+
font-size: 1rem;
802818
font-weight: bold;
803819
color: #fff;
804-
margin-bottom: 5px;
820+
margin-bottom: 8px;
805821
white-space: nowrap;
806822
overflow: hidden;
807823
text-overflow: ellipsis;
@@ -810,12 +826,19 @@
810826
font-size: 0.85rem;
811827
color: #888;
812828
}
829+
@media (max-width: 1200px) {
830+
#hon-performer-list {
831+
grid-template-columns: repeat(3, 1fr) !important;
832+
gap: 20px !important;
833+
}
834+
}
813835
@media (max-width: 800px) {
814-
.hon-performer-list {
815-
grid-template-columns: repeat(3, 1fr);
836+
#hon-performer-list {
837+
grid-template-columns: repeat(2, 1fr) !important;
838+
gap: 15px !important;
816839
}
817840
.hon-selection-name {
818-
font-size: 0.85rem;
841+
font-size: 0.9rem;
819842
}
820843
.hon-selection-rating {
821844
font-size: 0.75rem;
@@ -1410,24 +1433,21 @@
14101433
max-width: 900px;
14111434
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
14121435
}
1413-
#hon-performer-list {
1414-
display: grid !important;
1415-
grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
1416-
gap: 40px !important;
1417-
width: 100%;
1418-
padding: 12px 6px;
1419-
}
1420-
#hon-performer-list img {
1421-
width: 100%;
1422-
object-fit: cover;
1423-
}
1424-
#hon-performer-list .hon-selection-card {
1425-
transform: scale(1.25) !important;
1426-
transform-origin: center center !important;
1427-
}
14281436
.quality-group {
14291437
display: flex;
14301438
align-items: center;
14311439
flex-wrap: wrap;
14321440
gap: 8px;
14331441
}
1442+
.hon-keyboard-hints {
1443+
text-align: center;
1444+
display: flex;
1445+
justify-content: center;
1446+
flex-wrap: wrap;
1447+
gap: 15px;
1448+
margin-top: 10px;
1449+
}
1450+
.hon-hint {
1451+
display: inline-block;
1452+
margin: 0 5px;
1453+
}

0 commit comments

Comments
 (0)