MediaWiki:Common.css: Difference between revisions

From The Seven Sages of Rome
No edit summary
No edit summary
 
(66 intermediate revisions by the same user not shown)
Line 2: Line 2:
@import url('/index.php?title=MediaWiki:BentoGrid.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:BentoGrid.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Navbar.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Navbar.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Breadcrumb.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:LandingPage.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:WikiTable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:MotifBadges.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomFiltered.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomDatatable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:InfoBox.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CollapsibleTree.css&action=raw&ctype=text/css');


.page-Main_Page .contentHeader {
@font-face {
display: none;
    font-family: 'Inter', sans-serif;
    src: url('/images/f/f1/Inter.ttf') format('ttf'),
    font-weight: 100 900;
    font-display: swap;
}
 
@font-face {
    font-family: 'Inter', sans-serif;
    src: url("/images/9/94/Inter-Italic.ttf") format('ttf'),
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}
 
@font-face {
    font-family: 'Prata', serif;
    src: url('/images/3/36/Prata-Regular.ttf') format('ttf'),
    font-weight: 100 900;
    font-display: swap;
}
 
body {
    font-family: 'Inter', sans-serif;
    background-color: #FCFCFA;
}
 
ul ul,
ul ol,
ol ul,
ol ol {
  padding-left: 1.5rem; /* or 2rem, whatever looks right */
  list-style-type: disc; /* or circle/square as you prefer */
}
 
.smw-datatable {
font-family: 'Inter', sans-serif !important;
}
 
@media (max-width: 768px) {
.mw-body.content {
padding: 0 !important;
}
}
 
.grid-container {
    display: block; /* Change from grid to block display */
    padding: 20px; /* Keep the padding */
}
}


.grid-container .wikitable {
    margin-bottom: 20px; /* Add space between tables */
    width: 100%; /* Make tables full width */
}


.card {
.card {
Line 78: Line 136:
}
}


/* Drilldown customization */
/* WIP banner */
.drilldown-results {
.wip-alert {
     -webkit-filter: blur(5px);
     position: fixed;
     -moz-filter: blur(5px);
    display: none;
     -o-filter: blur(5px);
    bottom: 0;
    -ms-filter: blur(5px);
    left: 50%;
    filter: blur(5px);
     transform: translate(-50%, 0);
     z-index: 999;
}
 
/* Version test */
/* Reset default list styling */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
}


.drilldown-categories-wrapper {
.maps-map {
border-radius: 0.5rem;
filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
}
 
.dtfh-floatingparent {
top: 48px !important;
}
 
.alert-info {
background: rgba(64, 112, 255, 0.1) !important;
backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
-webkit-backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
border: none !important;
}
 
.oo-ui-windowManager-modal > .oo-ui-dialog {
z-index: 999 !important;
}
 
.oo-ui-popupToolGroup-tools.oo-ui-popupToolGroup-active-tools .oo-ui-iconElement-icon {
position: static !important;
}
 
.oo-ui-menuSelectWidget {
z-index: 999 !important;
}
 
#catlinks {
border-radius: 0.75rem;
background-color: white;
padding: 0.5rem 1rem 0.5rem 1rem;
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
 
.srf-tagcloud-wordcloud {
width: unset !important;
a {
  font-family: "Inter", sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: -1px;
    }
   
a:hover {
text-decoration: underline !important;
}
}
 
.editor-view {
display: none;
display: none;
}
}


.drilldown-filter {
#firstHeading {
background-color: #fafafa;
font-family: 'Prata', 'serif';
    border-radius: 2px;
}
    padding: 5px;
 
    border-color: #e4e4e7;
 
    border-width: 1px;
/* Modern Light Search Bar Styling */
    border-style: solid;
#p-search.p-search {
  margin: 0;
}
 
#searchform.mw-search {
  width: 100%;
  max-width: 400px;
}
 
#searchform .input-group {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.03);
  transition: box-shadow 0.15s ease-in-out;
}
 
#searchform .input-group:focus-within {
  box-shadow: 0 0 0 3px rgb(0 0 0 / 0.05);
}
 
