Fix(Structure): Split styles.css into separate files for different components and sections.
This commit is contained in:
74
styles/experience-section.css
Normal file
74
styles/experience-section.css
Normal file
@@ -0,0 +1,74 @@
|
||||
|
||||
/* Experience */
|
||||
.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;
|
||||
}
|
||||
.experience-card h3 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.experience-date {
|
||||
color: var(--primary-colour);
|
||||
font-size: 0.9rem;
|
||||
width: 50%;
|
||||
min-width: 50%;
|
||||
-webkit-text-fill-color: inherit;
|
||||
text-decoration: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
.experience-card:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.experience-company-and-date {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
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-company-and-date {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
Reference in New Issue
Block a user