forked from MapComplete/MapComplete
Add Wikipedia page box
This commit is contained in:
parent
df34239256
commit
9df263c362
12 changed files with 3605 additions and 3457 deletions
32
css/wikipedia.css
Normal file
32
css/wikipedia.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
/* This stylesheet reimplements a few classes from wikipedia to show their articles prettily */
|
||||
|
||||
.wikipedia-article {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.wikipedia-article .tright {
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.wikipedia-article .thumb {
|
||||
background: var(--subtle-detail-color);
|
||||
margin: 1rem;
|
||||
padding: 0.5rem;
|
||||
border: 1px solid var(--subtle-detail-color-light-contrast);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.wikipedia-article a {
|
||||
color: #0645ad;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.wikipedia-article a:hover a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.wikipedia-article p {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue