MediaWiki:Common.css

From softwear.directory
Revision as of 09:16, 18 January 2024 by Admin (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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 {
	background-color: white;
	transition: background-color 1s ease;
}
/* Mediawiki search results */
.mw-search-profile-tabs {
	display: none;
}
#mw-searchoptions {
	display: none;
}

/* 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;
	display: none;
}
#mw-head-base {
	margin-left: 0!important;
}
.mw-body, #left-navigation, #mw-data-after-content, .mw-footer {
    margin-left: 0!important;
}

.mw-body {
    border: none;
    margin-left: 15px!important;
}
.smw-columnlist-container {
  position: absolute;
  top: 502px;
  width: 100%;
}
#catlinks {
    display: none;
}
#p-logo a {
    display: none;
}
.mw-footer {
    display: none;
}
a.mw-selflink {
font-weight: normal;
text-decoration: underline;
}
a.mw-selflink:hover {
font-weight: normal;
text-decoration: underline;
} 
/* ------>Start Style for header */
#header-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
}
.head-col {
    width: calc(20% - 2px);
    box-sizing: border-box;
    height: fit-content;
    padding: 0 7px;
    margin-bottom: 30px;
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
}
  
.head-col:not(:first-child) {
margin-left: -1px;

}

.head-col:nth-child(5n + 1) {
margin-left: 0;
transform: none;
}

.head-col:last-child {
margin-right: 0;
}
.head-col-extend {
    width: calc(40% - 2px);
    box-sizing: border-box;
    height: fit-content;
    margin-bottom: 30px;
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
    border-bottom: 1px solid black;
}
.head-box {
	border: 1px solid black;
}
.head-nav {
  padding-left: 15px;
  padding-top: 5px;
  line-height: 23px;
}
.head-links {
  padding-top: 5px;
}
.head-filter {
  padding-top: 5px;
}
.header-entry-number {
	line-height: 28px;
}
.header-authors-title {
  border-top: 1px solid black;
  line-height: 28px;
}
.header-authors-title a {
  color: black;
  text-decoration: none;
}
.header-authors-title a:hover {
  font-style: italic;
}
.header-type {
  border-top: 1px solid black;
  line-height: 28px;
}
.header-index a {
	cursor: pointer;
	color: black;
}
.header-index a:hover {
	color: black;
}
.header-people a{
	cursor: pointer;
	color: black!important;
}
.header-people a:hover{
	color: black;
}
.header-community a {
	cursor: pointer;
	color: black!important;
}
.header-community a:hover{
	color: black;
}
.header-date {
  color: gray;
}
.header-about a {
	cursor: pointer;
	color: black!important;
}
.header-about a:hover{
	color: black;
}
.about-hide {
  display: none;
}
.header-about:hover + .about-hide {
  display: block;
  color: black;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 1.4px;
  width: 200%;
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  padding-top: 5px;
}
#about-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-bottom: 12%;
    position: absolute;
    top: 507px;
}
.about-col {
    width: calc(40% - 2px);
    box-sizing: border-box;
    height: fit-content;
    padding: 0 0 0 0;
    margin-bottom: 30px;
    margin-right: 15px;
}
.about-details-col {
    width: calc(18% - 2px);
    box-sizing: border-box;
    height: fit-content;
    margin-bottom: 30px;
    font-size: 10pt;
    line-height: 16px;
    letter-spacing: 0.4px;
    border-bottom: 1px solid black;
}
.about-details-label {
    border-top: 1px solid black;
    padding-top: 5px;
    margin-bottom: 0 !important;
    text-indent: 50px;
}
.about-details-text {
  margin: 3px 0 !important;
}
.about-main-text {
  text-indent: 100px;
  font-size: 23px;
  line-height: 31px;
  letter-spacing: 1.29px;
  margin-top: 0 !important;
}
.about-bullets {
	text-indent: 100px;
	padding-left: 100px;
}
.about-more-text {
  text-indent: 100px;
  font-size: 23px;
  line-height: 31px;
  letter-spacing: 1.29px;
  margin-top: 0 !important;
}
.about-label {
	font-size: 15px;
	line-height: 19px;
	letter-spacing: 0.48px;
	border-top: none!important;
	text-indent: 100px;
	margin-bottom: 0 !important;
}
.about-details-contact-label {
	font-size: 15px;
	line-height: 19px;
	letter-spacing: 0.48px;
	border-top: none!important;
	text-indent: 50px;
	margin-bottom: 0 !important;
}
.about-details-contact {
	font-size: 15px;
	line-height: 18px;
	text-indent: 50px;
	letter-spacing: 0.84px;
	margin-top: 0 !important;
}
/* End Style for header<------ */

#list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  position: absolute;
  top: 538px;
}
#list.fade-out {
  position: absolute;
  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: 5px 7px 2px 7px;
  margin-bottom: 30px;
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.card:hover {
    
}

.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 {
	border-top: 1px solid black;
}
.people a {
	color: black;
	text-decoration: underline;
}
.people a:hover {
	font-style: italic;
	color: black;
}
.type {
	border-top: 1px solid black;
}
.type a {
	color: black;
	text-decoration: none;
}
.type a:hover {
	font-style: italic;
	color: black;
}
.images {
	border-top: 1px solid black;
	padding-top: 5px;
	padding-bottom: 5px;
	display: flex; /* Use flexbox to align children in a row */
    flex-wrap: nowrap; /* Prevent wrapping to the next line */
}
.image1 {
    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 */
}
.image1 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;
}
.image1: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: auto; /* Enables scrolling if content overflows */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    z-index: 2; /* Ensure it's above #list */
}
/* Hides scrollbar for Webkit browsers */
#show-article-wrapper::-webkit-scrollbar {
    display: none;
}
#show-article {
    background-color: white;
    border: 1px solid;
    padding: 10px;
    margin-right: 5%; 
    margin-top: 10%; 
}