#searchInput.form-control {
  border: 1px solid hsl(240 5.9% 93%);
  background: hsl(0 0% 100%);
  color: hsl(240 10% 3.9%);
  font-size: 14px;
  padding: 0.625rem 1rem;
  height: auto;
  border-radius: 0.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  transition: all 0.15s ease-in-out;
}
 
#searchInput.form-control:focus {
  outline: none;
  background: hsl(0 0% 100%);
  border-color: hsl(240 5.9% 90%);
  box-shadow: none;
}
 
#searchInput.form-control::placeholder {
  color: hsl(240 4% 60%);
}
}


.drilldown-filter:hover {
.input-group-append {
    background-color: #f4f4f5;  
  margin-left: 0 !important;
}
}
.drilldown-values-toggle {
 
padding-right: 6px;
#searchGoButton.search-btn {
  background: hsl(0 0% 98%);
  border: 1px solid hsl(240 5.9% 93%);
  border-left: none;
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border-radius: 0.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  position: relative;
  width: 44px;
}
}


/* WIP banner */
#searchGoButton.search-btn:hover {
.wip-alert {
  background: hsl(0 0% 96%);
    position: fixed;
    display: none;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
}
}


#searchGoButton.search-btn:active {
  background: hsl(0 0% 94%);
}


/* CSS to be placed in MediaWiki:Common.css */
/* Add search icon using CSS */
.version-tree {
#searchGoButton.search-btn::before {
    text-align: center;
  content: "";
    padding: 20px;
  position: absolute;
    font-family: sans-serif;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
}


.tree-node {
/** Overview Styling **/
    display: inline-block;
.overview-description {
    vertical-align: top;
font-size: larger;
    text-align: center;
    padding: 0 10px;
    position: relative;
}
}


.node-content {
.description {
    position: relative;
font-size: larger;
    padding: 10px 0;
}
}


.node-box {
/** Version Tree Branches **/
    display: inline-block;
/* Container positioning */
    border: 1px solid #ccc;
.version-tree-wrapper {
    border-radius: 5px;
    padding: 5px 15px;
    background: #f8f9fa;
     position: relative;
     position: relative;
     z-index: 1;
     padding-top: 20px;
}
}


.node-children {
/* The vertical line coming down from 'Version branches' */
.version-root-title {
     position: relative;
     position: relative;
     margin-top: 20px;
    display: inline-block;
     margin-bottom: 40px; /* Space for the lines */
}
}


/* Lines connecting nodes */
.version-root-title::after {
.node-children:before {
     content: "";
     content: '';
     position: absolute;
     position: absolute;
    top: -20px;
     left: 50%;
     left: 50%;
     border-left: 1px solid #ccc;
     bottom: -20px;
    width: 2px;
     height: 20px;
     height: 20px;
    background-color: #000; /* Change line color here */
}
/* The horizontal connector and the two drops */
.tree-branch-row {
    position: relative;
}
}


.tree-node .tree-node:before {
/* Horizontal line */
     content: '';
.tree-branch-row::before {
     content: "";
     position: absolute;
     position: absolute;
     top: 0;
     top: -20px;
     left: 50%;
     left: 25%;
     border-left: 1px solid #ccc;
     right: 25%;
     height: 10px;
     height: 2px;
    background-color: #000;
}
}


.node-children .tree-node:first-child:after,
/* Vertical lines dropping to the column headers */
.node-children .tree-node:last-child:after {
.branch-column::before {
     content: '';
     content: "";
     position: absolute;
     position: absolute;
     top: 0;
     top: -20px;
     width: 50%;
     left: 50%;
     height: 10px;
    width: 2px;
     border-top: 1px solid #ccc;
     height: 20px;
     background-color: #000;
}
}


.node-children .tree-node:first-child:after {
/* shadcn-style input */
     right: 50%;
#tree-filter {
    display: flex;
    width: 100%;
    max-width: 600px;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #111827;
    transition: all 0.15s ease;
    outline: none;
     box-sizing: border-box;
}
}


