Difference between revisions of "MediaWiki:Common.css"

From Beds24 Wiki
Jump to navigation Jump to search
 
(115 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
   font-weight: 400;
 
   font-weight: 400;
 
   src: local('Roboto'), local('Roboto-Regular'),
 
   src: local('Roboto'), local('Roboto-Regular'),
       url('https://www.beds24.com/include/fonts/roboto-v20-latin/roboto-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
+
       url('https://beds24.com/include/fonts/roboto-v20-latin/roboto-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://www.beds24.com/include/fonts/roboto-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
+
       url('https://beds24.com/include/fonts/roboto-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
 
}
 
}
  
Line 41: Line 41:
  
  
 +
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
  
 
@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";
 
  
 
body {
 
body {
 
background-color: #ffffff;
 
background-color: #ffffff;
 
background-image: none;
 
background-image: none;
font-family: Verdana,Geneva,sans-serif !important;
+
font-family: Roboto-Regular, sans-serif;
 
min-height: 400px;
 
min-height: 400px;
 
color: #112a49;
 
color: #112a49;
Line 54: Line 53:
  
 
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
 
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: Verdana,Geneva,sans-serif !important;
+
font-family: Roboto-Regular, sans-serif !important;
 
}
 
}
  
Line 91: Line 90:
 
border-color: #fe746c;
 
border-color: #fe746c;
 
color: #ffffff;
 
color: #ffffff;
 +
}
 +
 +
#simpleSearch {
 +
border: 2px solid #019cde;
 +
border-radius: 2rem;
 +
height: 2em;
 +
}
 +
 +
#simpleSearch #searchInput {
 +
padding: 0.4em 0 0.4em 0.4em;
 
}
 
}
  
Line 102: Line 111:
  
 
#toc, .toc{
 
#toc, .toc{
background-color: #f7f7f7;
+
/*background-color: #f7f7f7;*/
 
width: auto;
 
width: auto;
 
padding-right: 40px;
 
padding-right: 40px;
Line 110: Line 119:
 
text-align: left;
 
text-align: left;
 
font-size: 1.5em;
 
font-size: 1.5em;
 +
}
 +
 +
.toc h2{
 +
font-weight: normal;
 +
}
 +
 +
.heading{
 +
font-size: 1.8em;
 +
 
}
 
}
  
 
h1, h2, h3, h4, h5, h6 {
 
h1, h2, h3, h4, h5, h6 {
 
color: #112a49;
 
color: #112a49;
font-weight: bold;
 
 
border-bottom: none;
 
border-bottom: none;
 
}
 
}
  
.mw-category-generated h3{
+
.shadow{
 +
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25) !important;
 +
border-radius: 0.4rem;   
 +
padding: 10px;
 +
margin: 7px;
 +
}
 +
 
 +
.summarybox{
 +
background-color: #f7f7f7;
 +
padding: 10px;
 +
}
 +
 
 +
.summarybox p {
 +
margin-bottom: 0.2rem;
 +
}
 +
 
 +
.summarybox ul {
 +
margin-bottom:1em;
 +
}
 +
 
 +
.summarybox li {
 +
margin-bottom: 0;
 +
}
 +
 
 +
.bluebox{
 +
background-color: #EFF9FD;
 +
padding: 10px;
 +
}
 +
 
 +
.page-Main_Page .mw-headline-number{
 +
display: none !important;
 +
}
 +
 
 +
.mw-category-generated {
 +
border-top: 1px solid;
 +
margin-top: 10px;
 +
}
 +
 
 +
.mw-category-generated h3, #ca-nstab-category, .mw-category-generated p{
 
display: none;
 
display: none;
 
}
 
}
  
 +
/*hide left tabs*/
 +
#ca-nstab-category, #ca-nstab-main{
 +
display: none;
 +
}
 +
 +
 +
/*Make discussion white*/
 +
#ca-talk, #ca-talk a{
 +
color: #ffffff !important}
 +
 +
 +
 +
/*Collapsible*/
 +
.mw-collapsible{
 +
margin-bottom: 0.5em;
 +
}
  
 
.headline-collapse{
 
.headline-collapse{
font-size: 1.2em;
+
background-color: #f7f7f7;
font-weight: bold;
+
border: 1px solid #c7c7c7;
background-color: #f7f7f7;  
+
font-weight: bold;  
padding: 10px;
+
padding: 2px;
 +
margin: 0;
 +
}
 +
 
 +
.headline-collapse p, .headline-collapse h1, .headline-collapse h2, .headline-collapse h3, .headline-collapse h4, .headline-collapse h5 {
 +
margin: 0;
 +
}
 +
 
 +
.headline-collapse h1, .headline-collapse h2, .headline-collapse h3, .headline-collapse h4, .headline-collapse h5 {
 +
font-size: 1em;
 +
padding-top: 3px;
 
}
 
}
 +
 +
  
 