#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 {
	border-bottom: 1px solid black;
	font-size: 12pt;
	line-height: 25px;
	letter-spacing: 0.4px;
}
.article-people {
  font-size: 16pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  text-decoration: underline;
  text-align: center;
  padding-top: 15px;
  margin-bottom: 5px!important;
}
.article-people a {
	color: black;
	text-decoration: underline;
}
.article-people a:hover {
	font-style: italic;
	color: black;
}
.article-title-link {
    border-bottom: 1px solid black;
	padding-bottom: 7px;
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Align items horizontally in the center */
    justify-content: center; /* Align items vertically in the center */
    text-align: center; /* Center the text */
}
.article-title {
  font-size: 16pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  text-align: center;
  margin-bottom: 0!important;
  margin-top: 0 !important;
  max-width: 70%;
}
.article-type {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  border-bottom: 1px solid black;
  margin-top: 0 !important;
  padding: 5px 0 5px 0;
}
.article-type a {
	color: black;
	text-decoration: none;
}
.article-type a:hover {
	font-style: italic;
	color: black;
}
.article-entity {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
}
.article-discipline {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
}
.article-subject {
  font-size: 12pt;
  line-height: 25px;
  letter-spacing: 0.4px;
  margin-top: 0 !important;
}
.article-images {
  border-bottom: 1px solid black;
  padding-bottom: 10px;
}
.article-image {
  position: relative;
}
.external-link-icon {
    display: flex; /* Use flexbox */
    align-items: center; /* Align items vertically in the center */
    justify-content: center; /* Center the content horizontally */
    width: 20px; /* Adjust the width as needed */
    height: 20px; /* Adjust the height as needed */
}

.external-link-icon img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Maintain aspect ratio */
}

.image-container {
    position: relative;
    display: inline-block; /* Adjusts to the size of the image */
}

.image-container img {
    display: block;
    max-width: 100%; 
    width: auto;
    height: 400px; 
}

.caption-image1, .caption-image2, .caption-image3, .caption-image4, .caption-image5 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    padding: 10px;
    text-align: center;
    font-size: 16pt;
    line-height: 16.5pt;
    font-style: italic;
    max-width: 100%;
    white-space: normal; /* Allow text wrapping */
    overflow: visible; /* Let the text be visible */
    text-overflow: ellipsis; /* Use ellipsis for text overflow */
    border-radius: 5px; /* Optional: for better appearance */
}

.image-container:hover .caption-image1,
.image-container:hover .caption-image2,
.image-container:hover .caption-image3,
.image-container:hover .caption-image4,
.image-container:hover .caption-image5 {
    display: block;
}

.article-description {
  font-size: 15pt;
  line-height: 25px;
  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: 25px;
  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;
}

#related-articles {
    margin-top: 60px;
    margin-right: 4.5%;
}
.related-articles-label {
    text-transform: uppercase;
	margin-bottom: 0 !important;
	text-indent: 50px;
}
.related-articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0; /* No gap between articles */
}
.related-article {
    width: calc(50% - 1px); /* Adjusted width */
    box-sizing: border-box;
    border: 1px solid black;
    height: fit-content;
    padding: 7px;
    margin-bottom: 30px;
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
    cursor: pointer;
}

.related-article:not(:first-child) {
    margin-left: -1px;
}

.related-article:nth-child(2n + 1) {
    margin-left: 0;
}

.related-article:last-child {
    margin-right: 0;
}
.related-article-entry-number {
	
}
.related-article-people {
	text-decoration: underline;
	border-top: 1px solid black;
}
.related-article-title {
	
}
.related-article-type {
	border-top: 1px solid black;
}
#close-button {
	float: right; 
	cursor: pointer; 
	padding: 8px 0;
	font-size: 12pt;
	line-height: 25px;
	letter-spacing: 0.4px;
}
/* End Style for article window<------ */
.footer {
    display: grid; 
    grid-template-columns: 1fr auto 1fr;
    align-items: center; 
    position: fixed;
    left: 0;
    bottom: 15px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.suggestions {
  display: none!important;
}

.simpleSearch {
  grid-column: 1 / 2; 
  padding-left: 3%;

}
#simpleSearch {
  grid-column: 1 / 2; 
  text-align: left; 
}

#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 {
    grid-column: 2 / 3; /* Position in the center column */
	text-align: center; 
}

/* Styling for Authors/Creators */
.smw-column {
	width: 20%!important;
}
.smw-column ul li {
	list-style: none;
}
.smw-column-header {
	font-weight:normal;
	border-bottom: 1px solid black;
    margin-right: 10px;
}
.smw-column ul {
  font-size: 16pt;
  line-height: 27px;
  letter-spacing: 0.4px;
  text-align: center;
  text-decoration: underline;
}
.smw-column a {
  color: black;
}

/* Styling for Community */
#community-list {
    position: absolute;
    top: 538px;
    margin: 0 auto;
    -moz-column-count: 5;
    -webkit-column-count: 5;
    column-count: 5;
    -moz-column-gap: 10px;
    -webkit-column-gap: 10px;
    column-gap: 10px;
}

.community-card {
    font-size: 12pt;
    line-height: 25px;
    letter-spacing: 0.4px;
    cursor: pointer;
    width: 100%;
    margin: 10px 0;
    display: inline-block;
    box-sizing: border-box;
    padding: 5px 7px 2px 7px;
    border-bottom: 1px solid black; /* Bottom border for all cards */
}

#community-list .community-card:first-of-type {
    border-top: 1px solid black; /* Top border only for the first card */
}

#community-list .community-card:last-of-type {
    border-bottom: none; /* No bottom border for the last card */
}