forked from MapComplete/MapComplete
Refactoring: move css directory into 'public'
This commit is contained in:
parent
94111dbdb7
commit
052f685bbd
6 changed files with 0 additions and 0 deletions
46
public/css/wikipedia.css
Normal file
46
public/css/wikipedia.css
Normal file
|
@ -0,0 +1,46 @@
|
|||
/* This stylesheet reimplements a few classes from wikipedia to show their articles prettily */
|
||||
|
||||
.wikipedia-article {
|
||||
font-family: sans-serif !important;
|
||||
}
|
||||
|
||||
.wikipedia-article .tright {
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.wikipedia-article svg, .wikipedia-article img {
|
||||
width: unset;
|
||||
height: unset;
|
||||
display: unset;
|
||||
}
|
||||
|
||||
.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:hover a:focus {
|
||||
text-decoration: underline !important;
|
||||
}
|
||||
|
||||
.wikipedia-article a {
|
||||
color: #0645ad !important;
|
||||
background: none !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.disable-links .wikipedia-article a {
|
||||
color: black !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