.node-children .tree-node:last-child:after {
#tree-filter::placeholder {
     left: 50%;
     color: #9ca3af;
}
}


.node-children .tree-node:only-child:after {
#tree-filter:focus {
     display: none;
    border-color: #3b82f6;
     box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
}


/* Horizontal line connecting siblings */
#tree-filter:hover:not(:focus) {
.node-children {
     border-color: #9ca3af;
     position: relative;
}
}


.node-children:after {
#tree-filter:disabled {
     content: '';
     cursor: not-allowed;
     position: absolute;
     opacity: 0.5;
    top: 0;
     background-color: #f9fafb;
    left: 0;
    right: 0;
     border-top: 1px solid #ccc;
}
}


.node-children .tree-node:only-child:before {
/** Custom Manuscript Test **/
    height: 10px;
/* Manuscript Modern View Styles */
.manuscript-modern-view {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fafafa;
  padding: 2rem 0;
}
}


/* Modern WikiTable Styles */
/* Header Section */
.wikitable {
.manuscript-header {
    background-color: #ffffff;
  margin-bottom: 3rem;
    border-collapse: collapse;
    margin: 1em 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    width: 100%;
}
}


.wikitable > tr > th,
.badge-manuscript,
.wikitable > * > tr > th {
.badge-illustrated {
    background-color: #f8f9fa;
  display: inline-block;
    border: 1px solid #dee2e6;
  padding: 0.35rem 0.85rem;
    padding: 0.75rem;
  font-size: 0.75rem;
    color: #495057;
  font-weight: 600;
    font-weight: 600;
  text-transform: uppercase;
    text-align: left;
  letter-spacing: 0.05em;
    vertical-align: middle;
  border-radius: 2rem;
  margin-right: 0.5rem;
}
}


.wikitable > tr > td,
.badge-manuscript {
.wikitable > * > tr > td {
  background: rgba(64, 64, 64, 0.08);
    border: 1px solid #dee2e6;
  color: #404040;
    padding: 0.75rem;
  border: 1px solid rgba(64, 64, 64, 0.2);
    vertical-align: middle;
    color: #212529;
}
}


.wikitable > tr:nth-child(even),
.badge-illustrated {
.wikitable > * > tr:nth-child(even) {
  background: rgba(100, 100, 100, 0.1);
    background-color: rgba(0,0,0,0.02);
  color: #505050;
}
}


.wikitable > tr:hover,
.manuscript-title {
.wikitable > * > tr:hover {
  font-family: Georgia, "Times New Roman", serif;
    background-color: rgba(0,0,0,0.04);
  font-size: 3rem;
    transition: background-color 0.15s ease-in-out;
  font-weight: 500;
  line-height: 1.2;
  margin: 1rem 0 0.5rem 0;
  color: #1a1a1a;
}
}


/* Responsive table wrapper */
.manuscript-subtitle {
.table-responsive {
  font-family: Georgia, "Times New Roman", serif;
    display: block;
  font-size: 1.25rem;
    width: 100%;
  font-style: italic;
    overflow-x: auto;
  color: #666;
    -webkit-overflow-scrolling: touch;
  margin: 0.5rem 0;
    margin-bottom: 1rem;
}
}


/* Sort indicators if sortable tables are used */
.manuscript-meta-row {
.wikitable th.headerSort {
  display: flex;
    cursor: pointer;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  margin-top: 1.5rem;
}
}


.wikitable th.headerSort:after {
.meta-item {
    content: '↕';
  display: flex;
    display: inline-block;
  align-items: center;
    margin-left: 0.5em;
  gap: 0.5rem;
    opacity: 0.5;
  color: #666;
}
}


.wikitable th.headerSortUp:after {
.meta-icon {
    content: '↑';
  width: 1rem;
    opacity: 1;
  height: 1rem;
  color: #404040;
}
}


.wikitable th.headerSortDown:after {
.meta-value {
    content: '↓';
  font-weight: 500;
    opacity: 1;
  color: #1a1a1a;
}
}


