Skip to content

Commit

Permalink
make the publication responsible to the screen size
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanlinping committed Sep 26, 2021
1 parent 0d15c11 commit a83fdf1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions _sass/_publications.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@

.publication-content {
margin-bottom: 1em;
// display: block;
// text-align: justify;

h3 {
Expand Down Expand Up @@ -301,3 +302,19 @@
}
}
}

@media (max-width: 700px) {
.pubs{ // cannot delete, or original styles cannot be overwritten by the following styles.
.publication {
display: block;
padding: 1rem;
.thumbnail {
margin-bottom: 5px;
text-align: center;
img {
width: 100%;
}
}
}
}
}

0 comments on commit a83fdf1

Please sign in to comment.