Skip to content

Commit ff98861

Browse files
committed
refactored code
1 parent 9d0fdf2 commit ff98861

File tree

9 files changed

+28
-126
lines changed

9 files changed

+28
-126
lines changed

css/essays.css

Lines changed: 0 additions & 11 deletions
This file was deleted.

css/font.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,3 @@ a:focus, a:hover {
8787
font-weight: bold;
8888

8989
}
90-
91-
92-
.list__item > p {
93-
font-size: 1.25em;
94-
}

css/footer.css

Lines changed: 0 additions & 27 deletions
This file was deleted.

css/main.css

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,29 @@ a {
7575
position: relative;
7676
}
7777

78-
.writing {
79-
max-width: 70vw;
80-
width: calc(100vw - 20em);
81-
padding-top: 5vh;
82-
padding-left: 6vw;
83-
padding-bottom: 5em;
78+
.hero-footer > a {
79+
position: relative;
80+
padding-top: 0.7em;
8481
}
85-
.list {
86-
margin: 0;
82+
83+
.hero-footer {
84+
position: fixed;
85+
right: 5em;
86+
bottom: 5em;
87+
display: flex;
88+
flex-direction: column;
89+
justify-content: flex-end;
90+
align-items: flex-end;
8791
}
88-
.list__item {
89-
margin: 0;
90-
margin-bottom: 2em;
92+
93+
.menu-footer {
94+
position: static;
95+
display: flex;
96+
flex-direction: row;
97+
justify-content: space-evenly;
98+
padding-bottom: 0.7em;
9199
}
92-
.list__item > p {
93-
margin: 1em 0;
100+
101+
.menu-footer > a {
102+
padding: 0.7em;
94103
}

css/poems.css

Lines changed: 0 additions & 11 deletions
This file was deleted.

essays.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
<link href="./css/main.css" rel="stylesheet">
1717
<link href="./css/crumple.css" rel="stylesheet">
1818
<link href="./css/font.css" rel="stylesheet">
19-
<link href="./css/footer.css" rel="stylesheet">
2019
<link href="./css/mobile.css" rel="stylesheet">
21-
<link href="./css/essays.css" rel="stylesheet">
20+
<link href="./css/subpages.css" rel="stylesheet">
2221
<!-- Webpage Icon -->
2322
<link rel="shortcut icon" href="./assets/images/icon.png" type="image/png">
2423
<!-- Fonts -->
@@ -40,7 +39,7 @@
4039
</script>
4140
<!-- End Google Analytics -->
4241
</head>
43-
<body>
42+
<body id="essays">
4443
<section class="writing">
4544
<h1>meredith hoo - essays</h1>
4645
<p> feel free to leave comments in the links </p>

index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<link href="./css/main.css" rel="stylesheet">
1717
<link href="./css/crumple.css" rel="stylesheet">
1818
<link href="./css/font.css" rel="stylesheet">
19-
<link href="./css/footer.css" rel="stylesheet">
2019
<link href="./css/mobile.css" rel="stylesheet">
2120
<!-- Webpage Icon -->
2221
<link rel="shortcut icon" href="./assets/images/icon.png" type="image/png">
@@ -66,8 +65,8 @@ <h1>meredith hoo</h1>
6665
<section class="menu" id="menu">
6766
<div><div><a href="./essays.html"> essays </a></div></div>
6867
<div><div><a href="./poems.html"> poems </a></div></div>
69-
<div><div> personal writing </div></div>
70-
<div><div> software projects </div></div>
68+
<div><div> journal </div></div>
69+
<div><div> tbd </div></div>
7170
</section>
7271

7372
<footer class="footer" id="footer">

poems.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
<link href="./css/main.css" rel="stylesheet">
1717
<link href="./css/crumple.css" rel="stylesheet">
1818
<link href="./css/font.css" rel="stylesheet">
19-
<link href="./css/footer.css" rel="stylesheet">
2019
<link href="./css/mobile.css" rel="stylesheet">
21-
<link href="./css/poems.css" rel="stylesheet">
20+
<link href="./css/subpages.css" rel="stylesheet">
2221
<!-- Webpage Icon -->
2322
<link rel="shortcut icon" href="./assets/images/icon.png" type="image/png">
2423
<!-- Fonts -->
@@ -40,10 +39,9 @@
4039
</script>
4140
<!-- End Google Analytics -->
4241
</head>
43-
<body>
42+
<body id="poems">
4443
<section class="writing">
4544
<h1>meredith hoo - poems</h1>
46-
<p> feel free to leave comments </p>
4745
<dl class="list">
4846
<!-- <dt> Template </dt>
4947
<dd class="list__item">

test.html

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)