Module:NavboxMobile/styles.css: Difference between revisions

From Ikwipedia
No edit summary
No edit summary
Line 1: Line 1:
/* Module:NavboxMobile/styles.css */


/* Container Styles */
.navboxMobile {
.navboxMobile {
  box-sizing: border-box;
    box-sizing: border-box;
  border: 1px solid #a2a9b1;
    border: 1px solid #a2a9b1;
  width: 100%;
    width: 100%;
  clear: both;
    clear: both;
  font-size: 88%;
    font-size: 100%; /* Adjust font size for better readability on mobile */
  text-align: center;
    text-align: left; /* Align text to the left for mobile */
  margin: 1em auto 0;
    padding: 1px;
  background-color: #fdfdfd;
    margin: 1em 0 0; /* Top margin to separate from other content */
    background-color: #fdfdfd;
}
}


/* Inner and Subgroup Tables */
.navboxMobile-inner,
.navboxMobile-subgroup {
    width: 100%;
}
/* Title Row */
.navboxMobile-title {
.navboxMobile-title {
  background-color: #ccf;
    padding: 0.5em 1em;
  padding: 0.25em 1em;
    line-height: 1.5em;
  line-height: 1.5em;
    text-align: center;
  text-align: center;
    background-color: #ccf;
    font-size: 1.2em;
}
 
.navboxMobile-title-content {
    font-size: 1.1em;
    margin: 0.5em 0;
}
 
/* Above and Below Content */
.navboxMobile-abovebelow-content,
.navboxMobile-below-content {
    padding: 0.5em 1em;
    line-height: 1.5em;
    background-color: #ddf;
    font-size: 1em;
}
 
/* Group Content */
.navboxMobile-group-content {
    padding: 0.25em 1em;
    line-height: 1.5em;
    text-align: left;
    background-color: #ddf;
    font-size: 1em;
}
 
/* List Content */
.navboxMobile-list-content {
    line-height: 1.5em;
    padding: 0.25em 0;
    font-size: 1em;
}
 
/* List with Group */
.navboxMobile-list-with-group {
    text-align: left;
    border-left: 2px solid #fdfdfd;
}
 
/* Odd and Even Rows */
.navboxMobile-even {
    background-color: #f7f7f7;
}
 
.navboxMobile-odd {
    background-color: transparent;
}
 
/* Styles Container */
.navboxMobile-styles {
    /* Additional styles if necessary */
}
 
/* Container Padding */
.navboxMobile-container {
    padding: 3px;
}
 
/* Navbar Specific Styles */
.navboxMobile .navbar {
    display: block;
    font-size: 100%;
}
}


.navboxMobile-group {
.navboxMobile-title .navbar {
  background-color: #e6e6ff;
    float: left;
  padding: 0.25em 1em;
    text-align: left;
  text-align: right;
    margin-right: 0.5em;
}
}


.navboxMobile-list {
/* Responsive Adjustments */
  padding: 0.25em;
@media all and (min-width: 720px) {
  text-align: left;
    .navboxMobile {
        /* Example: Adjustments for larger mobile screens */
    }
}
}


@media all and (max-width: 720px) {
/* Hide on Print */
  .navboxMobile {
@media print {
    font-size: 80%;
    .navboxMobile {
  }
        display: none !important;
    }
}
}

Revision as of 23:18, 23 November 2024

/* Module:NavboxMobile/styles.css */

/* Container Styles */
.navboxMobile {
    box-sizing: border-box;
    border: 1px solid #a2a9b1;
    width: 100%;
    clear: both;
    font-size: 100%; /* Adjust font size for better readability on mobile */
    text-align: left; /* Align text to the left for mobile */
    padding: 1px;
    margin: 1em 0 0; /* Top margin to separate from other content */
    background-color: #fdfdfd;
}

/* Inner and Subgroup Tables */
.navboxMobile-inner,
.navboxMobile-subgroup {
    width: 100%;
}

/* Title Row */
.navboxMobile-title {
    padding: 0.5em 1em;
    line-height: 1.5em;
    text-align: center;
    background-color: #ccf;
    font-size: 1.2em;
}

.navboxMobile-title-content {
    font-size: 1.1em;
    margin: 0.5em 0;
}

/* Above and Below Content */
.navboxMobile-abovebelow-content,
.navboxMobile-below-content {
    padding: 0.5em 1em;
    line-height: 1.5em;
    background-color: #ddf;
    font-size: 1em;
}

/* Group Content */
.navboxMobile-group-content {
    padding: 0.25em 1em;
    line-height: 1.5em;
    text-align: left;
    background-color: #ddf;
    font-size: 1em;
}

/* List Content */
.navboxMobile-list-content {
    line-height: 1.5em;
    padding: 0.25em 0;
    font-size: 1em;
}

/* List with Group */
.navboxMobile-list-with-group {
    text-align: left;
    border-left: 2px solid #fdfdfd;
}

/* Odd and Even Rows */
.navboxMobile-even {
    background-color: #f7f7f7;
}

.navboxMobile-odd {
    background-color: transparent;
}

/* Styles Container */
.navboxMobile-styles {
    /* Additional styles if necessary */
}

/* Container Padding */
.navboxMobile-container {
    padding: 3px;
}

/* Navbar Specific Styles */
.navboxMobile .navbar {
    display: block;
    font-size: 100%;
}

.navboxMobile-title .navbar {
    float: left;
    text-align: left;
    margin-right: 0.5em;
}

/* Responsive Adjustments */
@media all and (min-width: 720px) {
    .navboxMobile {
        /* Example: Adjustments for larger mobile screens */
    }
}

/* Hide on Print */
@media print {
    .navboxMobile {
        display: none !important;
    }
}