Jump to content

MediaWiki:Common.css: Difference between revisions

From Adaris
No edit summary
No edit summary
Line 1: Line 1:
/* General styles for the main page */
/* Style for the "Explore More" links */
body.page-Main_Page {
.explore-more {
  font-family: Arial, sans-serif;
    font-style: italic;
  line-height: 1.6;
    margin-top: 10px; /* Add some spacing above the links */
}
    border-top: 1px solid #ccc; /* Add a subtle divider line */
 
    padding-top: 10px; /* Add some padding below the divider */
h2 {
  color: #333;
  margin-top: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}
 
ul {
  padding-left: 20px;
}
 
ul li {
  margin-bottom: 10px;
}
 
.gallery {
  margin-top: 20px;
  margin-bottom: 20px;
}
 
.gallery img {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
}


/* Styles for visual separation */
/* Style for the collapsible sections */
.explore-more, .more-links {
.mw-collapsible {
  margin-top: 20px;
    border: 1px solid #eee; /* Add a subtle border around each section */
  margin-bottom: 20px;
    margin-bottom: 15px; /* Add spacing between sections */
  padding: 10px;
    padding: 10px; /* Add padding inside each section */
  background-color: #f0f0f0;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
}
 
.explore-more {
  border-top: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
}
}


.more-links {
.mw-collapsible-toggle { /* Style for the section headers */
  border: 1px solid #ddd;
    font-weight: bold;
    cursor: pointer;
}
}

Revision as of 20:10, 31 August 2024

/* Style for the "Explore More" links */
.explore-more {
    font-style: italic;
    margin-top: 10px; /* Add some spacing above the links */
    border-top: 1px solid #ccc; /* Add a subtle divider line */
    padding-top: 10px; /* Add some padding below the divider */
}

/* Style for the collapsible sections */
.mw-collapsible {
    border: 1px solid #eee; /* Add a subtle border around each section */
    margin-bottom: 15px; /* Add spacing between sections */
    padding: 10px; /* Add padding inside each section */
}

.mw-collapsible-toggle { /* Style for the section headers */
    font-weight: bold;
    cursor: pointer;
}