aboutsummaryrefslogtreecommitdiff
path: root/resume/src/styles.css
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-02-16 19:38:09 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-02-16 19:38:09 +0200
commit9bf83c951fa10975ae05d85a3982e2394ec886c5 (patch)
tree10e4a4048283fc5a6de353b72b0c1d7559c18c9f /resume/src/styles.css
parenta180cfd7fbf4a857940e7693fef64ce96b12842b (diff)
downloadcss-snippets-9bf83c951fa10975ae05d85a3982e2394ec886c5.tar
css-snippets-9bf83c951fa10975ae05d85a3982e2394ec886c5.tar.gz
css-snippets-9bf83c951fa10975ae05d85a3982e2394ec886c5.zip
Added a static resume page design
Diffstat (limited to 'resume/src/styles.css')
-rw-r--r--resume/src/styles.css154
1 files changed, 154 insertions, 0 deletions
diff --git a/resume/src/styles.css b/resume/src/styles.css
new file mode 100644
index 0000000..3601e33
--- /dev/null
+++ b/resume/src/styles.css
@@ -0,0 +1,154 @@
+:root {
+ --font-color: #444;
+ --padding: .25in;
+}
+
+* {
+ font-size: 19px;
+ font-family: sans-serif;
+ color: var(--font-color)
+}
+
+hr {
+ width: auto;
+ border: 1px solid rgb(240, 240, 240);
+ margin: 1.5em 0;
+}
+
+body {
+ width: 100vw;
+ height: 100vh;
+ padding: var(--padding);
+ margin: 0;
+ box-sizing: border-box;
+ background-color: white;
+}
+
+#content {
+ width: 100%;
+ height: 100%;
+ box-sizing: border-box;
+ border: 3px solid var(--font-color);
+ overflow-y: auto;
+ padding: var(--padding);
+ display: flex;
+ flex-direction: column;
+}
+
+#content::-webkit-scrollbar {
+ display: none;
+}
+
+#content>* {
+ width: 100%;
+}
+
+#content>hr {
+ border-color: var(--font-color);
+}
+
+/* About */
+
+#about {
+ display: flex;
+ width: 100%;
+ height: fit-content;
+ position: relative;
+}
+
+#data {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+}
+
+#name {
+ flex: 1;
+ font-size: 3em;
+ font-weight: bold;
+}
+
+#info {
+ font-size: .9em;
+ display: flex;
+}
+
+#info>* {
+ flex: 1;
+}
+
+.stacked-info {
+ font-size: .95em;
+ border-left: 1px solid var(--font-color);
+ padding: 0 1em;
+}
+
+#picture {
+ height: 10em;
+ max-width: 10em;
+}
+
+#picture > img {
+ width: inherit;
+ height: inherit;
+}
+
+/* Card */
+
+.card {
+ width: 100%;
+ display: flex;
+}
+
+.card-title {
+ width: 30%;
+ font-weight: bold;
+}
+
+.card-content {
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+}
+
+.card-content>.card {
+ margin-top: 1em;
+}
+
+.card-content>.card>.card-title {
+ width: 24%;
+}
+
+.card-content>.card:first-child {
+ margin-top: 0;
+}
+
+.card-sub-title {
+ border-left: 2px solid var(--font-color);
+ padding-left: .5em;
+ font-weight: bold;
+ margin-bottom: .3em;
+}
+
+/* Rating */
+
+.ratings {
+ flex-direction: row;
+ flex-wrap: wrap;
+}
+
+.rating {
+ width: 50%;
+ display: flex;
+ flex-direction: column;
+ margin-bottom: .7em;
+}
+
+.rating-title {
+ font-weight: bold;
+ margin-right: 1em;
+}
+
+.rating-amount {
+ flex: 1;
+}