/* Caption styling */
.ref-badge {
.wikitable > caption {
  font-family: "Courier New", monospace;
    padding: 0.75rem;
  font-size: 0.7rem;
    color: #6c757d;
  color: #404040;
    text-align: left;
  border: 1px solid rgba(64, 64, 64, 0.2);
    caption-side: top;
  padding: 0.15rem 0.4rem;
    font-style: italic;
  border-radius: 0.25rem;
    border-bottom: 2px solid #dee2e6;
}
}


/* Mobile optimizations */
/* Separator */
@media (max-width: 768px) {
.manuscript-separator {
    .wikitable > tr > th,
  border: none;
    .wikitable > * > tr > th,
  border-top: 1px solid #e0e0e0;
    .wikitable > tr > td,
  margin: 3rem 0;
    .wikitable > * > tr > td {
        padding: 0.5rem;
    }
}
}


/* Version test */
/* Section Styles */
/* Reset default list styling */
.manuscript-section {
ul {
   margin-bottom: 3rem;
   list-style-type: none;
  padding: 0;
  margin: 0;
}
}


/* Container for the entire hierarchy */
.section-title {
.hierarchy {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
   display: flex;
   display: flex;
  flex-direction: column;
   align-items: center;
   align-items: center;
   padding: 20px;
   gap: 0.5rem;
   background-color: #f4f4f4;
}
 
.section-icon {
  width: 1.25rem;
  height: 1.25rem;
   color: rgba(64, 64, 64, 0.6);
}
}


/* Shared node styling */
/* Detail Cards */
.hierarchy ul {
.detail-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1rem;
  height: 100%;
  transition: all 0.2s ease;
}
 
.detail-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(64, 64, 64, 0.2);
}
 
.detail-label {
   display: flex;
   display: flex;
   justify-content: center;
   align-items: center;
   position: relative;
   gap: 0.5rem;
   padding-top: 20px;
   color: #666;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
 
.detail-icon {
  width: 1rem;
  height: 1rem;
}
}


.hierarchy ul::before {
.detail-value {
   content: '';
   font-weight: 500;
   position: absolute;
   color: #1a1a1a;
  top: 0;
   font-size: 0.95rem;
   left: 50%;
  border-left: 2px solid #333;
  width: 0;
  height: 20px;
}
}


/* Individual list items */
/* Sources Section */
.hierarchy li {
.sources-list {
   position: relative;
   display: flex;
   padding: 20px 10px;
   flex-direction: column;
   text-align: center;
   gap: 1rem;
}
}


/* Horizontal lines connecting siblings */
.source-card {
.hierarchy li::before,
   background: #ffffff;
.hierarchy li::after {
   border: 1px solid #e5e5e5;
   content: '';
   border-radius: 0.5rem;
   position: absolute;
   padding: 1rem;
   top: 0;
   border-top: 2px solid #333;
}
}


.hierarchy li::before {
.source-label {
   right: 50%;
  font-size: 0.75rem;
   border-right: 2px solid #333;
  font-weight: 600;
   width: 50%;
   text-transform: uppercase;
   height: 20px;
   letter-spacing: 0.05em;
   color: #666;
   margin-bottom: 0.5rem;
}
}


.hierarchy li::after {
.source-content {
   left: 50%;
   font-size: 0.9rem;
   border-left: 2px solid #333;
   color: #1a1a1a;
  width: 50%;
   line-height: 1.6;
   height: 20px;
}
}


/* Remove lines for first and last children */
/* Sidebar Styles */
.hierarchy li:first-child::before {
.sidebar-sticky {
   border-top-left-radius: 10px;
  position: sticky;
   top: 2rem;
}
}


.hierarchy li:last-child::after {
.sidebar-card {
   border-top-right-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
   border-radius: 0.75rem;
  padding: 1.5rem;
}
}


/* Remove lines for items without children */
.sidebar-card-title {
.hierarchy li:only-child::before,
  font-family: Georgia, "Times New Roman", serif;
.hierarchy li:only-child::after {
  font-size: 1.25rem;
   display: none;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
   gap: 0.5rem;
}
}


