UnNews:Main Page/styles.css

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
.breaker {
  padding: 8px 0 8px 0;
}

.the_table hr {
	background-color: #ccc;
}

#siteSub,
#contentSub,
h1.firstHeading {
  display: none !important;
}

.latest_news {
  padding-left: 6px;
}

div#siteNotice {
  text-align: center;
}

/* [[Template:Lead 2.0]] */
.l_table {
  border: 0px;
  height: 100%;
  width: 110%;
}

.l_table tr {
  height: 110%;
}

.l_table td {
  width: 110%;
}

.l_box {}

.l_image {
  vertical-align: top;
  padding-bottom: 5px;
  padding-right: 8px;
  float: left;
}

.l_title {
  font-size: 1.2rem !important;
  font-weight: bold;
  line-height: 100%;
  vertical-align: top;
  padding-bottom: 0.5rem;
}

.l_title a:link {
  color: #000000;
  text-decoration: none;
}

.l_title a:visited {
  color: #000000;
  text-decoration: none;
}

.l_title a:hover {
  color: #000000;
  text-decoration: underline;
}

.l_title a:active {
  color: #000000;
  text-decoration: none;
}

.l_summary {
  vertical-align: top;
  font-size: 100%;
}

.l_tail {
  font-size: 90%;
  height: 15px;
}

.l_img_type {
  /*float: left;*/
  padding-bottom: 3px;
}


.l_edit {
  clear: left;
  float: right;
}

/* main page header, see Commons.css for background-image */
.ns-102 .mp_header {
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  width: 100%;
  clear: both;
  background-color: #fdfec8;
  border: 1px solid #ccc;
  padding: 5px 10px;
}

.mp_header_left {
  width: 50%;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 24px;
}

.welcome_to_wn {
  font-size: 28px;
  font-weight: bold;
  padding-top: -4px;
  padding-bottom: 3px;
  letter-spacing: 1px;
}

.freenews {
  font-size: 120%;
  font-weight: bold;
}

.mp_header_center {
  width: 2px;
  align: center;
  white-space: nowrap;
}

.mp_header_right {
  width: 50%;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
}

.header_lefty_text {
  font-size: 95%;
  margin-bottom: 0px;
  line-height: 17px;
}

.header_lefty_text a:link {
  text-decoration: none;
  color: #0645ad;
}

.header_lefty_text a:visited {
  text-decoration: none;
  color: #0645ad;
}

.header_lefty_text a:hover {
  text-decoration: underline;
}

.plinky {
  margin-bottom: 0px;
  font-weight: bold;
  color: #0645ad;
}

.plinky a:link {
  text-decoration: none;
  color: #0645ad;
}

.plinky a:visited {
  text-decoration: none;
  color: #0b0080;
}

.plinky a:hover {
  text-decoration: underline;
}

.more_news {
  font-size: 125%;
  font-weight: bold;
}

.latest_news_text {
  font-family: arial, sans-serif;
  text-align: left;
  font-size: 90%;
  color: #0645ad;
  padding-left: 0px;
  padding-right: 0px;
}

.latest_news_text a:link {
  font-family: arial, sans-serif;
  color: #0645ad;
  text-decoration: none;
}

.latest_news_text a:visited {
  font-family: arial, sans-serif;
  color: #0b0080;
  text-decoration: none;
}

.latest_news_text a:hover {
  font-family: arial, sans-serif;
  text-decoration: underline;
}

.about_floater {
  float: right;
  padding-left: 5px;
  padding-bottom: 5px;
  text-align: center;
  font-size: small;
  width: 85px;
}

.lead_normal {
  border-top: 1px solid #ccc;
}

.lead_big {
  padding: 2px 2px 2px 2px;
  vertical-align: top;
  width: 70%;
}

.upper_lead {
  height: 100%;
  /* fixes stretching of table (in firefox anyways)*/
}

.history,
.main_about,
.left_stuff {
  padding-right: 12px;
}

.unnews_mag,
.headlines,
.middle_stuff {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding-left: 12px;
  padding-right: 12px;
}

