1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-17 01:19:08 +00:00

Improve content styling

This commit is contained in:
Luke 2020-07-31 15:48:43 +02:00
parent c311354e5a
commit 8043b057f2
2 changed files with 28 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<div class="card shadowthing text-left transform scale-95">
<div class="tablecard shadowthing text-left transform scale-95">
<div class="block px-8 py-6 rounded-lg">
<div class="absolute top-0 right-0 overflow-visible mr-16 mt-12 z-20">
<div class="flex-shrink-0 mt-0">
@ -90,7 +90,7 @@
</div>
<hr>
</div>
<div class="pt-5">
<div>
{% for tag in card.progress %}
{% if tag.type == 'a' %}
<{{ tag.type }} href='{{ tag.href }}'>{{ tag.text }}</{{tag.type}}>

View file

@ -185,6 +185,32 @@ a.link {
max-width: auto;
}
.tablecard{
max-width: auto;
h3{
padding-top: 2.5rem !important;
}
ul,
ol{
padding: 1rem;
list-style-type: decimal;
li{
padding-top: 0.7rem;
color: #898989;
}
}
a{
display: inline-table;
position: none;
padding-top: 1rem;
}
}
.shadowthing{
box-shadow: 0 0px 5px 0 rgba(0, 0, 0, 0), 0 0px 90px 0 rgba(59, 93, 199, 0.1);
}