/* Node styling */
.sidebar-title-icon {
.hierarchy a {
   width: 1.25rem;
  display: inline-block;
   height: 1.25rem;
  padding: 10px;
   color: #404040;
  background-color: #fff;
   border: 2px solid #333;
   border-radius: 5px;
  text-decoration: none;
   color: #333;
  white-space: nowrap;
}
}


.hierarchy a:hover {
/* Date Rows */
   background-color: #e0e0e0;
.date-rows {
  display: flex;
   flex-direction: column;
  gap: 1rem;
}
}


.badge a {
.date-row {
color: white !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
}


.badge a.new {
.date-label {
color: #ffcccb !important;
  font-size: 0.875rem;
  color: #666;
}
}


.maps-map {
.date-value {
border-radius: 0.5rem;
  font-family: "Courier New", monospace;
filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}
}


  .hero-container {
.date-separator {
    padding-bottom: 2rem;
  border: none;
  }
  border-top: 1px solid #f0f0f0;
  margin: 0;
}


      .mix-blend-multiply {
/* Origin Section */
      mix-blend-mode: multiply;
.origin-content {
      transition: opacity 0.5s ease;
  display: flex;
      }
  flex-direction: column;
      .hero-section {
  gap: 0.75rem;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 0.25rem;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      height: calc(100dvh - 100px);
      width: 100%;
      transition: transform 0.3s ease;
      }
      .hero-section:hover img {
      transform: scale(1.05);
      }
      .hero-section:hover .mix-blend-multiply {
      opacity: 0.8;
      }
      .hero-section img {
      transition: transform 0.3s ease;
      object-fit: cover;
      object-position: center;
      inset: 0;
      position: absolute;
      height: 100%;
      width: 100%;
      }
      .hero-overlay {
      position: absolute;
      height: 100%;
      width: 100%;
      inset: 0;
      background-color: black;
      opacity: 0.7;
      }
      .hero-text-container {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 1rem;
      }
      .hero-title {
      text-align: center;
      color: white;
      font-weight: 600;
      font-size: 3rem;
      line-height: 1;
      }
      .hero-subtitle {
      text-align: center;
      color: white;
      font-size: 1.3rem;
      line-height: 1;
      max-width: 70%;
      }
      .caret {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 2rem;
      color: white;
      cursor: pointer;
      animation: bounce 2s infinite;
      }
      @keyframes bounce {
      0%, 20%, 50%, 80%, 100% {
      transform: translateY(0) translateX(-50%);
      }
      40% {
      transform: translateY(-10px) translateX(-50%);
      }
      60% {
      transform: translateY(-5px) translateX(-50%);
      }
      }
      @media (max-width: 400px) {
      .hero-title {
      font-size: 2.2rem;
      }
      .hero-subtitle {
      font-size: 1.4rem;
      }
      }
      @media (min-width: 768px) {
      .hero-title {
      font-size: 4rem;
      }
      .hero-subtitle {
      font-size: 1.8rem;
      }
      }
      .content-container {
        width: 100%; /* Match hero section width */
        max-width: 1600px; /* or your preferred max width */
        margin: 0 auto; /* Center the container */
        padding: 20px; /* Add padding for content */
      }
      .landing-page-row {
      border-radius: 0.25rem;
      background: oklch(0.374 0.01 67.558);
      color: white;
      padding: 1.5rem;
      margin-bottom: 5rem;
      ul {
      list-style: none;
      text-align: left;
      }
      }
      .fit-img img {
      border-radius: 0.25rem;
      }
.editor-view {
  display: none;
}
}


#hero-title-database {
.origin-label {
font-weight: 900;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}
}


  .fancy-underline {
.origin-value {
    position: relative;
  display: flex;
   }
   align-items: center;
 
  gap: 0.5rem;
  .fancy-underline::after {
  font-weight: 500;
    content: '';
   color: #1a1a1a;
    position: absolute;
    left: -5%;
    bottom: -5px;
    width: 110%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' fill='none'%3E%3Cpath d='M1 5.5C32 2.5 62 7.5 101 4.5C139.5 1.5 190 5.5 199 3.5' stroke='%234B96FF' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
   }
 
.breadcrumb {
padding-bottom: 1rem !important;
}
}