.main_devel,
.unnews_audio,
.untoons,
.right_stuff {
  padding-left: 12px;
}

/* override faux header styling */
.the_table td .fh3 {
	margin: 0em 0em 0.5em 0em; 
	padding: 0.5em 0em 0.2em 0em; 
	font-size: 1.2rem; 
	font-weight: bold; 
	line-height: 100%
}

/* headlines consistent font size in regional unnews pages */
.the_table .unnews_flex_row .latest_news_text {
  font-size: 100%;
}

/* hide cocklock */
#mw-indicator-cocklock {
  display: none;
}

/* misc. minerva skin fixes */
.content table.the_table,
.content table.mp_header {
  margin: 0;
}

.skin-minerva .the_table .NavHead {
  margin: 0em 0em 0.5em 0em;
  padding: 0.5em 0em 0.2em 0em;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 100%;
  text-align: center;
}

.skin-minerva .the_table .NavFrame {
  padding: 0.4rem 0.6rem;
  border-top: 2px solid #EFEFF1;
}

.skin-minerva .the_table .l_image {
  margin: 3.6rem 0rem 0.4rem 0.4rem;
}

/* UnNews oped styles */
.mp_header.oped-header {
  margin: 0.4rem 0;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  font-family: Georgia, serif;
  line-height: 1;
  width: auto;
  position: relative;
}
.oped-subheader {
  font-size:88%; 
  font-weight: normal; 
  font-style: italic
}
.oped-header #editlink {
  font-size: 78%;
  font-weight: normal;
  font-style: italic;
  position: absolute;
  top: 4px;
  right: 4px;
}
.oped-content .fh3 {
  font-family: Georgia, serif;
}
.oped-page {
  display: flex;
  flex-flow: row wrap;
  gap: 0.4rem;
}
.oped-column:nth-of-type(1) {
  flex: 5 1 500px;
}
.oped-column:nth-of-type(2) {
  flex: 3.8 1 300px;
}
.oped-content {
  padding: 0.2rem 0.8rem;
}
.oped-content hr {
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
  margin: 0.8rem 0;
  height: 1px;
}
.oped-art a > img, .oped-art a.image {
    display: block;
    margin: 0 auto;
    width: fit-content;
}

/* mobile responsiveness for the brainrot generation */
@media screen and (max-width: 960px) {
  .the_table>tbody {
    display: block;
  }

  td hr {
    display: none;
  }

  .mp_header {
    background-size: cover !important;
  }

  .mp_header tbody tr {
    display: flex;
    flex-flow: column wrap;
    padding: 0.4rem;
  }

  .mp_header tbody tr td {
    width: auto;
    text-align: center;
    white-space: normal;
  }

  .the_table .l_article {
    display: block;
    margin: 0 !important;
    width: 100% !important;
  }

  .the_table .l_image {
    float: right !important;
    margin: 1.8rem 0rem 0.4rem 0.4rem;
    padding: 0;
  }

  .the_table .l_image img {
    width: 100px !important;
    height: auto;
  }

  .the_table tr {
    display: flex;
    flex-flow: column wrap;
  }

  .the_table td {
    width: auto !important;
    border: 0px;
    margin: 0;
    padding: 0.4rem 0.6rem;
    overflow: hidden;
  }

  .the_table td:not(.breaker) {
    border-top: 2px solid #EFEFF1;
  }

  .the_table>tbody>tr:nth-child(4) td img,
  .the_table>tbody>tr:nth-child(6) td img {
    width: 60px;
    height: auto;
  }

  .the_table td .fh3 {
    text-align: center;
    display: block;
    clear: both;
    line-height: 1rem;
  }

  .latest_news_text_title {
  	justify-content: center;
  }

  .page-UnNews_Main_Page .the_table>tbody>tr:nth-child(n+7):nth-child(-n+9) td {
    padding: 0;
    border: 0;
    margin: 2px;
  }
}

/* [[Category:UnProjects stylesheets]] */