User:Sur/vector.css: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
mNo edit summary
Sur (talk | contribs)
m hero infobox initial
 
(66 intermediate revisions by the same user not shown)
Line 1: Line 1:
.hover-box {
.infobox-hero {
     width: 150px;
     color: #FFEFD7;
    height: 150px;
     background-color: #2F2F2F;
     background-color: #f0f0f0;
    border-radius: 10px;
    text-align: center;
    vertical-align: middle;
    position: relative;
    transition: width 0.3s ease;
}
 
.hover-box:hover {
    width: 200px;
}
 
.hover-box-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    height: 100%;
}
 
.hover-box-icon {
    width: 40px;
    height: 40px;
}
 
.hover-box-label {
    margin-top: 10px;
    font-size: 16px;
     font-weight: bold;
     font-weight: bold;
    font-family: 'PT Serif', 'Palatino', 'Georgia', serif;
    width: 100%;
}
}


.hover-box-hidden {
.infobox-hero th,
     display: none;
.infobox-hero td {
    position: absolute;
     color: #999999;
    top: 0px;
     background-color: #2F2F2F;
    left: 200px;
     padding: 0.5em;
     background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
     padding: 10px;
    transition: width 0.3s ease;
}
 
.hover-box:hover .hover-box-hidden {
    display: block;
}
}


.hover-box-table {
.infobox-hero .title {
     width: 100%;
     font-size: 25px;
     border-collapse: separate; /* Use separate borders to apply radius */
     text-shadow: 0px 0px 4px black;
}
 
.hover-box-table td {
    padding: 10px; /* Add some padding for better appearance */
     text-align: center;
     text-align: center;
     background-color: #f9f9f9; /* Default background color for cells */
     padding: 0.5em;
     border: none; /* Remove default borders */
    display: flex;
     justify-content: space-between;
}
}


.hover-box-table tr:nth-child(even) td {
.infobox-hero .card-image {
     background-color: #e9e9e9; /* Background color for even rows */
    padding: 0;
     background-color: #a79986;
}
}


.hover-box-table th, .hover-box-table td {
.infobox-hero .stat-title {
     border: 1px solid #cccccc;
    font-size: 14px;
     padding: 5px;
     font-style: italic;
     text-shadow: 0px 0px 4px black;
     text-align: center;
     text-align: center;
}
}


.hover-box-table th:first-child, .hover-box-table td:first-child {
.infobox-hero .section-header {
     border-top-left-radius: 10px; /* Round top-left corner */
    background-color: #d5903f;
    font-size: 16px;
    text-shadow: 0px 0px 4px black;
     border-bottom: none;
}
}


.hover-box-table th:last-child, .hover-box-table td:last-child {
.infobox-hero .vitality-header {
     border-top-right-radius: 10px; /* Round top-right corner */
     background-color: #74b01c;
}
     font-size: 16px;
 
.hover-box-table td:first-child {
     border-bottom-left-radius: 10px; /* Round bottom-left corner */
}
}


.hover-box-table td:last-child {
.infobox-hero .hero-stat {
     border-bottom-right-radius: 10px; /* Round bottom-right corner */
    color: #999999;
     background-color: #2F2F2F;
}
}

Latest revision as of 20:23, 20 September 2024

.infobox-hero {
    color: #FFEFD7;
    background-color: #2F2F2F;
    font-weight: bold;
    font-family: 'PT Serif', 'Palatino', 'Georgia', serif;
    width: 100%;
}

.infobox-hero th,
.infobox-hero td {
    color: #999999;
    background-color: #2F2F2F;
    padding: 0.5em;
}

.infobox-hero .title {
    font-size: 25px;
    text-shadow: 0px 0px 4px black;
    text-align: center;
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
}

.infobox-hero .card-image {
    padding: 0;
    background-color: #a79986;
}

.infobox-hero .stat-title {
    font-size: 14px;
    font-style: italic;
    text-shadow: 0px 0px 4px black;
    text-align: center;
}

.infobox-hero .section-header {
    background-color: #d5903f;
    font-size: 16px;
    text-shadow: 0px 0px 4px black;
    border-bottom: none;
}

.infobox-hero .vitality-header {
    background-color: #74b01c;
    font-size: 16px;
}

.infobox-hero .hero-stat {
    color: #999999;
    background-color: #2F2F2F;
}