Add wikipedia box

This commit is contained in:
Pieter Vander Vennet 2021-10-02 22:31:16 +02:00
parent 1edf829cad
commit 8b4442c8cc
20 changed files with 401 additions and 149 deletions

View file

@ -812,10 +812,6 @@ video {
margin: 0px;
}
.m-4 {
margin: 1rem;
}
.m-2 {
margin: 0.5rem;
}
@ -824,8 +820,8 @@ video {
margin: 0.75rem;
}
.m-6 {
margin: 1.5rem;
.m-4 {
margin: 1rem;
}
.my-2 {
@ -852,8 +848,8 @@ video {
margin-left: 0.75rem;
}
.ml-2 {
margin-left: 0.5rem;
.mr-3 {
margin-right: 0.75rem;
}
.mb-2 {
@ -892,6 +888,10 @@ video {
margin-top: 0px;
}
.ml-2 {
margin-left: 0.5rem;
}
.mt-4 {
margin-top: 1rem;
}
@ -912,18 +912,10 @@ video {
margin-bottom: 0.25rem;
}
.mr-3 {
margin-right: 0.75rem;
}
.mb-4 {
margin-bottom: 1rem;
}
.ml-4 {
margin-left: 1rem;
}
.box-border {
box-sizing: border-box;
}
@ -1794,8 +1786,6 @@ svg, img {
box-sizing: content-box;
width: 100%;
height: 100%;
display: unset;
vertical-align: unset;
}
.mapcontrol svg path {

View file

@ -1,7 +1,7 @@
/* This stylesheet reimplements a few classes from wikipedia to show their articles prettily */
.wikipedia-article {
font-family: sans-serif;
font-family: sans-serif !important;
}
.wikipedia-article .tright {
@ -9,6 +9,12 @@
clear: right;
}
.wikipedia-article svg, img {
width: unset;
height: unset;
display: unset;
}
.wikipedia-article .thumb {
background: var(--subtle-detail-color);
margin: 1rem;
@ -17,15 +23,17 @@
border-radius: 0.5rem;
}
.wikipedia-article a {
color: #0645ad;
background: none;
.wikipedia-article a:hover a:focus {
text-decoration: underline !important;
}
.wikipedia-article a:hover a:focus {
text-decoration: underline;
.wikipedia-article a {
color: #0645ad !important;
background: none !important;
text-decoration: none;
}
.wikipedia-article p {
margin-bottom: 0.5rem;
}