forked from MapComplete/MapComplete
Add wikipedia box
This commit is contained in:
parent
1edf829cad
commit
8b4442c8cc
20 changed files with 401 additions and 149 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue