Skip to content

Commit 72e5cad

Browse files
committed
remove unused menu styles and save font families for future use in CSS files
1 parent 2d1f7a7 commit 72e5cad

File tree

3 files changed

+5
-101
lines changed

3 files changed

+5
-101
lines changed

css/font.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
Saved font families for future use:
3+
font-family: "Trebuchet MS", Helvetica, sans-serif;
4+
*/
5+
16
body {
27
font-family: 'Roboto Slab', serif;
38
line-height: 1.5;
@@ -33,12 +38,6 @@ dt {
3338
font-size: .75em;
3439
}
3540

36-
.menu {
37-
font-family: "Trebuchet MS", Helvetica, sans-serif;
38-
letter-spacing: 2px;
39-
font-size: 4vw;
40-
}
41-
4241
.simple-link {
4342
color: inherit;
4443
text-decoration: none;

css/main.css

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -33,43 +33,6 @@ section {
3333
max-width: 70vw;
3434
}
3535

36-
.menu {
37-
display: flex;
38-
flex-wrap: wrap;
39-
flex-direction: row;
40-
background-color: #222;
41-
}
42-
.menu > div {
43-
display: flex;
44-
flex-basis: calc(50% - 40px);
45-
justify-content: center;
46-
flex-direction: row;
47-
margin: 20px;
48-
background: #282C34;
49-
}
50-
.menu > div:nth-child(1) {
51-
background:tomato;
52-
}
53-
.menu > div:nth-child(2) {
54-
background: lightsalmon;
55-
}
56-
.menu > div:nth-child(3) {
57-
background: plum;
58-
}
59-
.menu > div:nth-child(4) {
60-
background: mediumslateblue;
61-
}
62-
63-
.menu > div > div {
64-
display: flex;
65-
flex-direction: column;
66-
justify-content: center;
67-
}
68-
69-
.menu > div > div > a {
70-
line-height: inherit;
71-
}
72-
7336
.footer {
7437
position: fixed;
7538
right: 5em;
@@ -102,18 +65,6 @@ a {
10265
align-items: flex-end;
10366
}
10467

105-
.menu-footer {
106-
position: static;
107-
display: flex;
108-
flex-direction: row;
109-
justify-content: space-evenly;
110-
padding-bottom: 0.7em;
111-
}
112-
113-
.menu-footer > a {
114-
padding: 0.7em;
115-
}
116-
11768
.footer__link--home:hover~.crumple:after {
11869
-webkit-animation: a 1s .25s linear forwards;
11970
animation: a 1s .25s linear forwards
@@ -139,34 +90,8 @@ a {
13990
padding-bottom: 5em;
14091
}
14192

142-
.top-bar {
143-
display: flex;
144-
justify-content: space-between;
145-
align-items: center;
146-
width: 100%;
147-
padding-right: 5em;
148-
}
149-
15093
.header {
15194
display: flex;
15295
align-items: center;
15396
margin: 0;
15497
}
155-
156-
.top-nav {
157-
display: flex;
158-
gap: 2em;
159-
align-items: center;
160-
}
161-
162-
.nav-link {
163-
color: inherit;
164-
text-decoration: none;
165-
font-size: 0.8em;
166-
opacity: 0.8;
167-
transition: opacity 0.2s ease;
168-
}
169-
170-
.nav-link:hover {
171-
opacity: 1;
172-
}

css/mobile.css

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,6 @@
3131
-webkit-box-align: start;
3232
align-items: flex-start
3333
}
34-
.menu {
35-
height: 70vh;
36-
justify-content: space-evenly;
37-
}
38-
.menu > div {
39-
flex-basis: auto;
40-
flex-grow: 1;
41-
margin: 0.5em 0;
42-
}
43-
.menu > div > div {
44-
writing-mode: vertical-rl;
45-
text-orientation: upright;
46-
display: flex;
47-
justify-content: center;
48-
align-items: center;
49-
background-color: coral;
50-
}
5134
.footer {
5235
display: flex;
5336
position: inherit;
@@ -63,9 +46,6 @@
6346
border: none;
6447
text-decoration: underline;
6548
}
66-
.menu-footer {
67-
display: none;
68-
}
6949
}
7050
@media only screen and (min-width:1080px) {
7151
.bio {

0 commit comments

Comments
 (0)