generated from HugoBlox/theme-academic-cv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4605e9e
commit b149a19
Showing
1 changed file
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
.section-title { | ||
border: 2px solid red; /* Keep this for now as a visual indicator */ | ||
border: 2px solid red; /* We'll keep this for now as a visual indicator */ | ||
padding: 5px; | ||
margin-bottom: 10px; | ||
position: relative; | ||
left: -100px; /* Move slightly to the left */ | ||
width: 200px; /* Give it a fixed width */ | ||
text-align: right; /* Align text to the right */ | ||
left: -220px; /* Move further to the left */ | ||
width: 200px; /* Keep the width the same */ | ||
text-align: right; /* Keep text aligned to the right */ | ||
} | ||
|
||
/* Add some margin to the content to prevent overlap */ | ||
/* Adjust the margin for the content to prevent overlap */ | ||
.section-title + * { | ||
margin-left: 110px; /* Slightly more than the 'left' value above */ | ||
margin-left: 20px; /* Reduce this to bring content closer to the left edge */ | ||
} | ||
|
||
/* Ensure the parent container has enough padding to show the titles */ | ||
.section-title:not(:first-child) { | ||
padding-left: 220px; /* Should match the absolute value of 'left' above */ | ||
} |