Release / Build & publish plugin zip (push) Successful in 7s
- .project-github-button renamed to .project-repo-button (added 1px border for proper outline style; the old class is gone so the button was rendering as unstyled <a>). - Suppress inherited stroke on the Tabler SVG <rect> viewport marker — without this it draws a square outline inside the round social-share button. - Move owner avatar inline styles into CSS with object-fit: cover, explicit width/height, and border-radius: 50%; add flex shrink/grow rules for the owner row's three spans so the avatar isn't squashed by the flex layout.
306 lines
5.8 KiB
CSS
306 lines
5.8 KiB
CSS
.project-social-sharing {
|
|
margin-top: 20px;
|
|
display: flex; /* Change to flexbox for horizontal alignment */
|
|
flex-direction: row; /* Align items horizontally */
|
|
align-items: center;
|
|
gap: 10px; /* Add spacing between icons */
|
|
}
|
|
|
|
.project-social-sharing p {
|
|
font-weight: bold;
|
|
margin-right: 15px; /* Add spacing from text to icons */
|
|
}
|
|
|
|
.project-social-sharing a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 1px solid #0073aa;
|
|
border-radius: 50%;
|
|
text-decoration: none;
|
|
transition: background-color 0.3s;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-social-sharing a:hover {
|
|
background-color: #0073aa;
|
|
border-color: #005177;
|
|
}
|
|
|
|
.project-social-sharing svg {
|
|
stroke: #0073aa;
|
|
width: 20px;
|
|
height: 20px;
|
|
transition: stroke 0.3s;
|
|
}
|
|
|
|
/* Tabler-style icons include a viewport <rect> with no fill; without
|
|
`stroke="none"` it inherits the parent's stroke color and renders as
|
|
a square outline inside the round button. Suppress that stroke on
|
|
the rect alone. */
|
|
.project-social-sharing svg rect {
|
|
stroke: none;
|
|
}
|
|
|
|
.project-social-sharing a:hover svg {
|
|
stroke: #ffffff;
|
|
}
|
|
|
|
.project-single-container {
|
|
max-width: 1544px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.project-header .project-banner img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 6px;
|
|
}
|
|
.project-main-content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.project-sidebar {
|
|
flex: 1;
|
|
max-width: 380px;
|
|
padding: 0px;
|
|
}
|
|
|
|
.project-meta p {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.project-owner {
|
|
margin-top: 15px;
|
|
background: #e0e0e0;
|
|
border-radius: 5px;
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
align-content: center;
|
|
align-items: center;
|
|
text-align: left;
|
|
gap: 12px;
|
|
}
|
|
|
|
.project-owner img {
|
|
display: block;
|
|
margin: 0;
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.project-owner-avatar {
|
|
flex: 0 0 auto;
|
|
display: block;
|
|
}
|
|
|
|
.project-owner-name {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.project-owner-follow {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.project-meta-table th {
|
|
text-align: left;
|
|
padding: 5px 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.project-meta-table td {
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.project-buttons .project-download-button {
|
|
display: block;
|
|
background-color: #0073aa;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 10px 15px;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.project-buttons .project-download-button:hover {
|
|
background-color: #005f8d;
|
|
color: #FFF;
|
|
}
|
|
|
|
.project-buttons a.button.project-repo-button {
|
|
display: block;
|
|
background-color: #e0e0e0;
|
|
color: #333;
|
|
text-align: center;
|
|
padding: 10px 15px;
|
|
margin: 12px 0;
|
|
border-radius: 4px;
|
|
text-decoration: none;
|
|
border: 1px solid #c9c9c9;
|
|
}
|
|
|
|
.project-buttons a.button.project-repo-button:hover {
|
|
background-color: #c9c9c9;
|
|
color: #333;
|
|
}
|
|
|
|
.project-description {
|
|
flex: 2;
|
|
}
|
|
.project-title {
|
|
margin: 0 0 24px 0;
|
|
}
|
|
.project-extra-info {
|
|
margin-top: 30px;
|
|
}
|
|
.project-extra-info h2 {
|
|
font-size: 22px;
|
|
margin-bottom: 15px;
|
|
}
|
|
.project-extra-info ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: disc inside;
|
|
}
|
|
|
|
.project-meta-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.project-meta-table th,
|
|
.project-meta-table td {
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.project-meta-table th {
|
|
text-align: left;
|
|
background-color: #f9f9f9;
|
|
font-weight: bold;
|
|
width: 30%;
|
|
}
|
|
|
|
.project-meta-table td {
|
|
width: 70%;
|
|
}
|
|
|
|
.project-archive {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
margin: 24px auto;
|
|
}
|
|
|
|
.project-archive h1 {
|
|
text-align: center;
|
|
}
|
|
|
|
.project-archive .projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 20px;
|
|
width: 100%;
|
|
}
|
|
.project-archive .project-item {
|
|
border: 1px solid #ddd;
|
|
padding: 15px;
|
|
background-color: #fff;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
.project-archive .project-item img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
border-radius: 4px;
|
|
margin-bottom: 15px;
|
|
}
|
|
.project-archive .project-title {
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
margin: 10px 0;
|
|
text-align: center;
|
|
}
|
|
.project-archive .project-item p {
|
|
text-align: center;
|
|
font-size: 1rem;
|
|
line-height: 1.2;
|
|
}
|
|
.project-archive .project-downloads {
|
|
font-size: 0.8rem;
|
|
color: #666;
|
|
margin-bottom: 15px;
|
|
text-align: center;
|
|
}
|
|
.project-archive .project-buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
.project-archive .project-buttons .button {
|
|
padding: 10px 15px;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
font-weight: bold;
|
|
}
|
|
.project-archive .project-buttons .project-download-button {
|
|
background-color: #0073aa;
|
|
}
|
|
.project-archive .project-buttons .project-download-button:hover {
|
|
background-color: #005f8d;
|
|
}
|
|
.project-archive .project-buttons .project-view-button {
|
|
background-color: #e0e0e0;
|
|
color: #333;
|
|
}
|
|
.project-archive .project-buttons .project-view-button:hover {
|
|
background-color: #c9c9c9;
|
|
color: #000;
|
|
}
|
|
|
|
.project-archive .pagination {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.project-archive .pagination ul {
|
|
display: inline-flex;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.project-archive .pagination li {
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.project-archive .pagination a, .pagination span {
|
|
display: block;
|
|
padding: 8px 12px;
|
|
text-decoration: none;
|
|
color: #0073aa;
|
|
border: 1px solid #0073aa;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.project-archive .pagination .current {
|
|
background: #0073aa;
|
|
color: #fff;
|
|
}
|