diff --git a/static/css/style.css b/static/css/style.css index 9ac99d7..6962e61 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -141,15 +141,28 @@ blockquote { line-height: 1em; } -.step-imgs { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; +.step-section { + background-color: var(--primary-bg); + border: 1px solid var(--border-color); + border-radius: 8px; + box-shadow: 0 2px 4px var(--shadow-color); + padding: 1.5rem; } -.step-imgs img { - max-width: 300px; +.step-header h2 { + font-size: 2em; + color: var(--heading-color); +} + +.step-images img, +.step-videos video, +.step-iframes iframe { + border-radius: 8px; + box-shadow: 0 2px 4px var(--shadow-color); +} + +.step-text { + font-size: 1.1em; } .reply-button, @@ -288,4 +301,23 @@ header { .navbar-logo { height: 64px; +} + +.img-fluid { + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +video { + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +iframe { + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +.text-muted { + color: #6c757d !important; } \ No newline at end of file diff --git a/templates/article.html b/templates/article.html index 08ace40..ecf39da 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,116 +1,87 @@ {% extends "base.html" %} {% block content %} -
+ by + {{ author }} + in + {{ category }} + > + {{ channel }} +
++ {{ views }} Views, {{ favorites }} Favorites, {{ comment_count }} Comments +
+- by {{ author }} in - {{ category }} > - {{ channel }} -
-- {{ views }} Views, {{ favorites }} Favorites, {{ comment_count }} Comments -
- - -- - - {{ reply[3] }} - - {{ reply[5] }} - {{ reply[0] }} votes - {{ reply[6]|safe }} -- {% endfor %} -