Resume/theme/template.html

151 lines
3.9 KiB
HTML
Raw Normal View History

2023-05-11 16:05:53 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Resume - {basics.name}</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
/>
<style>
.material-symbols-outlined {
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}
*,
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
:root {
font-family: "Open Sans", sans-serif;
--primary: #006494;
--on-primary: #ffffff;
--primary-container: #c8e6ff;
--on-primary-container: #001e31;
--secondary: #50606e;
--on-secondary: #ffffff;
--secondary-container: #d3e4f5;
--on-secondary-container: #0c1d29;
--tertiary: #65597b;
--on-tertiary: #ffffff;
--tertiary-container: #ecdcff;
--on-tertiary-container: #201634;
--error: #ba1b1b;
--error-container: #ffdad4;
--on-error: #ffffff;
--on-error-container: #410001;
--background: #fcfcff;
--on-background: #1a1c1e;
--surface: #fcfcff;
--on-surface: #1a1c1e;
--surface-variant: #dee3ea;
--on-surface-variant: #41474d;
--outline: #72787e;
--inverse-on-surface: #f0f0f3;
--inverse-surface: #2f3032;
--inverse-primary: #8bceff;
--error-container-alt: #ffd3cc;
}
body {
width: 8.5in;
height: 11in;
margin: 0;
padding: 0;
/* 'Danger' zone. Highlights content that would not print on the page */
background: repeating-linear-gradient(
45deg,
var(--error-container-alt),
var(--error-container-alt) 10px,
var(--error-container) 10px,
var(--error-container) 20px
2023-05-16 13:13:46 -04:00
)
fixed;
}
2023-05-11 16:05:53 -04:00
2023-05-16 13:13:46 -04:00
p {
margin: 0;
2023-05-11 16:05:53 -04:00
}
.page {
page-break-after: always;
position: relative;
width: 8.5in;
height: 11in;
}
.page-content {
position: absolute;
width: 8.125in;
height: 10.625in;
left: 0.1875in;
top: 0.1875in;
color: var(--on-background);
background-color: var(--background);
}
2023-05-16 13:13:46 -04:00
.resume-wrapper {
display: grid;
grid-template-columns: 30% 1fr;
grid-template-rows: 1fr;
grid-auto-columns: 1fr;
gap: 0px 0px;
grid-auto-flow: row;
grid-template-areas: ". .";
height: 100%;
}
.l-section{
background-color: var(--secondary);
color: var(--on-secondary);
text-align: center;
}
.r-section{
}
.profile-image{
width: 60%;
border-radius: 50%;
margin-top: 16px;
}
2023-05-11 16:05:53 -04:00
@media print {
2023-05-16 13:13:46 -04:00
body {
background: unset;
background-color: var(--background);
}
2023-05-11 16:05:53 -04:00
}
</style>
</head>
<body>
<div class="page">
<div class="page-content">
2023-05-16 13:13:46 -04:00
<div class="resume-wrapper">
<div class="l-section">
<img class="profile-image" src={basics.image} alt="" >
<h1 style="font-weight: normal">{basics.name}</h1>
</div>
<div class="r-section">
</div>
</div>
2023-05-11 16:05:53 -04:00
</div>
</div>
</body>
</html>