✨feature: Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
.toggle-switch {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.toggle-switch input {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.slider {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: #ccc;
|
||||
border-radius: 34px;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.slider:before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
left: 4px;
|
||||
bottom: 3px;
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
input:checked + .slider {
|
||||
background-color: #0073aa;
|
||||
}
|
||||
|
||||
input:checked + .slider:before {
|
||||
transform: translateX(26px);
|
||||
}
|
||||
@@ -0,0 +1,285 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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 auto 0;
|
||||
max-width: 50px;
|
||||
}
|
||||
|
||||
.project-owner span:last-of-type {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.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-github-button {
|
||||
display: block;
|
||||
background-color: #e0e0e0;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
padding: 10px 15px;
|
||||
margin: 12px 0;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.project-buttons a.button.project-github-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;
|
||||
}
|
||||
Reference in New Issue
Block a user