Skip to content

Commit 9688862

Browse files
committed
resize images
1 parent 9f3c42c commit 9688862

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

_courses/cs111.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
layout: course-page
3-
title: CS 111 - Fundamentals of Computer Programming I
3+
title: COMP_SCI 111 - Fundamentals of Computer Programming I
44
cover: assets/img/course_logos/cs111_logo.png
5-
course_num: COMP_SCI 111
5+
course_num: CS 111
66
#olid: OL43499941M # use Open Library ID to fetch cover (if no `cover` is provided)
77
#isbn: 7539967447 # use ISBN to fetch cover (if no `olid` is provided, dashes are optional)
88
#categories: classics crime historical-fiction mystery novels thriller

_layouts/course-page.liquid

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ layout: default
105105
{% if content == '' %}
106106
<figure class="empty-review">
107107
{% if page.cover %}
108-
<img class="empty-review-cover" alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
108+
<img style="width:25%; class="empty-review-cover" alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
109109
<figcaption class="empty-review-caption"></figcaption>
110110
{% elsif page.olid %}
111-
<img class="empty-review-cover" alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
111+
<img style="width:25%; class="empty-review-cover" alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
112112
<figcaption class="empty-review-caption"></figcaption>
113113
{% elsif page.isbn %}
114-
<img class="empty-review-cover" alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
114+
<img style="width:25%; class="empty-review-cover" alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
115115
<figcaption class="empty-review-caption"></figcaption>
116116
{% endif %}
117117
</figure>
@@ -122,13 +122,13 @@ layout: default
122122
{% else %}
123123
<figure>
124124
{% if page.cover %}
125-
<img alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
125+
<img style="width:25%;" alt="{{ page.title }} cover" src="{{ site.baseurl }}/{{ page.cover }}">
126126
<figcaption></figcaption>
127127
{% elsif page.olid %}
128-
<img alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
128+
<img style="width:25%; alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ page.olid }}-L.jpg?default=false">
129129
<figcaption></figcaption>
130130
{% elsif page.isbn %}
131-
<img alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
131+
<img style="width:25%; alt="{{ page.title }} cover" src="http://covers.openlibrary.org/b/isbn/{{ page.isbn }}-L.jpg?default=false">
132132
<figcaption></figcaption>
133133
{% endif %}
134134
</figure>

0 commit comments

Comments
 (0)