.breadcrumb {
.origin-icon {
padding-bottom: 1rem;
  width: 1rem;
  height: 1rem;
  color: #404040;
}
}
.breadcrumb-item i {
 
   margin-left: 5px;
/* Digital Access */
   color: rgba(0, 0, 0, 0.2);
.digital-description {
  font-size: 0.875rem;
  color: #666;
   margin-bottom: 1rem;
   line-height: 1.5;
}
}


/*** hover breadcrumbs ***/
.digital-links {
.breadcrumb-item:hover {
  display: flex;
   background-color: #f9f9f9;
  flex-direction: column;
  gap: 0.5rem;
   padding-top: 0.5rem;
}
}


.breadcrumb-item:hover:after {
.digital-links a {
   border: 14px solid #f9f9f9;
  display: flex;
   border-left-color: transparent;
  justify-content: space-between;
   border-bottom-color: transparent;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(100, 100, 100, 0.05);
   border: 1px solid transparent;
   border-radius: 0.5rem;
  color: #1a1a1a;
   text-decoration: none;
  transition: all 0.2s ease;
}
}


.breadcrumb-item:first-child:hover {
.digital-links a:hover {
   background-color: rgba(52, 134, 235, 0.15);
   background: rgba(100, 100, 100, 0.1);
  border-color: #e5e5e5;
}
}


.breadcrumb-item + .breadcrumb-item::before {
.no-digital {
content: "" !important;
  background: rgba(100, 100, 100, 0.05);
padding-right: 0 !important;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}
}


.breadcrumb-item:hover {
/* Responsive adjustments */
background-color: transparent !important;
@media (max-width: 991px) {
  .manuscript-title {
    font-size: 2.25rem;
  }
 
  .sidebar-sticky {
    position: static;
    margin-top: 2rem;
  }
}
}


.dtfh-floatingparent {
@media (max-width: 767px) {
top: 50px !important;
  .manuscript-title {
    font-size: 1.75rem;
  }
 
  .manuscript-meta-row {
    flex-direction: column;
    gap: 1rem;
  }
}
}

Latest revision as of 08:15, 14 January 2026

/* CSS placed here will be applied to all skins */
@import url('/index.php?title=MediaWiki:BentoGrid.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Navbar.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:Breadcrumb.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:LandingPage.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:WikiTable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:MotifBadges.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomFiltered.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CustomDatatable.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:InfoBox.css&action=raw&ctype=text/css');
@import url('/index.php?title=MediaWiki:CollapsibleTree.css&action=raw&ctype=text/css');

@font-face {
    font-family: 'Inter', sans-serif;
    src: url('/images/f/f1/Inter.ttf') format('ttf'),
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Inter', sans-serif;
    src: url("/images/9/94/Inter-Italic.ttf") format('ttf'),
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Prata', serif;
    src: url('/images/3/36/Prata-Regular.ttf') format('ttf'),
    font-weight: 100 900;
    font-display: swap;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #FCFCFA;
}

ul ul,
ul ol,
ol ul,
ol ol {
  padding-left: 1.5rem; /* or 2rem, whatever looks right */
  list-style-type: disc; /* or circle/square as you prefer */
}

.smw-datatable {
	font-family: 'Inter', sans-serif !important;
}

@media (max-width: 768px) {
	.mw-body.content {
		padding: 0 !important;
	}
}

.grid-container {
    display: block; /* Change from grid to block display */
    padding: 20px; /* Keep the padding */
}

.grid-container .wikitable {
    margin-bottom: 20px; /* Add space between tables */
    width: 100%; /* Make tables full width */
}

.card {
	height: 250px;
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	border-radius: 0.75rem;
}

