Commit f9ba1a62 authored by justin's avatar justin

feat: added better css styling

parent f421774d
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<h1>Widget's Calendar of Activities</h1> <h1>Widget's Calendar of Activities</h1>
<ul> <ul>
{% for object in object_list %} {% for object in object_list %}
<li style="list-style-type: circle;"><a href="{{ object.get_absolute_url }}">{{ object.activity }}</a></li> <li><a href="{{ object.get_absolute_url }}">{{ object.activity }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
......
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;500&family=Roboto:wght@700&display=swap');
:root { :root {
--fg: #b7bdf8; --fg: #b7bdf8;
...@@ -8,18 +8,62 @@ ...@@ -8,18 +8,62 @@
body { body {
background-color: var(--bg); background-color: var(--bg);
color: var(--fg); color: var(--fg);
padding: 2rem;
text-align: center;
} }
a:visited { a:visited {
color: var(--fg); color: var(--fg);
} }
a:link { a:link {
color: var(--fg); color: var(--fg);
} }
a:hover {
color: var(--desert);
font-size: 1.1rem;
}
a {
transition: color 0.25s ease;
transition: font-size 0.1s ease;
font-family: 'Roboto';
text-decoration: none;
}
ul { ul {
list-style-type: none; list-style-type: none;
padding: 0;
}
li {
padding: 0.15rem;
} }
h1 { h1 {
font-family: 'Poppins', sans-serif; font-family: 'Poppins', sans-serif;
} }
h2 {
font-family: 'Poppins', sans-serif;
font-weight: 200;
}
button {
border-radius: 0.15rem;
padding: 0.5rem;
border: none;
background-color: var(--desert);
color: var(--bg);
font-family: 'Poppins', sans-serif;
font-weight: 500;
text-transform: capitalize;
box-shadow: 6px 5px 14px 1px rgba(19, 8, 54, 0.64);
-webkit-box-shadow: 6px 5px 14px 1px rgba(19, 8, 54, 0.64);
-moz-box-shadow: 6px 5px 14px 1px rgba(19, 8, 54, 0.64);
}
.nav-bar {
padding: 0.5rem;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment