Looka (talk | contribs)
No edit summary
Looka (talk | contribs)
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
.custom-panel {
.custom-panel {
   width: 350px;
   border: 2px solid #808080;
  float: right;  
  padding: 0 5px;
  border:2px solid #808080;  
}
   padding: 5px;
 
@media (min-width: 576px) {
  .custom-panel {
    width: 100% - 14px;
  }
}
 
@media (min-width: 768px) {
  .custom-panel {
    width: 350px;
    float: right;
    margin-left: 10px;
   }
}
}


Line 10: Line 22:
}
}


.custom-panel td {
.custom-panel tbody {
   text-align: center;
   display: table;
  width: 100%;
}
}


.custom-panel .panel-center {
.custom-panel .panel-title {
   text-align: center;  
   text-align: center;  
   background-color: #808080;  
   background-color: #808080;  
   color: white;
   color: white;
}
.custom-panel .panel-center {
  text-align: center;
}
/* Hide file usage and metadata section */
#filehistory,
#filetoc,
#filelinks,
#mw-imagepage-section-filehistory,
#mw-imagepage-section-linkstoimage,
#metadata,
.mw-imagepage-section-metadata {
    display: none !important;
}
}

Latest revision as of 14:53, 12 May 2026

.custom-panel {
  border: 2px solid #808080; 
  padding: 0 5px;
}

@media (min-width: 576px) {
  .custom-panel {
    width: 100% - 14px;
  }
}

@media (min-width: 768px) {
  .custom-panel {
    width: 350px;
    float: right;
    margin-left: 10px;
  }
}

.custom-panel table {
  width: 100%;
}

.custom-panel tbody {
  display: table;
  width: 100%;
}

.custom-panel .panel-title {
  text-align: center; 
  background-color: #808080; 
  color: white;
}

.custom-panel .panel-center {
  text-align: center; 
}

/* Hide file usage and metadata section */
#filehistory,
#filetoc,
#filelinks,
#mw-imagepage-section-filehistory,
#mw-imagepage-section-linkstoimage,
#metadata,
.mw-imagepage-section-metadata {
    display: none !important;
}