From 108d44b4aa2518681451868948279ebfb2172194 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 29 Oct 2023 16:51:25 +0100 Subject: [PATCH] [STYLE] Add options for the project page --- static/css/style.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/static/css/style.css b/static/css/style.css index 6b78888..c6c2805 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -538,6 +538,41 @@ a.not(.anchor):focus { } } +/******************* Projects *******************/ + +article .project-image { + display: inline-block; + width: 100%; + max-width: 100%; + margin-left: 0em; + margin-right: 0em; +} + +article .project-text { + display: inline-block; + width: 100%; + max-width: 100%; +} + +article .project-image img { + width: 100%; + max-width: 100%; +} + +@media only screen and (min-width: 768px) { + article .project-image { + max-width: 40%; + margin-left: 0em; + margin-right: 1em; + max-width: 40%; + } + + article .project-text { + max-width: 55%; + font-size: .9rem; + } +} + /******************* Archive Body *******************/ .archive-body { margin-bottom: 2em;