From 37525bb50a0f0e0f7fe1f4724fcd69c75a11e027 Mon Sep 17 00:00:00 2001 From: Danhia Date: Sun, 30 Jan 2022 19:22:58 +0100 Subject: [PATCH] fixed links css for challenges in home --- src/home/templates/home/home.html | 10 +++++++--- src/statics/css/style.css | 17 +++++++++-------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/src/home/templates/home/home.html b/src/home/templates/home/home.html index a8b825a..865353a 100644 --- a/src/home/templates/home/home.html +++ b/src/home/templates/home/home.html @@ -62,7 +62,8 @@ {% if ctfs %} {% for ctf in ctfs %}
  • - {{ ctf.name }} - {{ctf.points}} {% trans "points" %} + {{ ctf.name }} + {{ctf.points}} {% trans "points" %}
  • {% endfor %} {% else %} @@ -74,8 +75,11 @@ {% for f in latest_flags %} {% ismember f.user.userprofileinfo as is_member %}
  • - - {{ f.user.username }} - {{f.ctf}} + {{f.ctf}} + + {{ f.user.username }} + +
  • {% endfor %}
    diff --git a/src/statics/css/style.css b/src/statics/css/style.css index ca69b8d..4387d48 100644 --- a/src/statics/css/style.css +++ b/src/statics/css/style.css @@ -77,14 +77,7 @@ pre { .table-dark thead th { border: none; } -.list-group a { - text-decoration: none; - /* color: #4375aa; */ -} -.list-group a:hover { - text-decoration: none; - color: #fff; -} + .ctf-block { background-color: #1d1d1d; min-height: 235px; @@ -372,4 +365,12 @@ footer { .top-sm { order: 1; } .middle-sm { order: 2; } .bottom-sm { order: 3 } +} + +.ctf-link { + color: #fff; +} +.ctf-link:hover { + color: #a9a9a9; + text-decoration: none; } \ No newline at end of file