UnNews:Main Page/styles.css

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

hr {
  margin: 0;
}

#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;
}

/* For main page, but used elsewhere so moved here */
/* [[Template:Main page header]] */
/* Also in common.css/Main Page */
/* i got annoyed this only worked on main page - bawolff */
.ns-102 .mp_header {
  /* background-image: url(//images.uncyclomedia.co/uncyclopedia/en/9/9f/Unnews_newbackground.png); */
  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;
}

.latest_news_text ul {
  /* list-style-image: url('http://upload.wikimedia.org/wikipedia/commons/9/90/Vector-bullet-icon.png'); */
}

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

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

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

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

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

.unnews_mag,
.headlines,
.middle_stuff {
  border-left: 1px solid #cfcfbf;
  border-right: 1px solid #cfcfbf;
  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;
}

/* 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: auto !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(7) td,
  .page-UnNews_Main_Page .the_table>tbody>tr:nth-child(8) td {
    padding: 0;
    border: 0;
    margin: 2px;
  }
}