Skip to content

Commit cd6ff5f

Browse files
committed
Update essays.html and add writings.html for content expansion
- Changed the title in essays.html from "flower power" to "zesameri: essays" for better branding. - Added a new writings.html file containing sections for essays and poems, including links to external content and original writings. - Enhanced CSS styles in font.css and main.css for improved typography and layout consistency across the new writing sections.
1 parent 84e1879 commit cd6ff5f

File tree

4 files changed

+340
-59
lines changed

4 files changed

+340
-59
lines changed

css/font.css

Lines changed: 40 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
font-family: "Trebuchet MS", Helvetica, sans-serif;
44
*/
55

6+
/* Base Typography */
67
body {
78
font-family: 'Roboto Slab', serif;
89
line-height: 1.5;
910
color: #f8f8f6;
1011
}
12+
13+
/* Headers */
1114
h1, dt, .footer > a {
1215
font-family: "Trebuchet MS", Helvetica, sans-serif;
1316
letter-spacing: 2px;
1417
font-weight: bold;
1518
}
16-
dt {
17-
font-size: 1.25em;
18-
padding-top: 2em;
19-
}
19+
2020
.header {
2121
font-size: 3em;
2222
letter-spacing: 5px;
@@ -25,10 +25,39 @@ dt {
2525
font-family: "Trebuchet MS", Helvetica, sans-serif;
2626
line-height: 1em;
2727
}
28+
2829
.header-img {
29-
vertical-align: text-bottom;
3030
height: 1em;
31+
padding: 0 0.2em;
32+
}
33+
34+
/* Writing Page Typography */
35+
.section-title {
36+
font-family: "Trebuchet MS", Helvetica, sans-serif;
37+
font-size: 2em;
38+
letter-spacing: 3px;
39+
margin-top: 2em;
40+
margin-bottom: 1em;
41+
color: #f8f8f6;
3142
}
43+
44+
dt {
45+
font-size: 1.25em;
46+
padding-top: 2em;
47+
}
48+
49+
.list__link {
50+
font-family: monospace;
51+
}
52+
53+
.reference {
54+
font-style: italic;
55+
font-family: "Trebuchet MS", Helvetica, sans-serif;
56+
letter-spacing: 2px;
57+
font-weight: bold;
58+
}
59+
60+
/* Hero Section Typography */
3261
.bio {
3362
font-size: 1.5em;
3463
}
@@ -37,39 +66,31 @@ dt {
3766
font-size: .75em;
3867
}
3968

69+
/* Links */
4070
.simple-link {
4171
color: inherit;
4272
text-decoration: none;
4373
border: none;
4474
}
75+
4576
.simple-link focus, .simple-link :hover {
4677
color: inherit;
4778
border: none;
4879
}
4980

50-
.list__link {
51-
font-family: monospace
52-
}
53-
54-
.footer > a {
55-
line-height: 1;
56-
font-size: 1.4em;
57-
}
5881
a, .footer > a {
5982
border-bottom: 1px solid #f8f8f6;
6083
color: inherit;
6184
font-weight: normal;
6285
text-decoration: none;
6386
}
87+
6488
a:focus, a:hover {
6589
color: floralwhite;
6690
border-bottom: 1px solid floralwhite;
6791
}
6892

69-
.reference {
70-
font-style: italic;
71-
font-family: "Trebuchet MS", Helvetica, sans-serif;
72-
letter-spacing: 2px;
73-
font-weight: bold;
74-
93+
.footer > a {
94+
line-height: 1;
95+
font-size: 1.4em;
7596
}

css/main.css

Lines changed: 43 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,68 @@
55
grey: #a6a9ac, #dcdcde
66
light: #f8f8f6, #efeff2
77
*/
8+
9+
/* Base Layout */
810
body {
911
margin: 0;
1012
background-color: #222;
1113
-webkit-font-smoothing: antialiased;
1214
-moz-osx-font-smoothing: grayscale;
1315
display: block;
1416
}
17+
1518
section {
1619
z-index: 1;
1720
position: relative;
1821
display: flex;
1922
flex-direction: column;
2023
justify-content: space-between;
2124
min-height: 100vh;
25+
padding-top: 6vh;
26+
padding-left: 6vw;
2227
}
28+
29+
/* Hero Section */
2330
.hero {
2431
width: calc(100vw - 20em);
25-
padding-top: 5vh;
26-
padding-left: 6vw;
2732
display: flex;
2833
flex-direction: column;
2934
gap: 2em;
3035
}
36+
3137
.bio {
3238
padding-bottom: 10vh;
3339
max-width: 70vw;
3440
}
3541

42+
/* Writing Pages */
43+
.writing {
44+
max-width: 70vw;
45+
width: calc(100vw - 20em);
46+
}
47+
48+
.list {
49+
margin: 0;
50+
}
51+
52+
.list__item {
53+
margin: 0;
54+
padding-bottom: 3em;
55+
}
56+
57+
.list__item > p {
58+
margin: 1em 0;
59+
font-size: 1.25em;
60+
}
61+
62+
/* Header */
63+
.header {
64+
display: flex;
65+
align-items: center;
66+
margin: 0;
67+
}
68+
69+
/* Footer */
3670
.footer {
3771
position: fixed;
3872
right: 5em;
@@ -41,17 +75,9 @@ section {
4175
flex-direction: column;
4276
justify-content: flex-end;
4377
align-items: flex-end;
44-
45-
}
46-
.footer > a {
47-
padding-top: 0.7em;
48-
}
49-
a {
50-
position: relative;
5178
}
5279

53-
.hero-footer > a {
54-
position: relative;
80+
.footer > a {
5581
padding-top: 0.7em;
5682
}
5783

@@ -65,33 +91,13 @@ a {
6591
align-items: flex-end;
6692
}
6793

68-
.footer__link--home:hover~.crumple:after {
69-
-webkit-animation: a 1s .25s linear forwards;
70-
animation: a 1s .25s linear forwards
71-
}
72-
73-
.list {
74-
margin: 0;
75-
}
76-
.list__item {
77-
margin: 0;
78-
padding-bottom: 3em;
79-
}
80-
.list__item > p {
81-
margin: 1em 0;
82-
font-size: 1.25em;
94+
.hero-footer > a {
95+
position: relative;
96+
padding-top: 0.7em;
8397
}
8498

85-
.writing {
86-
max-width: 70vw;
87-
width: calc(100vw - 20em);
88-
padding-top: 5vh;
89-
padding-left: 6vw;
90-
padding-bottom: 5em;
99+
/* Links */
100+
a {
101+
position: relative;
91102
}
92103

93-
.header {
94-
display: flex;
95-
align-items: center;
96-
margin: 0;
97-
}

essays.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<meta name="description" content="It's whatever you want to make of it.">
1717
<meta name="author" content="kvitka">
1818
<!-- Facebook Metadata -->
19-
<meta name="og:title" content="flower power">
19+
<meta name="og:title" content="zesameri: essays">
2020
<meta name="og:description" content="It's whatever you want to make of it.">
2121
<meta name="og:url" content="http://zesameri.github.io">
22-
<meta name="og:type" content="website">look at me
22+
<meta name="og:type" content="website">
2323
<!-- Styles -->
2424
<link href="./css/main.css" rel="stylesheet">
2525
<link href="./css/crumple.css" rel="stylesheet">
@@ -40,7 +40,7 @@
4040
<section class="writing">
4141

4242
<h1 class="header">
43-
kvitka
43+
4444
<img class="header-img" src="assets/images/flower.svg">
4545
essays
4646
</h1>

0 commit comments

Comments
 (0)