.mw-collapsible span.mw-collapsible-toggle {
 
.mw-collapsible span.mw-collapsible-toggle {
padding-right: 10px;
+
padding: 10px 10px 0 10px;
 
}
 
}
 
  
 
pre {  
 
pre {  
Line 141: Line 223:
 
white-space: -o-pre-wrap;    /* Opera 7 */
 
white-space: -o-pre-wrap;    /* Opera 7 */
 
word-wrap: break-word;      /* Internet Explorer 5.5+ */
 
word-wrap: break-word;      /* Internet Explorer 5.5+ */
/*background-color: #caeaf8;
+
border-left: 2px solid #019cde;
 +
border-top: none !important;  /* for mobile */
 +
padding-bottom: none !important;  /* for mobile */
 +
border-right: none !important;  /* for mobile */
 +
background-color: #EFF9FD;
 +
font-family: Roboto-Regular, sans-serif !important;
 +
/*
 +
color: #019cde;
 
border-color: #017baf;
 
border-color: #017baf;
color: #019cde;*/
 
font-family: Verdana,Geneva,sans-serif !important;
 
 
border: none;
 
border: none;
border-left: 3px solid #019cde;
+
border-left: 3px solid #019cde;*/
 
padding-left: 2px:
 
padding-left: 2px:
 +
}
 +
 +
.warning {
 +
background-color: #fee0dd;
 +
border-left: 1px solid #fe746c;
 +
color: #fe746c;
 +
padding: 0.5rem;
 +
line-height: 1.3;
 +
font-size: 100%;
 +
}
 +
 +
.warning a, .warning a:visited {
 +
color: #fe746c !important;
 +
font-weight: bold !important;
 +
}
 +
 +
.warning a:hover {
 +
text-decoration: underline !important;
 +
}
 +
 +
 +
.warning ul {
 +
list-style-image: none;
 
}
 
}
  
Line 184: Line 294:
 
}
 
}
  
.firstHeading { display: none }
+
/* Headline - includes category*/
 +
.firstHeading {  
 +
display: none }
  
/* link to page where redirected from
+
 
#contentSub {  
 
#contentSub {  
 
display: none }
 
display: none }
 
*/
 
  
  
  
#p-tb, .mw-search-formheader,  #p-namespaces, #footer-places-about {  
+
#p-tb, .mw-search-formheader,  #footer-places-about {  
 
display: none }
 
display: none }
  
Line 214: Line 324:
 
color: #019cde !important;
 
color: #019cde !important;
 
}
 
}
 +
 +
.shadow a, .shadow a:visited{
 +
color: #112a49 !important;
 +
}
 +
 +
.shadow a:hover {
 +
color: #019cde !important;
 +
}
 +
 +
 +
#bodyContent .startbox a,  #bodyContent .startbox a:link,  #bodyContent .startbox  a:visited,  #bodyContent .startbox  a:active {
 +
color: #019cdet;
 +
}
 +
 +
#bodyContent .startbox a:hover {
 +
color: #112a49;
 +
}
 +
 +
.whitelink  {
 +
color: #fff !important;
 +
}
 +
 +
whitelink:visited {
 +
color: #fff !important;
 +
}
 +
  
 
#bodyContent a:link,  a:visited, a:active {
 
#bodyContent a:link,  a:visited, a:active {
Line 386: Line 522:
 
.mw-jump-link {
 
.mw-jump-link {
 
display: none;
 
display: none;
 +
}
 +
 +
video {
 +
border: 3px solid #1a1a1a;
 
}
 
}
  
Line 396: Line 536:
 
background-color: #ffffff;
 
background-color: #ffffff;
 
background-image: none;
 
background-image: none;
border-top: 1px solid;
 
 
}
 
}
  

Latest revision as of 09:05, 29 August 2024