.card:hover {
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.card-block {
	display: grid;
	align-content: space-between;
	height: 100%;
}

.primary-btn {
  margin-right: auto;
  margin-left: auto;
  background-color: #222;
  border-radius: 4px;
  border-style: none;
  box-sizing: border-box;
  color: #fff !important;
  cursor: pointer;
  display: inline-block;
  font-family: "Farfetch Basis","Helvetica Neue",Arial,sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: none;
  min-height: 44px;
  min-width: 10px;
  outline: none;
  overflow: hidden;
  padding: 9px 20px 8px;
  position: relative;
  text-align: center;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: 100%;
}

.primary-btn:hover,
.primary-btn:focus {
	opacity: .75;
}

.smw-datatable select {
	background: #fff;
}

.smw-datatable th a {
	color: black;
}

#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
	max-width: 98%;
}

#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > input,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .select2,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .pf-select2-container,
#pfForm :not(.dateInput):not(.monthInput):not(.yearInput) > .oo-ui-comboBoxInputWidget {
	width: 100% !important;
}

/* WIP banner */
.wip-alert {
    position: fixed;
    display: none;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
}

/* Version test */
/* Reset default list styling */
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.maps-map {
	border-radius: 0.5rem;
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
}

.dtfh-floatingparent {
	top: 48px !important;
}

.alert-info {
	background: rgba(64, 112, 255, 0.1) !important;
	backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
	-webkit-backdrop-filter: blur(10px) saturate(100%) contrast(45%) brightness(140%) !important;
	border: none !important;
}

.oo-ui-windowManager-modal > .oo-ui-dialog {
	z-index: 999 !important;
}

.oo-ui-popupToolGroup-tools.oo-ui-popupToolGroup-active-tools .oo-ui-iconElement-icon {
	position: static !important;
}

.oo-ui-menuSelectWidget {
	z-index: 999 !important;
}

#catlinks {
	border-radius: 0.75rem;
	background-color: white;
	padding: 0.5rem 1rem 0.5rem 1rem;
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.srf-tagcloud-wordcloud {
	width: unset !important;
	
	a {
	  font-family: "Inter", sans-serif !important;
	  font-weight: 500 !important;
	  letter-spacing: -1px;
    }
    
	a:hover {
		text-decoration: underline !important;
	}
}

.editor-view {
	display: none;
}

#firstHeading {
	font-family: 'Prata', 'serif';
}


/* Modern Light Search Bar Styling */
#p-search.p-search {
  margin: 0;
}

#searchform.mw-search {
  width: 100%;
  max-width: 400px;
}

#searchform .input-group {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.03);
  transition: box-shadow 0.15s ease-in-out;
}

#searchform .input-group:focus-within {
  box-shadow: 0 0 0 3px rgb(0 0 0 / 0.05);
}

#searchInput.form-control {
  border: 1px solid hsl(240 5.9% 93%);
  background: hsl(0 0% 100%);
  color: hsl(240 10% 3.9%);
  font-size: 14px;
  padding: 0.625rem 1rem;
  height: auto;
  border-radius: 0.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  transition: all 0.15s ease-in-out;
}

#searchInput.form-control:focus {
  outline: none;
  background: hsl(0 0% 100%);
  border-color: hsl(240 5.9% 90%);
  box-shadow: none;
}

#searchInput.form-control::placeholder {
  color: hsl(240 4% 60%);
}

.input-group-append {
  margin-left: 0 !important;
}

#searchGoButton.search-btn {
  background: hsl(0 0% 98%);
  border: 1px solid hsl(240 5.9% 93%);
  border-left: none;
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border-radius: 0.5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  position: relative;
  width: 44px;
}

#searchGoButton.search-btn:hover {
  background: hsl(0 0% 96%);
}

#searchGoButton.search-btn:active {
  background: hsl(0 0% 94%);
}

/* Add search icon using CSS */
#searchGoButton.search-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/** Overview Styling **/
.overview-description {
	font-size: larger;
}

.description {
	font-size: larger;
}

/** Version Tree Branches **/
/* Container positioning */
.version-tree-wrapper {
    position: relative;
    padding-top: 20px;
}

