diff --git a/static/css/matemat.css b/static/css/matemat.css new file mode 100644 index 0000000..ef813ca --- /dev/null +++ b/static/css/matemat.css @@ -0,0 +1,31 @@ +.thumblist-item { + display: inline-block; + margin: 10px; + padding: 10px; + background: #f0f0f0; + text-decoration: none; +} + +.thumblist-item a { + text-decoration: none; +} + +.thumblist-item .imgcontainer { + width: 150px; + height: 150px; + position: relative; +} + +.thumblist-item .imgcontainer img { + max-width: 150px; + max-height: 150px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.thumblist-title { + display: block; + font-weight: bolder; +} diff --git a/templates/base.html b/templates/base.html index 6d4e379..76136bf 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,6 +3,7 @@
{% block head %}