MediaWiki:Resources/2015/landingpages-wlm.css: Difference between revisions

Content deleted Content added
Seddon (WMF) (talk | contribs)
No edit summary
Seddon (WMF) (talk | contribs)
No edit summary
Line 95:
border: none;
padding: 1.6em;
}
 
.button {
background-color: #4CAF50; /* Green */
border: none;
border-radius: 4px;
color: white;
padding: 10px 16px;
text-align: center;
font-weight: bold;
text-decoration: none;
font-size: 12px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
cursor: pointer;
z-index: 999;
}
 
@media (min-width: 1200px) { .button {display: inline-block; } }
@media (max-width: 1200px) { .button {width: 30%; } }
@media (max-width: 1200px) { .button {margin: auto; margin-top: 10px; } }
 
/* --- Buttons --- */
#{{{banner}}} a.buttonlink {
cursor: pointer;
text-decoration: none;
color: black;
}
 
#{{{banner}}} a.buttonlink:hover {
color: white;
}
 
.button1 {
background-color: #0082C0;
color: white;
position: static;
top: 45%;
right: 30px;
transform: translateY(-45%);
min-width: 110px;
}
 
.button1:hover {
background-color: #447FF5;
}