/* The vertical line coming down from 'Version branches' */
.version-root-title {
    position: relative;
    display: inline-block;
    margin-bottom: 40px; /* Space for the lines */
}

.version-root-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    width: 2px;
    height: 20px;
    background-color: #000; /* Change line color here */
}

/* The horizontal connector and the two drops */
.tree-branch-row {
    position: relative;
}

/* Horizontal line */
.tree-branch-row::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 25%;
    right: 25%;
    height: 2px;
    background-color: #000;
}

/* Vertical lines dropping to the column headers */
.branch-column::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: #000;
}

/* shadcn-style input */
#tree-filter {
    display: flex;
    width: 100%;
    max-width: 600px;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: #111827;
    transition: all 0.15s ease;
    outline: none;
    box-sizing: border-box;
}

#tree-filter::placeholder {
    color: #9ca3af;
}

#tree-filter:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#tree-filter:hover:not(:focus) {
    border-color: #9ca3af;
}

#tree-filter:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    background-color: #f9fafb;
}

/** Custom Manuscript Test **/
/* Manuscript Modern View Styles */
.manuscript-modern-view {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fafafa;
  padding: 2rem 0;
}

/* Header Section */
.manuscript-header {
  margin-bottom: 3rem;
}

.badge-manuscript,
.badge-illustrated {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  margin-right: 0.5rem;
}

.badge-manuscript {
  background: rgba(64, 64, 64, 0.08);
  color: #404040;
  border: 1px solid rgba(64, 64, 64, 0.2);
}

.badge-illustrated {
  background: rgba(100, 100, 100, 0.1);
  color: #505050;
}

.manuscript-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 1rem 0 0.5rem 0;
  color: #1a1a1a;
}

.manuscript-subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #666;
  margin: 0.5rem 0;
}

.manuscript-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 2.5rem;
  margin-top: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
}

.meta-icon {
  width: 1rem;
  height: 1rem;
  color: #404040;
}

.meta-value {
  font-weight: 500;
  color: #1a1a1a;
}

.ref-badge {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  color: #404040;
  border: 1px solid rgba(64, 64, 64, 0.2);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}

/* Separator */
.manuscript-separator {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 3rem 0;
}

/* Section Styles */
.manuscript-section {
  margin-bottom: 3rem;
}

.section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(64, 64, 64, 0.6);
}

/* Detail Cards */
.detail-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1rem;
  height: 100%;
  transition: all 0.2s ease;
}

.detail-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(64, 64, 64, 0.2);
}

.detail-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.detail-icon {
  width: 1rem;
  height: 1rem;
}

.detail-value {
  font-weight: 500;
  color: #1a1a1a;
  font-size: 0.95rem;
}

/* Sources Section */
.sources-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.source-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.5rem;
  padding: 1rem;
}

.source-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 0.5rem;
}

.source-content {
  font-size: 0.9rem;
  color: #1a1a1a;
  line-height: 1.6;
}

/* Sidebar Styles */
.sidebar-sticky {
  position: sticky;
  top: 2rem;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.sidebar-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-title-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #404040;
}

/* Date Rows */
.date-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.date-label {
  font-size: 0.875rem;
  color: #666;
}

.date-value {
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
}

.date-separator {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 0;
}

/* Origin Section */
.origin-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.origin-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.origin-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #1a1a1a;
}

.origin-icon {
  width: 1rem;
  height: 1rem;
  color: #404040;
}

/* Digital Access */
.digital-description {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.digital-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.digital-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(100, 100, 100, 0.05);
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.digital-links a:hover {
  background: rgba(100, 100, 100, 0.1);
  border-color: #e5e5e5;
}

.no-digital {
  background: rgba(100, 100, 100, 0.05);
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .manuscript-title {
    font-size: 2.25rem;
  }

  .sidebar-sticky {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .manuscript-title {
    font-size: 1.75rem;
  }

  .manuscript-meta-row {
    flex-direction: column;
    gap: 1rem;
  }
}