pages/_sass/_cv.scss
José M. Requena Plens cd5138b9c6
CV Restyled (#1339)
I have redesigned the CV to have some options that I have in my pdf CV.

I'm not too inspired to include more example data, if anyone wants to
add data, go ahead.

With my data the CV looks like this:
[https://jmrplens.github.io/cv/](https://jmrplens.github.io/cv/ ).
My data: [VIEW
FILE](ce8b5b67db/_data/cv.yml)

Some screenshots:
<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-09-51)"
src="https://user-images.githubusercontent.com/28966312/233200752-e49afa44-1c07-42eb-b38c-337f81b60406.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-10-22)"
src="https://user-images.githubusercontent.com/28966312/233200844-0201d061-df3e-4e80-8107-3b6f7c72faa3.png">
<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-10-37)"
src="https://user-images.githubusercontent.com/28966312/233200898-77040d1a-bf9a-47f1-a46d-3008f7331020.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-10-54)"
src="https://user-images.githubusercontent.com/28966312/233200949-055fe27e-ce06-4929-91e8-cab2983b4850.png">

Mobile:

<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-21-36)"
src="https://user-images.githubusercontent.com/28966312/233203168-8b5cc777-e3f8-4387-96d4-a5d405d7032b.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-21-48)"
src="https://user-images.githubusercontent.com/28966312/233203238-5ccc424e-b0e3-41a1-bd2b-2c64e01cfc85.png">
<img width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-22-00)"
src="https://user-images.githubusercontent.com/28966312/233203297-7174be99-08a1-427a-a414-5bded2d6c2d8.png"><img
width="45%" alt="Screenshot of Google Chrome (19-4-23, 23-22-14)"
src="https://user-images.githubusercontent.com/28966312/233203312-f5067ce7-134f-4a39-bb5b-aaa3d247b3e7.png">

---------

Co-authored-by: George <31376482+george-gca@users.noreply.github.com>
2023-07-11 22:53:53 -03:00

215 lines
3.8 KiB
SCSS

/*****************************
* CV shared styles
*****************************/
div.container-link-button {
margin-right: 0.5rem;
}
table.table-cv {
background-color: transparent !important;
}
a.btncv {
color: var(--global-text-color) !important;
border: 1px solid var(--global-text-color) !important;
border-radius: 0.125rem;
padding-left: 1rem;
padding-right: 1rem;
padding-top: 0.25rem;
padding-bottom: 0.25rem;
text-decoration: none;
font-weight: 400;
font-size: .7rem;
text-align: center;
vertical-align: middle;
text-transform: uppercase;
white-space: nowrap;
}
a.btncv:hover {
color: var(--global-theme-color) !important;
border-color: var(--global-theme-color) !important;
text-decoration: none !important;
}
/*****************************
* CV TIME_TABLE styles
*****************************/
p.location {
font-size: 0.7rem;
white-space: nowrap;
}
i.iconlocation {
color: var(--global-theme-color);
font-size: 0.8rem;
}
i.iconinstitution {
color: var(--global-theme-color);
font-size: 0.95rem;
margin-right: 0.3rem;
}
i.icondepartment {
color: var(--global-theme-color);
font-size: 0.8rem;
margin-right: 0.3rem;
}
table.institution {
margin-bottom: 1rem;
}
td.department {
font-size: 0.8rem;
}
div.container-links {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: flex-start;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
/*****************************
* CV MAP styles
*****************************/
div.container-pdf {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: flex-start;
}
/*****************************
* CV LIST_GROUPS styles
*****************************/
div.list-groups {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
flex-direction: row;
align-content: center;
}
div.list-group {
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: flex-start;
margin-bottom: 2rem;
}
td.list-group-category {
color: var(--global-theme-color);
margin-bottom: 0.5rem;
}
td.list-group-category-icon {
font-size: 0.8rem;
color: var(--global-theme-color);
width: 1.4rem;
padding-right: 0.4rem;
}
td.list-group-name {
font-size: 0.8rem;
}
td.list-group-level {
font-size: 0.8rem;
padding-left: 0.5rem;
}
td.list-group-school {
font-size: 0.7rem;
padding-left: 0.5rem;
text-align: center;
}
p.list-group-time {
font-size: 0.7rem;
padding-left: 0.5rem;
}
td.list-group-link {
padding-left: 0.5rem;
}
/*****************************
* CV TOC styles
*****************************/
a.anchor {
display: block;
position: relative;
top: -50px;
visibility: hidden;
}
ul.timeline {
margin-top: 2rem;
margin-bottom: 2rem;
}
ul.timeline li {
position: relative;
min-height: 2.2rem;
color: var(--global-text-color);
list-style-position: inside;
}
span.badge-toc {
color: var(--global-bg-color);
background-color: var(--global-theme-color);
border-radius: 0.125rem;
padding: 0.125rem 0.5rem 0.125rem 0.5rem;
font-weight: 700 !important;
display: inline-block;
inline-size: fit-content;
}
ul.timeline li::before {
content: "";
min-height: 2.5rem;
width: 1px;
background: var(--global-text-color);
margin: 0;
padding: 0;
position: absolute;
left: 2px;
top: -0.5rem;
}
/*ul.timeline::before {
content: "●";
font-size: 1em;
display: inline-block;
margin: 0;
padding: 0;
position: relative;
left: -2px;
top: 0.4rem;
color: var(--global-text-color);
}
ul.timeline::after {
content: "●";
font-size: 1em;
display: inline-block;
margin: 0;
padding: 0;
position: relative;
left: -2px;
top: -1rem;
color: var(--global-text-color);
}
*/