/* CSS placed here will be applied to all skins */
/* roboto-italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'),
       url('fonts/roboto-v20-latin/roboto-v20-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/roboto-v20-latin/roboto-v20-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
       url('https://beds24.com/include/fonts/roboto-v20-latin/roboto-v20-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://beds24.com/include/fonts/roboto-v20-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'),
       url('https://www.beds24.com/include/fonts/roboto-v20-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://www.beds24.com/include/fonts/roboto-v20-latin/roboto-v20-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* roboto-500italic - latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 500;
  src: local('Roboto Medium Italic'), local('Roboto-MediumItalic'),
       url('https://www.beds24.com/include/fonts/roboto-v20-latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('https://www.beds24.com/include/fonts/roboto-v20-latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


@import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css";


body {
background-color: #ffffff;
background-image: none;
font-family: Roboto-Regular, sans-serif;
min-height: 400px;
color: #112a49;
}

.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: Roboto-Regular, sans-serif !important;
}

#p-logo {
left: 25px;
}

#p-logo {
height: 80px;
}

#p-logo a {
height: 80px;
}

.rootpage-Main_Page .fas{
font-size: 130%;
}


.btn {
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: 2rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-danger {
background-color: #fe746c;
border-color: #fe746c;
color: #ffffff;
}

#simpleSearch {
border: 2px solid #019cde;
border-radius: 2rem;
height: 2em;
}

 #simpleSearch #searchInput {
padding: 0.4em 0 0.4em 0.4em;
}


#toc, .toc, .mw-warning, .toccolours {
background-color: transparent;
font-size: 100%;
border: none;
width: 100%;
}

#toc, .toc{
/*background-color: #f7f7f7;*/
width: auto;
padding-right: 40px;
}

#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
text-align: left;
font-size: 1.5em;
}

.toc h2{
font-weight: normal;
}

.heading{
font-size: 1.8em;

}

h1, h2, h3, h4, h5, h6 {
color: #112a49;
border-bottom: none;
}

.shadow{
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25) !important;
border-radius: 0.4rem;    
padding: 10px;
margin: 7px;
}

.summarybox{
background-color: #f7f7f7;
padding: 10px;
}

.summarybox p {
margin-bottom: 0.2rem;
}

.summarybox ul {
margin-bottom:1em;
}

.summarybox li {
margin-bottom: 0;
}

.bluebox{
background-color: #EFF9FD;
padding: 10px;
}

.page-Main_Page .mw-headline-number{
display: none !important;
}

.mw-category-generated {
border-top: 1px solid;
margin-top: 10px;
}

.mw-category-generated h3, #ca-nstab-category, .mw-category-generated p{
display: none;
}

/*hide left tabs*/
#ca-nstab-category, #ca-nstab-main{
display: none;
}


/*Make discussion white*/
#ca-talk, #ca-talk a{ 
color: #ffffff !important}



/*Collapsible*/
.mw-collapsible{
margin-bottom: 0.5em;
}

.headline-collapse{
background-color: #f7f7f7;
border: 1px solid #c7c7c7;
font-weight: bold; 
padding: 2px;
margin: 0;
}

.headline-collapse p, .headline-collapse h1, .headline-collapse h2, .headline-collapse h3, .headline-collapse h4, .headline-collapse h5 {
margin: 0;
}

.headline-collapse h1, .headline-collapse h2, .headline-collapse h3, .headline-collapse h4, .headline-collapse h5 {
font-size:  1em;
padding-top: 3px;
}



.mw-collapsible span.mw-collapsible-toggle {
padding: 10px 10px 0 10px;
}

pre { 
white-space: pre-wrap;       /* css-3 */
white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
white-space: -pre-wrap;      /* Opera 4-6 */
white-space: -o-pre-wrap;    /* Opera 7 */
word-wrap: break-word;       /* Internet Explorer 5.5+ */
border-left: 2px solid #019cde; 
border-top: none !important;  /* for mobile */
padding-bottom: none !important;  /* for mobile */
border-right: none !important;  /* for mobile */
background-color: #EFF9FD;
font-family: Roboto-Regular, sans-serif !important;
/*
color: #019cde;
border-color: #017baf;
border: none;
border-left: 3px solid #019cde;*/
padding-left: 2px:
}

.warning {
background-color: #fee0dd;
border-left: 1px solid #fe746c; 
color: #fe746c; 
padding: 0.5rem; 
line-height: 1.3;
font-size: 100%;
}

.warning a, .warning a:visited {
color: #fe746c !important; 
font-weight: bold !important;
}

.warning a:hover {
text-decoration: underline !important;
}


.warning ul {
list-style-image: none;
}


.catlinks {
border: none;
background-color: transparent;
}



.circle {
/*width: 45px;
height: 45px;
padding: 8px;
border-radius: 50%;*/
padding: 3px 10px 3px 10px;
text-align: center;
font-weight: bold;
background: #fe746c;
color: #ffffff;
}

