diff --git a/junction/static/css/app.css b/junction/static/css/app.css index c785ab07..d6504897 100644 --- a/junction/static/css/app.css +++ b/junction/static/css/app.css @@ -8993,3 +8993,93 @@ textarea.review-form select { .dropdown { margin-left: 10px; } +.conference-list { + padding: 40px 0; +} + +.conference-list .heading { + font-size: 24px; + margin-bottom: 30px; + text-align: center; +} + +.no-conferences { + text-align: center; + font-style: italic; + color: #666; +} + +#conference-grid { + display: grid; + gap: 20px; + max-width: 1200px; + margin: 0 auto; + padding: 0 15px; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); +} + +.conference-item { + border: 1px solid #ddd; + border-radius: 5px; + padding: 15px; + cursor: pointer; + transition: all 0.3s ease; + background-color: #ffffff; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); + display: flex; + flex-direction: column; + justify-content: space-between; + text-decoration: none; + color: inherit; +} + +.conference-item:hover { + box-shadow: 0 5px 15px rgba(0,0,0,0.2); + transform: translateY(-5px); + text-decoration: none; +} + +.conference-date { + font-size: 14px; + color: #666; + margin-bottom: 10px; + text-align: left; +} + +.conference-item h3 { + margin: 0 0 10px 0; + font-size: 18px; +} + +.conference-item .meta { + font-size: 13px;; + color: #666; + margin-top: auto; +} + +.conference-item .status{ + display: inline-block; + padding: 2px 5px; + border-radius: 3px; + font-size:13px;; +} + +@media (max-width: 1024px) { + #conference-grid { + grid-template-columns: repeat(2, 1fr); + } +} + +@media (max-width: 768px) { + #conference-grid { + grid-template-columns: 1fr; + } +} + +.conference-item a, +.conference-item a:hover, +.conference-item a:focus, +.conference-item a:active { + text-decoration: none; + color: inherit; +} diff --git a/junction/templates/pages/home_page.html b/junction/templates/pages/home_page.html index 6b05c81d..7b26394c 100644 --- a/junction/templates/pages/home_page.html +++ b/junction/templates/pages/home_page.html @@ -32,33 +32,23 @@
No conferences found.
- {% endif %} - - {% for conference in conferences %} -