MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 229: | Line 229: | ||
text-decoration: underline; | text-decoration: underline; | ||
text-align: center; | text-align: center; | ||
padding-top: | padding-top: 15px; | ||
} | } | ||
.article-title { | .article-title { |
Revision as of 12:31, 11 January 2024
/* CSS placed here will be applied to all skins */ /* White background in body */ @font-face { font-family: 'HALColant-TextRegular'; src: url('/fonts/HALColant-TextRegular.woff2') format('woff2'), url('/fonts/HALColant-TextRegular.woff') format('woff'); font-weight: normal; font-style: normal; } body { font-family: 'HALColant-TextRegular', sans-serif; background-color: white; transition: background-color 1s ease; } /* Mediawiki horizontal navigation styles */ #mw-head { background-color: white; transition: background-color 1s ease; display: none; } #mw-page-base { background-color: white; transition: background-color 1s ease; background-image: none; } .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: 0!important; } .mw-body { border: none; margin-left: 15px!important; } #p-logo a { display: none; } .mw-footer { display: none; } #list { display: flex; flex-wrap: wrap; margin: 0 auto; } #list.fade-out { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: white; opacity: 0.3; } .card { width: calc(20% - 2px); box-sizing: border-box; border: 1px solid black; height: fit-content; padding: 7px; margin-bottom: 30px; font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; cursor: pointer; } .card:hover { background-color: lightgray; } .card:not(:first-child) { margin-left: -1px; } .card:nth-child(5n + 1) { margin-left: 0; transform: none; } .card:last-child { margin-right: 0; border-right: 1px solid black; } .mw-body .firstHeading { display: none; } #mw-panel { display: none; } .people { text-decoration: underline; border-top: 1px solid black; } .type { border-top: 1px solid black; } .images { border-top: 1px solid black; padding-top: 5px; display: flex; /* Use flexbox to align children in a row */ flex-wrap: nowrap; /* Prevent wrapping to the next line */ } .image { margin-right: 10px; /* Adjust the spacing between images */ transition: transform 0.3s ease; /* Add transition for smooth scaling */ transform-origin: top left; /* Set the transform origin */ } .image img { display: block; width: auto; height: 75px; } .image2 { margin-right: 10px; /* Adjust the spacing between images */ transition: transform 0.3s ease; /* Add transition for smooth scaling */ transform-origin: top left; /* Set the transform origin */ } .image2 img { display: block; width: auto; height: 75px; } .image3 { margin-right: 10px; /* Adjust the spacing between images */ transition: transform 0.3s ease; /* Add transition for smooth scaling */ transform-origin: top left; /* Set the transform origin */ } .image3 img { display: block; width: auto; height: 75px; } .image:hover, .image2:hover, .image3:hover { transform: scale(2); /* Increase the scale factor as needed */ } /* Style the article window */ #show-article-wrapper { display: none; position: fixed; /* Change to fixed */ top: 0; right: 0; width: 40%; height: 100vh; /* Set to full viewport height */ overflow-y: auto; /* Enable vertical scrolling when content overflows */ z-index: 2; /* Ensure it's above #list */ } #show-article { background-color: white; border: 1px solid; padding: 10px; margin-right: 5%; margin-top: 5%; } #article-frame { /* You can style #article-frame as needed */ } .article-metadata { display: flex; border-bottom: 1px solid black; } .article-metadata-label { text-transform: uppercase; margin-bottom: 0 !important; } .article-metadata-value { text-transform: capitalize; font-size: 12pt; letter-spacing: 0.4px; margin-top: 0 !important; } .article-metadata-column:not(:first-child) { margin-left: 20px; } .article-metadata-column:nth-child(n+2) { margin-left: 10%; } .article-label-description { text-transform: uppercase; margin-bottom: 0 !important; text-indent: 50px; } .article-label-image { text-transform: uppercase; margin-bottom: 0 !important; text-indent: 50px; } .article-label-reflection { text-transform: uppercase; margin-bottom: 0 !important; text-indent: 50px; } .article-label-quote { text-transform: uppercase; margin-bottom: 0 !important; text-indent: 50px; } .article-label-modification-date { text-transform: uppercase; margin-bottom: 0 !important; text-indent: 50px; color: grey; display: inline-block; } .article-entry-number { font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; border-bottom: 1px solid black; } .article-people { font-size: 16pt; line-height: 23.5px; letter-spacing: 0.4px; text-decoration: underline; text-align: center; padding-top: 15px; } .article-title { font-size: 16pt; line-height: 23.5px; letter-spacing: 0.4px; text-align: center; border-bottom: 1px solid black; padding-bottom: 18px; margin-bottom: 0 !important; } .article-type { font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; border-bottom: 1px solid black; margin-top: 0 !important; padding: 5px 0 5px 0; } .article-entity { font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; margin-top: 0 !important; } .article-discipline { font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; margin-top: 0 !important; } .article-subject { font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; margin-top: 0 !important; } .article-description { font-size: 15pt; line-height: 23.5px; letter-spacing: 0.4px; text-align: left; text-indent: 50px; margin-top: 0 !important; border-bottom: 1px solid black; padding-bottom: 5px; } .article-reflection { font-size: 15pt; line-height: 23.5px; letter-spacing: 0.4px; text-align: left; text-indent: 50px; margin-top: 0 !important; border-bottom: 1px solid black; padding-bottom: 5px; } .article-quote { font-size: 21pt; font-style: italic; line-height: 30px; letter-spacing: 0.4px; text-align: left; text-indent: 50px; margin-top: 0 !important; border-bottom: 1px solid black; padding-bottom: 5px; } .article-modification-date { font-size: 11.5pt; margin-left: -43px; color: grey; line-height: 30px; letter-spacing: 0.4px; text-align: left; text-indent: 50px; margin-top: 0 !important; display: inline-block; } #close-button { float: right; cursor: pointer; padding: 5px 10px; font-size: 12pt; line-height: 23.5px; letter-spacing: 0.4px; } /* End Style for article window<------ */ .footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: transparent; text-align: left; } .suggestions { display: none!important; } #simpleSearch { position: relative; display: flex; align-items: center; } #searchform { padding-left: 2%; padding-bottom: 2%; } #simpleSearch:before { content: ""; position: absolute; top: 0; left: 0; width: 200%; height: 400%; background-color: rgba(255, 255, 255, 0.7); z-index: -1; margin-left: -10%; } #searchInput, .closing-bracket { display: none; border: none; } #simpleSearch:hover #searchInput { display: inline; border-bottom: 1px solid black; margin-left: -8px; } #simpleSearch:hover .closing-bracket { display: inline; } .nrs { margin-left: auto; padding-right: 50%; } #searchInput { margin-right: 8px; /* Adjust the spacing between search input and closing bracket */ }