.mw-content-ltr {
padding: 0 10px 0 10px;
}


img {
height: auto !important;
max-width: 100% !important;
}

.thumbimage {
border: none;
}

/* Headline - includes category*/
.firstHeading { 
display: none }

 
#contentSub { 
display: none }



#p-tb, .mw-search-formheader,  #footer-places-about { 
display: none }


body.page-Main_Page h1.firstHeading { display:none; }

#mw-indicator-mw-helplink a {
display: none;
}


#mw-pages p { display: none; }

a {
color: #008ACC !important;
}

a:visited {
color: #019cde !important;
}

.shadow a, .shadow a:visited{
color: #112a49 !important;
}

.shadow a:hover {
color: #019cde !important;
}


 #bodyContent .startbox a,  #bodyContent .startbox a:link,  #bodyContent .startbox  a:visited,   #bodyContent .startbox  a:active {
color: #019cdet;
}

 #bodyContent .startbox a:hover {
color: #112a49;
}

.whitelink  {
color: #fff !important;
}

whitelink:visited {
color: #fff !important;
}


#bodyContent a:link,  a:visited, a:active {
color: #019cde;
text-decoration: none;
font-weight: normal;
}


#bodyContent  a:hover a:focus {
color: #019cde;
text-decoration: underline;
}



div#mw-panel div.portal div.body ul li a:link,  a:visited, a:active  {
color: #112a49;
}

div#mw-panel div.portal div.body ul li a:hover  {
text-decoration: underline;
}


div.vectorTabs li a:link,  a:visited, a:active  {
color: #019cde;
}

div.vectorTabs li a:hover {
text-decoration: underline;
}

div#mw-panel div.portal div.body ul li a:hover {
text-decoration: none !important;
}


div.vectorTabs li a:link, a:visited, a:active {
    color: #019cde;
}
div#mw-panel div.portal div.body ul li a:link, a:visited, a:active {
    color: #112a49;
}
#bodyContent a:link, a:visited, a:active {
    color: #019cde;
    text-decoration: none;
    font-weight: normal;
}

.jumbotron {
background-color: #fff;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25) !important;
padding: 20px;
}

#mw-panel #p-logo + .portal {
background-image: none;
margin-top: 1.5em;
}


#p-navigation {
padding-top: 0;
margin-top: 0;
}

#p-navigation li{
padding: 6px !important;
margin-bottom: 5px !important;
/*background-color: #f4f4f4;*/
transition: color 0.2s linear 0s;
border-bottom: 1px solid #cccccc;
}

#p-navigation li:hover{
text-decoration: none !important;
border-left: 3px solid #019cde;
cursor: pointer;
}

#p-navigation a{
color: #112a49!important;
}

#p-navigation a:hover {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
filter: alpha(opacity=70);
-moz-opacity: 0.7;
-khtml-opacity: 0.7;
opacity: 0.7;
text-decoration:none;
}

div#mw-panel {
width: 12em;
}

div#content, div#footer {
margin-left: 12em;
}


input {font-weight: bold; font-size: 120%}


div#content {
background-image: none;
clear: both;
border: none;
}

#mw-page-base {
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

div.vectorTabs {
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

div.selected {
background-color: #ffffff;
background-image: none;
}

#mw-head-base {
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

div.vectorTabs ul li {
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

div.vectorTabs span  {
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

div#mw-head div.vectorMenu h5{
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

div#mw-head div.vectorMenu h5 a{
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

.mw-normal-catlinks a !important {
color: black;
}

.mw-normal-catlinks a:link, a:visited, a:active !important{
color: black;
}

table.wikitable {
background-color: #ffffff;
}

.mw-jump-link {
display: none;
}

video {
border: 3px solid #1a1a1a;
}

#footer  a {
color: black;
}

div#footer {
background-color: #F3F3F3;
background-color: #ffffff;
background-image: none;
}

#footer-info { display: none; }


/*responsive*/


.col-1, .col-3,  .col-4, .col-5, .col-6, .col-7, .col-8,  .col-9,  .col-10, .col-11, .col-12 {
  position: relative;
  min-height: 1px;
  float: left;
}

.col-12 {
  width: 100%;
}

.col-6 {
  width: 50%;
}

.col-4 {
  width: 33.33333333%;
}
.col-3 {
  width: 25%;
}

@media (max-width: 768px) {
.col-6 {
  width: 100%;
}

.col-4 {
  width: 100%;
}
  }