Difference between revisions of "MediaWiki:Mobile.css"

From Regiapædia
Jump to: navigation, search
(Tags: Mobile edit, Mobile web edit)
(Tags: Mobile edit, Mobile web edit)
Line 10: Line 10:
 
         background-color: #000000 !important;
 
         background-color: #000000 !important;
 
}
 
}
.search-overlay .overlay-header,
+
/*
.search-overlay .results,
+
** Search portlet
.search-overlay .search-feedback {
+
*/
background: none !important;
+
#p-search {
 +
position: relative;
 +
z-index: 3;
 +
overflow: hidden;
 +
 +
}
 +
input.searchButton {
 +
margin-top: 1px;
 +
font-size: 95%;
 
}
 
}
  
input.search {
+
#searchGoButton {
background-color: #000000 !important;
+
padding-left: .5em;
        color: #FFFFFF;
+
padding-right: .5em;
 +
font-weight: bold;
 
}
 
}
input.search::-webkit-input-placeholder {
+
 
color: #6D6D6D;
+
#searchInput {
}
+
width: 10.9em;
input.search:-ms-input-placeholder {
+
margin: 0;
color: #6D6D6D;
+
font-size: 95%;
 
}
 
}
input.search::-ms-input-placeholder {
+
#p-search .pBody {
color: #6D6D6D;
+
padding: .5em .4em .4em .4em;
 +
text-align: center;
 
}
 
}
  

Revision as of 18:31, 13 June 2017

/* CSS placed here will affect users of the mobile site */
.mobile-float-reset { float: none !important; width: 100% !important; }

/* Hides Desktop only elements */
#mf-HideOnMobile { display: none; }

.header {
	margin-top: 0;
	border-top: none;
        background-color: #000000 !important;
}
/*
** Search portlet
*/
#p-search {
	position: relative;
	z-index: 3;
	overflow: hidden;
	
}
input.searchButton {
	margin-top: 1px;
	font-size: 95%;
}

#searchGoButton {
	padding-left: .5em;
	padding-right: .5em;
	font-weight: bold;
}

#searchInput {
	width: 10.9em;
	margin: 0;
	font-size: 95%;
}
#p-search .pBody {
	padding: .5em .4em .4em .4em;
	text-align: center;
}

/* non-content area */
body.search-overlay {
    background-color: #000000 !important;
    color: white;
}

/* Footer */
div#footer {
  margin-left: 160px !important;
  border: none;
  background-color: #000000;
  color: #ffffff;
}

div#footer ul li {
  color: #ffffff;
}

div#footer a {
    color: #ffffff;
}

div#footer a:visited {
    color: #ffffff;
}


/* content area */
#content {
    background: #FFFFD5; 
    color: #000000;
    border: 1px solid #000000;
    border-top: 1px solid #000000;
}

h1, h2, h3, h4, h5, h6 {
    color: #800000; 
    font-weight: bold;
    font-family: sans-serif;
}

#gBox {
    width:130px;
    height:120px;
    background-color:LightGray;
}

#gBoxImg {
    width:130px;
}