Template:Ways to Give/CountrySelect: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
fix for RTL
more cleanup
Line 2: Line 2:
<style>
<style>
.continent-header {
.continent-header {
float: none !important;
float: none !important;
/* width: 12em; */
margin-bottom: 2px;
padding: .2em 2em;
margin-bottom: 2px;
border: 0;
padding: .2em 2em;
border: 0;
outline: 0;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 95% center;
outline: 0;
background-color: #eaecf0;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 95% center;
background-color: #F6F6F6;
font-size: 1em;
font-size: 1em;
font-weight: bold;
font-weight: bold;
cursor: pointer;
cursor: pointer;
}
}
.sp-dir-rtl .continent-header {
.sp-dir-rtl .continent-header {
background-position: 5% center;
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/HW_open_arrow.svg/10px-HW_open_arrow.svg.png) no-repeat 5% center;
}
}
.continent-header:hover {
.continent-header:hover {
text-decoration: underline;
text-decoration: underline;
}
}


.country-list {
.country-list {
max-width: 80em;
max-width: 80em;
padding: 1rem;
}
}
@media (min-device-width: 40em) {
@media (min-device-width: 40em) {
.country-list {
.country-list {
-moz-column-width: 15em;
-moz-column-width: 12em;
-webkit-column-width: 15em;
-webkit-column-width: 12em;
column-width: 15em;
column-width: 12em;
}
}
}
}

.country-list ul {
.country-list ul {
list-style: none;
list-style: none;
margin: 0;
margin: 0;
}
.country-list li {
margin: 0;
padding: 0 0 .5rem 0;
font-size: 16px;
display: inline-block;
width: 100%;
}
}
</style>
</style>

Revision as of 12:22, 1 May 2019