Fix: \n 1. Set GitHub contributions calendar scroll position to start at right-most (latest date). \n 2. Set GitHub contributions calendar first column with day of week axis labels to fixed position above scrollable rest of table. \n 3. Removed light-mode-icon.svg
This commit is contained in:
65
styles/pages/home/experience-section.css
Normal file
65
styles/pages/home/experience-section.css
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
/* Experience */
|
||||
.experience-card {
|
||||
}
|
||||
.experience-card h3 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.experience-date {
|
||||
color: var(--primary-colour) !important;
|
||||
font-size: 0.95rem;
|
||||
width: 50%;
|
||||
min-width: 50%;
|
||||
text-decoration: none !important;
|
||||
-webkit-text-fill-color: inherit !important;
|
||||
-webkit-text-decoration: none !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
.experience-card:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.experience-company-and-date {
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
width: 90%;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
.experience-description {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
.experience-additional-entry {
|
||||
list-style-type: disc;
|
||||
width: 100%;
|
||||
}
|
||||
.experience-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.experience-additional-entry .experience-job-title,
|
||||
.experience-additional-entry .experience-company,
|
||||
.experience-additional-entry .experience-date {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
width: fit-content;
|
||||
}
|
||||
.experience-additional-entry .experience-company {
|
||||
margin-left: 5px;
|
||||
margin-right: auto;
|
||||
}
|
||||
.experience-additional-entry .experience-date {
|
||||
font-weight: normal;
|
||||
margin-left: auto;
|
||||
}
|
||||
.experience-additional-entry:not(:first-of-type) .experience-job-title::after {
|
||||
content: " at ";
|
||||
font-weight: normal;
|
||||
}
|
||||
.experience-additional-entry .experience-company::after {
|
||||
content: " ";
|
||||
}
|
||||
.experience-additional-entry .experience-description:last-of-type {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
9
styles/pages/home/expertise-section.css
Normal file
9
styles/pages/home/expertise-section.css
Normal file
@@ -0,0 +1,9 @@
|
||||
/* Expertise Section */
|
||||
.expertise-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.expertise-card {
|
||||
}
|
||||
55
styles/pages/home/home.css
Normal file
55
styles/pages/home/home.css
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
|
||||
/* Main content styles */
|
||||
main {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem 1rem;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ul, li {
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
/* Common card styles */
|
||||
.expertise-card,
|
||||
.project-card,
|
||||
.experience-card {
|
||||
background: var(--text-background-colour);
|
||||
padding: 1.5rem;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
margin-bottom: 2rem;
|
||||
margin-top: 2rem;
|
||||
padding-left: 1.5vw;
|
||||
padding-right: 1.5vw;
|
||||
}
|
||||
.expertise-card h3,
|
||||
.project-card h3,
|
||||
.experience-card h3 {
|
||||
color: var(--secondary-colour);
|
||||
}
|
||||
|
||||
/* Responsive design */
|
||||
@media (max-width: 768px) {
|
||||
nav ul {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.expertise-grid,
|
||||
.projects-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
94
styles/pages/home/projects-section.css
Normal file
94
styles/pages/home/projects-section.css
Normal file
@@ -0,0 +1,94 @@
|
||||
|
||||
/* Projects */
|
||||
.projects-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 2rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
.project-card-gridslot {
|
||||
}
|
||||
.project-card {
|
||||
height: fit-content;
|
||||
}
|
||||
|
||||
.project-card .button {
|
||||
display: inline-block;
|
||||
padding: 0.5rem 1rem;
|
||||
background-color: var(--accent-colour);
|
||||
color: var(--text-background-colour);
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.project-card .button:hover {
|
||||
background-color: #2b6cb0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
.project-thumbnails {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.project-thumbnail {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: height 0.3s ease;
|
||||
}
|
||||
|
||||
.project-thumbnail img {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* .project-card .button:hover + .project-thumbnail */
|
||||
/*
|
||||
.project-card .button.project_demo_partsenterprise_erp:hover + .project-thumbnail.project_demo_partsenterprise_erp,
|
||||
.project-card .button.project_demo_partsenterprise_store:hover + .project-thumbnail.project_demo_partsenterprise_store,
|
||||
.project-card .button.project_demo_live_partsenterprise_store:hover + .project-thumbnail.project_demo_live_partsenterprise_store,
|
||||
.project-card .button.project_demo_partserp:hover + .project-thumbnail.project_demo_partserp
|
||||
|
||||
*/
|
||||
/*
|
||||
.project-links .button.project_demo_partsenterprise_erp:hover ~ .project-thumbnails .project_demo_partsenterprise_erp,
|
||||
.project-links .button.project_demo_partsenterprise_store:hover ~ .project-thumbnails .project_demo_partsenterprise_store,
|
||||
.project-links .button.project_demo_live_partsenterprise_store:hover ~ .project-thumbnails .project_demo_live_partsenterprise_store,
|
||||
.project-links .button.project_demo_partserp:hover ~ .project-thumbnails .project_demo_partserp
|
||||
* /
|
||||
.project-thumbnail.active
|
||||
{
|
||||
height: 200px; /* Adjust the height as needed * /
|
||||
}
|
||||
*/
|
||||
.project-detail-button {
|
||||
font-size: 0.9rem;
|
||||
text-decoration: underline;
|
||||
margin-top: 1vh;
|
||||
cursor: pointer;
|
||||
width: fit-content;
|
||||
}
|
||||
.project-thumbnail {
|
||||
margin-top: 2vh;
|
||||
}
|
||||
.project-thumbnail img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.project-detail-container {
|
||||
display: none;
|
||||
}
|
||||
.project-detail-container.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.project-links {
|
||||
text-align: center;
|
||||
margin-top: 1vh;
|
||||
}
|
||||
Reference in New Issue
Block a user