Skip to content

Commit

Permalink
more styling
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanlleslie committed Nov 3, 2023
1 parent d4d213d commit c1ef896
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
4 changes: 4 additions & 0 deletions assets/images/Down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/images/Left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/images/Right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/images/Up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div id="wrapper">
<div id="poem-container">
<h1 class="title">A typical conversation of mine this summer in Taiwan</h1>
<ul class="verse" id="verse1">
<ul class="verse active-verse" id="verse1">
<li>Hello, my (English) name is Jordan</li>
<li>Sorry, my Chinese isn't too good—</li>
<li>It's good! you insist,</li>
Expand Down
9 changes: 7 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ p {
}

.disabled-btn {
opacity: 0.5 !important;
opacity: 0.3 !important;
&:hover {
cursor: default !important;
}
Expand Down Expand Up @@ -78,14 +78,18 @@ li {
font-size: 20px;
}

.active-verse {
color: black;
}

#wrapper {
display: flex;
flex-direction: row;
width: 100%;
min-height: calc(100vh);
}

@media (max-width: 1150px) {
@media (max-width: 1280px) {
#wrapper {
flex-direction: column;
max-height: calc(50vh);
Expand All @@ -101,6 +105,7 @@ li {
overflow: auto;
max-height: calc(100vh);
background-color: #fffffe;
min-width: 400px;
}

#statement-selector {
Expand Down

0 comments on commit c1ef896

Please sign in to comment.