Looka (talk | contribs)
No edit summary
Looka (talk | contribs)
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
.custom-panel {
.custom-panel {
  width: 350px;
  float: right;
   border: 2px solid #808080;  
   border: 2px solid #808080;  
   padding: 5px;
   padding: 0 5px;
   margin-left: 10px;
}
 
@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 {
.custom-panel table {
  width: 100%;
}
.custom-panel tbody {
  display: table;
   width: 100%;
   width: 100%;
}
}
Line 19: Line 35:
.custom-panel .panel-center {
.custom-panel .panel-center {
   text-align: 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;
}