MediaWiki:Common.css: Difference between revisions

From UtubeTrollPedia

No edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =====================================================
/* =====================================
   UTubeTrollPolice Homepage
   UTTP YouTube 2007 Style Homepage CSS
   ===================================================== */
   Base Layout
===================================== */
.utp-infobox{
    border:5px solid red !important;
    background:yellow !important;
}
 
/* FEATURED ARTICLE CONTAINER */


.uttp-homepage{
.uttp-feature-box {
     width:980px;
 
    margin:0 auto;
     width:100%;
     font-family:Arial,Helvetica,sans-serif;
     border:1px solid #cccccc;
     background:#ffffff;
     background:#ffffff;
}
    margin-bottom:20px;


.uttp-header{
    background:#ffffff;
    border:1px solid #999;
    padding:12px;
}
}


.uttp-toplinks{
    text-align:right;
    font-size:11px;
    margin-bottom:10px;
}


.uttp-toplinks a{
.uttp-feature-header {
    color:#0033cc;
    text-decoration:none;
}


.uttp-logo{
    background:#eeeeee;
     font-size:38px;
    border-bottom:1px solid #cccccc;
     font-size:16px;
     font-weight:bold;
     font-weight:bold;
     color:#cc0000;
     padding:6px;
 
}
}


.uttp-logo .blue{
 
     color:#0033cc;
.uttp-feature-tabs {
 
     background:#f5f5f5;
    border-bottom:1px solid #cccccc;
    padding:5px;
 
}
}


.uttp-tagline{
 
     color:#666;
.uttp-feature-tabs span {
     font-size:13px;
 
     margin-top:4px;
    display:inline-block;
     padding:5px 12px;
    border:1px solid #cccccc;
     background:#dddddd;
     font-size:12px;
 
}
}


.uttp-search{
    margin-top:15px;
}


.uttp-navigation{
.uttp-tab-active {


     display:flex;
     background:white !important;
    font-weight:bold;


    align-items:center;
}


    gap:8px;


    background:linear-gradient(#6fa7ff,#2d5fc0);
.uttp-feature-content {


     padding:10px;
     padding:0 10px;


    border:1px solid #1b4599;
}


    border-radius:5px;


}


.uttp-navigation a{
/* =====================================
  ARTICLE CARD
===================================== */


    display:inline-block;


    color:white;
.uttp-video {


     font-weight:bold;
     display:grid;
    grid-template-columns:130px 1fr 120px;
    gap:10px;


     text-decoration:none;
     padding:10px 0;


     padding:6px 12px;
     border-bottom:1px dotted #999999;


}
}


/* ===========================================
  Main Layout
  =========================================== */


.uttp-body{
    display:flex;
    gap:15px;
    margin-top:15px;
    align-items:flex-start;
}


.uttp-left{
.uttp-video-thumb {
     flex:1;
 
     min-width:0;
     position:relative;
}
 
     width:120px;


.uttp-right{
    width:260px;
}
}


.uttp-featured,
.uttp-main,
.uttp-sidebar{


    background:#ffffff;


    border:1px solid #999;
.uttp-video-thumb img {


     margin-bottom:15px;
     width:120px;
    height:90px;


     padding:10px;
     border:1px solid #777777;


}
}


.uttp-footer{


    margin-top:20px;


    padding:12px;
.uttp-runtime {


     border-top:2px solid #999;
     position:absolute;


     text-align:center;
     bottom:3px;
    right:3px;
 
    background:black;
    color:white;


     font-size:12px;
     font-size:10px;


     color:#666;
     padding:2px 4px;


}
}


/* ==========================================
  Thumbnail Grid
  ========================================== */


.uttp-thumb-grid{


display:flex;
.uttp-video-title {


justify-content:space-around;
    font-size:14px;
    font-weight:bold;


flex-wrap:wrap;
}


gap:25px;


}


.uttp-thumb{
.uttp-video-title a {


width:170px;
    color:#0033cc;
 
    text-decoration:none;
text-align:center;


}
}


/* ==========================================
  Classic YouTube Boxes
  ========================================== */
.uttp-thumb-grid{


display:flex;


justify-content:space-around;
.uttp-video-description {


flex-wrap:wrap;
    font-size:12px;


gap:25px;
    margin-top:5px;


}
}


.uttp-thumb{


width:170px;


text-align:center;
.uttp-video-meta {
 
    font-size:11px;
 
    margin-top:8px;
 
    color:#555555;


}
}


/* ==========================================
  Sidebar
  ========================================== */


.uttp-sidebar ul{
    margin:0;
    padding-left:18px;
}


.uttp-sidebar li{
.uttp-video-time {
     margin:6px 0;
 
}
     font-size:11px;


.uttp-sidebar a{
     color:#777777;
     color:#0033cc;
    text-decoration:none;
}


.uttp-sidebar a:hover{
    text-decoration:underline;
}
}
/* ======================================
  HEADER
====================================== */


.uttp-header{


background:#ffffff;


border:1px solid #b3b3b3;
.uttp-video-right {


padding:12px;
    text-align:right;


margin-bottom:10px;
    font-size:12px;


}
}


.uttp-topbar{


text-align:right;


font-size:11px;
.uttp-video-views {


margin-bottom:15px;
    font-size:14px;
    font-weight:bold;


}
}


.uttp-userlinks a{


color:#0033cc;


text-decoration:none;
.uttp-video-stars {


margin-left:6px;
    color:#ff5500;


}
    font-size:16px;


.uttp-header-main{
    margin:8px 0;


display:flex;
}


justify-content:space-between;


align-items:center;


}
/* =====================================
  PROMOTED HORIZONTAL ROW
===================================== */


.uttp-logo-title{


font-size:42px;
.uttp-promoted-grid {


font-weight:bold;
    display:flex;


line-height:40px;
    gap:12px;


}
}


.logo-red{


color:#cc0000;


}
.uttp-promoted-card {


.logo-blue{
    width:130px;


color:#0033cc;
    text-align:center;


}
}


.uttp-logo-tagline{


font-size:13px;


color:#666;
.uttp-promoted-card img {
 
    width:120px;


margin-top:3px;
    height:90px;
 
    border:1px solid #777777;


}
}


.uttp-search-area{


display:flex;


align-items:center;
.uttp-promoted-title {


gap:6px;
    font-size:11px;
 
    font-weight:bold;


}
}


.uttp-searchbox{


width:340px;


padding:6px;
.uttp-promoted-author {


font-size:14px;
    font-size:10px;


border:1px solid #999;
    color:#555555;


}
}


.uttp-searchbutton{


padding:6px 15px;


border:1px solid #666;
/* =====================================
  HOME PAGE TWO COLUMN
===================================== */


background:#efefef;


cursor:pointer;
.uttp-homepage {


}
    display:grid;


.uttp-searchbutton:hover{
    grid-template-columns:1fr 280px;


background:#dddddd;
    gap:15px;


}
}
/* ================================
  Retro Links
================================ */


.uttp-homepage a{


color:#0033cc;
.uttp-sidebar {


text-decoration:none;
    border:1px solid #cccccc;
 
    padding:10px;
 
    background:#ffffff;


}
}


.uttp-homepage a:hover{
/* ==================================
  TOP HORIZONTAL ARTICLE CARDS
================================== */


text-decoration:underline;


}
.uttp-top-grid {


.uttp-main{
    display:flex;


line-height:1.6em;
    flex-direction:row;


font-size:14px;
    gap:12px;


}
    width:100%;


.uttp-main h2{
    overflow:hidden;


color:#003399;
    margin-bottom:15px;


}
}


.uttp-main h3{


margin-top:18px;


color:#444;
.uttp-top-card {


border-bottom:1px solid #ddd;
    width:150px;


padding-bottom:4px;
    height:130px;


}
    border:1px solid #cccccc;


.uttp-navigation{
    background:#ffffff;


background:linear-gradient(#5f9dfd,#2b63c6);
    padding:5px;


border-radius:4px;
    text-align:center;


}
}


.uttp-navigation a{


padding:6px 12px;


display:inline-block;
.uttp-top-card img {
 
    width:120px;
 
    height:80px;
 
    object-fit:cover;


}
}


.uttp-navigation a:hover{


background:rgba(255,255,255,.18);


border-radius:3px;
.uttp-top-title {
 
    font-size:12px;
 
    font-weight:bold;


}
}
/* ===============================
  YouTube Style Boxes
================================ */


.uttp-box{


background:white;


border:1px solid #b3b3b3;
.uttp-top-author {


margin-bottom:15px;
    font-size:10px;
 
    color:#555;


}
}


.uttp-box h2{
.ut-homepage{
    max-width:1200px;
    margin:20px auto;
    font-family:Verdana,Arial,sans-serif;
}


margin:0;
.ut-comingsoon{
    background:#ffffdd;
    border:1px solid #e2d48a;
    padding:15px;
    margin-bottom:20px;
}


padding:8px;
.ut-placeholder{
    background:#ffffff;
    border:1px solid #cccccc;
    padding:15px;
}
/* Minimal wiki article styling */


font-size:15px;
#content {


background:linear-gradient(#f7f7f7,#e4e4e4);
    background:white;


border-bottom:1px solid #b3b3b3;
    border:1px solid #ccc;
 
    padding:20px;


}
}


.uttp-box{


padding:10px;
#firstHeading {


}
    font-size:28px;
.uttp-thumb{


width:160px;
    color:#333;


text-align:center;
    border-bottom:1px solid #ccc;


padding:6px;
    padding-bottom:8px;


}
}


.uttp-thumb img{


padding:4px;
.mw-body-content {


background:white;
    font-size:14px;


border:1px solid #999;
    line-height:1.6;
 
box-shadow:0 1px 2px rgba(0,0,0,.2);


}
}


.uttp-thumb a{


font-weight:bold;
.mw-category {


font-size:13px;
    border-top:1px solid #ccc;


color:#0033cc;
    padding-top:10px;


text-decoration:none;
}
.page-Main_Page h1 {
    display: none;
}


#left-column,
#sidebar,
#navigation,
.monaco-sidebar {
    display: none !important;
}
}
/* Hide TOC on Main Page */


.page-Main_Page #toc,
#widget_sidebar {
.page-Main_Page .toc {
     display: none !important;
     display: none;
}
}
.page-Main_Page .mw-editsection{
 
     display:none;
.left_sidebar {
     display: none !important;
}
}


.page-Main_Page #toc,
.sidebar {
.page-Main_Page .toc{
     display: none !important;
     display:none;
}
}


/* ================================
/*=========================================================
  Article Card
================================ */


/* ==========================================
    UTubeTrollPedia Infobox Framework
  YouTube 2007 Article Row
========================================== */


.uttp-video{
=========================================================*/
/*=========================================================
  UTubeTrollPedia Infobox System
  Retro YouTube / Web 2.0 Style
=========================================================*/


display:flex;


align-items:flex-start;
/*=========================================================
  MAIN INFOBOX
=========================================================*/


padding:12px;
.utp-infobox {


border-bottom:1px dotted #999;
    float: right;


background:#fff;
    clear: right;


}
    width: 300px;


.uttp-video:hover{
    margin: 0 0 20px 20px;


background:#f7f7f7;
    background: #ffffff;


}
    border: 1px solid #999999;


.uttp-video-thumb{
    font-family: Arial, Helvetica, sans-serif;


width:140px;
    font-size: 12px;


position:relative;
    color: #222222;


flex-shrink:0;
    box-shadow:
        0 2px 5px rgba(0,0,0,0.20);


}
}


.uttp-video-thumb img{


width:120px;
/*=========================================================
  BLUE YOUTUBE NAVIGATION HEADER
=========================================================*/


height:90px;
.utp-header-blue {


border:1px solid #777;
    padding: 8px;


padding:2px;
    text-align: center;


background:white;
    font-size: 15px;


}
    font-weight: bold;


.uttp-runtime{
    color: #003366;


position:absolute;
    background:


bottom:5px;
        linear-gradient(
            #d7ebff,
            #9bc8f5,
            #6da8e6
        );


right:15px;
    border-bottom: 1px solid #4b82bd;


background:black;
    text-shadow:
        0 1px 0 white;


color:white;
}


font-size:11px;


padding:2px 5px;
/*=========================================================
  GOLD YOUTUBE UPLOAD BUTTON HEADER
=========================================================*/


font-weight:bold;
.utp-header-gold {


}
    padding: 8px;


.uttp-video-info{
    text-align: center;


flex:1;
    font-size: 15px;


padding-left:15px;
    font-weight: bold;


}
    color: #663d00;


.uttp-video-title{
    background:


font-size:23px;
        linear-gradient(
            #fff3a8,
            #ffd65a,
            #e9a900
        );


font-weight:bold;
    border-bottom:1px solid #c18b00;


margin-bottom:6px;
    text-shadow:
        0 1px 0 white;


}
}


.uttp-video-title a{


color:#0033cc;
/*=========================================================
  IMAGE AREA
=========================================================*/
 
.utp-image {


text-decoration:none;
    padding: 10px;
 
    text-align:center;
 
    background:#f5f5f5;


}
}


.uttp-video-title a:hover{


text-decoration:underline;
.utp-image img {


}
    max-width:260px;


.uttp-video-description{
    height:auto;


font-size:14px;
    padding:3px;


line-height:1.5;
    background:white;


margin-bottom:10px;
    border:1px solid #777777;


}
}


.uttp-video-meta{


font-size:12px;
/*=========================================================
  IMAGE CAPTION
=========================================================*/
 
.utp-caption {


color:#666;
    text-align:center;


margin-bottom:6px;
    padding:5px;
 
    font-size:11px;
 
    color:#555555;


}
}


.uttp-video-time{


font-size:12px;
/*=========================================================
  TABLE
=========================================================*/


color:#888;
.utp-table {
 
    width:100%;
 
    border-collapse:collapse;


}
}


.uttp-video-stats{


width:165px;
/*=========================================================
  LABEL COLUMN
=========================================================*/
 
.utp-table th {
 
    width:105px;


text-align:right;
    padding:6px;


font-size:13px;
    text-align:left;


}
    vertical-align:top;


.uttp-views{
    font-weight:bold;


font-size:18px;
    color:#222222;


font-weight:bold;
    background:#eef6ff;


margin:6px 0;
    border-top:1px solid #d5d5d5;


}
}


.uttp-stars{


color:#ff3300;
/*=========================================================
  VALUE COLUMN
=========================================================*/
 
.utp-table td {
 
    padding:6px;


font-size:18px;
    vertical-align:top;
 
    background:#ffffff;


margin-bottom:8px;
    border-top:1px solid #dddddd;


}
}


.uttp-more a{
font-size:13px;


font-weight:bold;
/*=========================================================
  ALTERNATING ROWS
=========================================================*/


color:#0033cc;
.utp-table tr:nth-child(even) td {


text-decoration:none;
    background:#fafcff;


}
}


/* =======================================
  Tabs
======================================= */


.uttp-tabs{
/*=========================================================
  LINKS
=========================================================*/


display:flex;
.utp-infobox a {


border-bottom:1px solid #ccc;
    color:#003399;


margin-bottom:15px;
    text-decoration:none;


}
}


.uttp-tab{


padding:8px 18px;
.utp-infobox a:hover {


background:#f2f2f2;
    text-decoration:underline;


border:1px solid #ccc;
}


border-bottom:none;


margin-right:3px;
/*=========================================================
  SECTION HEADERS
=========================================================*/


font-size:13px;
.utp-section {


font-weight:bold;
    text-align:center;


cursor:pointer;
    font-weight:bold;


}
    padding:6px;


.uttp-tab-active{
    color:#003366;


background:white;
    background:


border-top:3px solid #cc0000;
        linear-gradient(
            #edf7ff,
            #cfe6fa
        );


}
    border-top:1px solid #a9c7e5;


/* Small Thumbnail Strip */
    border-bottom:1px solid #a9c7e5;


.uttp-strip{
}


display:flex;


justify-content:space-between;
/*=========================================================
  FOOTER
=========================================================*/


gap:15px;
.utp-footer {


margin-bottom:20px;
    padding:8px;


}
    text-align:center;


.uttp-small-thumb{
    background:#eeeeee;


width:160px;
    border-top:1px solid #cccccc;


text-align:center;
    font-size:11px;


}
}


.uttp-small-image{


position:relative;
/*=========================================================
  TAGS
=========================================================*/


}
.utp-tag {


.uttp-small-image img{
    display:inline-block;


width:150px;
    padding:3px 7px;


height:100px;
    margin:2px;


border:1px solid #777;
    background:


padding:2px;
        linear-gradient(
            #ffffff,
            #dcecff
        );


background:white;
    border:1px solid #9bb8d8;


}
    color:#003399;


.uttp-small-badge{
    font-size:11px;


position:absolute;
}


right:5px;


bottom:8px;
/*=========================================================
  BADGES
=========================================================*/


background:black;
.utp-badge {


color:white;
    display:inline-block;


padding:2px 6px;
    padding:3px 8px;


font-size:11px;
    font-weight:bold;


font-weight:bold;
    font-size:11px;


}
}


.uttp-small-title{


margin-top:5px;
.utp-badge-blue {


font-size:13px;
    color:white;


font-weight:bold;
    background:#4d91d8;


}
}
/* =====================================
  Promoted Articles
===================================== */


.uttp-promoted{


display:flex;
.utp-badge-gold {


justify-content:space-between;
    color:#663d00;


gap:15px;
    background:#ffd45a;


margin-bottom:25px;
}


}


.uttp-promo{
.utp-badge-green {


width:175px;
    color:white;


text-align:center;
    background:#55a855;


}
}


.uttp-promo-image img{


width:170px;
/*=========================================================
  BUTTONS
=========================================================*/


height:110px;
.utp-button {


border:1px solid #666;
    display:inline-block;


background:#fff;
    padding:5px 12px;


padding:2px;
    margin:3px;


}
    color:#222222 !important;


.uttp-promo-title{
    font-weight:bold;


font-weight:bold;
    background:


margin-top:6px;
        linear-gradient(
            #ffffff,
            #dddddd
        );


font-size:14px;
    border:1px solid #999999;


}
}


.uttp-promo-title a{


color:#0033cc;
.utp-button:hover {


text-decoration:none;
    background:
 
        linear-gradient(
            #ffffff,
            #bbbbbb
        );


}
}


.uttp-promo-title a:hover{


text-decoration:underline;
/*=========================================================
  MOBILE
=========================================================*/
 
@media(max-width:800px){
 
    .utp-infobox {


}
        float:none;


.uttp-promo-sub{
        width:100%;


font-size:12px;
        margin:15px 0;


color:#666;
    }


}
}
/* ==========================================================
  FEATURED ARTICLES — force thumbnail + text side-by-side
  Append this AFTER all other CSS so it wins the cascade.
  ========================================================== */


/*==========================
.ytp-feature-video{
MAIN PAGE WIDTH
===========================*/


#uttp-homepage{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
    flex-wrap:nowrap !important;


width:100%;
    width:100% !important;
    box-sizing:border-box !important;


display:flex;
    padding:12px !important;
    border-bottom:1px dashed #aaa !important;


justify-content:center;
    overflow:visible !important;


margin-top:15px;
}


}
.ytp-feature-thumb{


#uttp-main{
    display:block !important;


width:980px;
    width:150px !important;
    height:100px !important;


display:flex;
    min-width:150px !important;
    max-width:150px !important;


align-items:flex-start;
    flex:0 0 150px !important;


gap:25px;
    overflow:hidden !important;
    margin:0 !important;


}
}


#uttp-left{
.ytp-feature-thumb img,
.ytp-feature-image{


flex:1;
    width:150px !important;
    height:100px !important;
    max-width:150px !important;
    max-height:100px !important;


min-width:700px;
    object-fit:cover !important;
    display:block !important;


}
}


#uttp-right{
.ytp-feature-info{
 
    display:block !important;
 
    flex:1 1 auto !important;
    min-width:0 !important;
 
    padding-left:12px !important;
    box-sizing:border-box !important;
 
}


width:250px;
.ytp-feature-info h3,
.ytp-feature-info p{


flex-shrink:0;
    margin:0 0 6px !important;


}
}

Latest revision as of 23:00, 14 July 2026

/* =====================================
   UTTP YouTube 2007 Style Homepage CSS
   Base Layout
===================================== */
.utp-infobox{
    border:5px solid red !important;
    background:yellow !important;
}

/* FEATURED ARTICLE CONTAINER */

.uttp-feature-box {

    width:100%;
    border:1px solid #cccccc;
    background:#ffffff;
    margin-bottom:20px;

}


.uttp-feature-header {

    background:#eeeeee;
    border-bottom:1px solid #cccccc;
    font-size:16px;
    font-weight:bold;
    padding:6px;

}


.uttp-feature-tabs {

    background:#f5f5f5;
    border-bottom:1px solid #cccccc;
    padding:5px;

}


.uttp-feature-tabs span {

    display:inline-block;
    padding:5px 12px;
    border:1px solid #cccccc;
    background:#dddddd;
    font-size:12px;

}


.uttp-tab-active {

    background:white !important;
    font-weight:bold;

}


.uttp-feature-content {

    padding:0 10px;

}



/* =====================================
   ARTICLE CARD
===================================== */


.uttp-video {

    display:grid;
    grid-template-columns:130px 1fr 120px;
    gap:10px;

    padding:10px 0;

    border-bottom:1px dotted #999999;

}



.uttp-video-thumb {

    position:relative;

    width:120px;

}



.uttp-video-thumb img {

    width:120px;
    height:90px;

    border:1px solid #777777;

}



.uttp-runtime {

    position:absolute;

    bottom:3px;
    right:3px;

    background:black;
    color:white;

    font-size:10px;

    padding:2px 4px;

}



.uttp-video-title {

    font-size:14px;
    font-weight:bold;

}



.uttp-video-title a {

    color:#0033cc;
    text-decoration:none;

}



.uttp-video-description {

    font-size:12px;

    margin-top:5px;

}



.uttp-video-meta {

    font-size:11px;

    margin-top:8px;

    color:#555555;

}



.uttp-video-time {

    font-size:11px;

    color:#777777;

}



.uttp-video-right {

    text-align:right;

    font-size:12px;

}



.uttp-video-views {

    font-size:14px;
    font-weight:bold;

}



.uttp-video-stars {

    color:#ff5500;

    font-size:16px;

    margin:8px 0;

}



/* =====================================
   PROMOTED HORIZONTAL ROW
===================================== */


.uttp-promoted-grid {

    display:flex;

    gap:12px;

}



.uttp-promoted-card {

    width:130px;

    text-align:center;

}



.uttp-promoted-card img {

    width:120px;

    height:90px;

    border:1px solid #777777;

}



.uttp-promoted-title {

    font-size:11px;

    font-weight:bold;

}



.uttp-promoted-author {

    font-size:10px;

    color:#555555;

}



/* =====================================
   HOME PAGE TWO COLUMN
===================================== */


.uttp-homepage {

    display:grid;

    grid-template-columns:1fr 280px;

    gap:15px;

}


.uttp-sidebar {

    border:1px solid #cccccc;

    padding:10px;

    background:#ffffff;

}

/* ==================================
   TOP HORIZONTAL ARTICLE CARDS
================================== */


.uttp-top-grid {

    display:flex;

    flex-direction:row;

    gap:12px;

    width:100%;

    overflow:hidden;

    margin-bottom:15px;

}



.uttp-top-card {

    width:150px;

    height:130px;

    border:1px solid #cccccc;

    background:#ffffff;

    padding:5px;

    text-align:center;

}



.uttp-top-card img {

    width:120px;

    height:80px;

    object-fit:cover;

}



.uttp-top-title {

    font-size:12px;

    font-weight:bold;

}



.uttp-top-author {

    font-size:10px;

    color:#555;

}

.ut-homepage{
    max-width:1200px;
    margin:20px auto;
    font-family:Verdana,Arial,sans-serif;
}

.ut-comingsoon{
    background:#ffffdd;
    border:1px solid #e2d48a;
    padding:15px;
    margin-bottom:20px;
}

.ut-placeholder{
    background:#ffffff;
    border:1px solid #cccccc;
    padding:15px;
}
/* Minimal wiki article styling */

#content {

    background:white;

    border:1px solid #ccc;

    padding:20px;

}


#firstHeading {

    font-size:28px;

    color:#333;

    border-bottom:1px solid #ccc;

    padding-bottom:8px;

}


.mw-body-content {

    font-size:14px;

    line-height:1.6;

}


.mw-category {

    border-top:1px solid #ccc;

    padding-top:10px;

}
.page-Main_Page h1 {
    display: none;
}

#left-column,
#sidebar,
#navigation,
.monaco-sidebar {
    display: none !important;
}

#widget_sidebar {
    display: none !important;
}

.left_sidebar {
    display: none !important;
}

.sidebar {
    display: none !important;
}

/*=========================================================

    UTubeTrollPedia Infobox Framework

=========================================================*/
/*=========================================================
   UTubeTrollPedia Infobox System
   Retro YouTube / Web 2.0 Style
=========================================================*/


/*=========================================================
   MAIN INFOBOX
=========================================================*/

.utp-infobox {

    float: right;

    clear: right;

    width: 300px;

    margin: 0 0 20px 20px;

    background: #ffffff;

    border: 1px solid #999999;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 12px;

    color: #222222;

    box-shadow:
        0 2px 5px rgba(0,0,0,0.20);

}


/*=========================================================
   BLUE YOUTUBE NAVIGATION HEADER
=========================================================*/

.utp-header-blue {

    padding: 8px;

    text-align: center;

    font-size: 15px;

    font-weight: bold;

    color: #003366;

    background:

        linear-gradient(
            #d7ebff,
            #9bc8f5,
            #6da8e6
        );

    border-bottom: 1px solid #4b82bd;

    text-shadow:
        0 1px 0 white;

}


/*=========================================================
   GOLD YOUTUBE UPLOAD BUTTON HEADER
=========================================================*/

.utp-header-gold {

    padding: 8px;

    text-align: center;

    font-size: 15px;

    font-weight: bold;

    color: #663d00;

    background:

        linear-gradient(
            #fff3a8,
            #ffd65a,
            #e9a900
        );

    border-bottom:1px solid #c18b00;

    text-shadow:
        0 1px 0 white;

}


/*=========================================================
   IMAGE AREA
=========================================================*/

.utp-image {

    padding: 10px;

    text-align:center;

    background:#f5f5f5;

}


.utp-image img {

    max-width:260px;

    height:auto;

    padding:3px;

    background:white;

    border:1px solid #777777;

}


/*=========================================================
   IMAGE CAPTION
=========================================================*/

.utp-caption {

    text-align:center;

    padding:5px;

    font-size:11px;

    color:#555555;

}


/*=========================================================
   TABLE
=========================================================*/

.utp-table {

    width:100%;

    border-collapse:collapse;

}


/*=========================================================
   LABEL COLUMN
=========================================================*/

.utp-table th {

    width:105px;

    padding:6px;

    text-align:left;

    vertical-align:top;

    font-weight:bold;

    color:#222222;

    background:#eef6ff;

    border-top:1px solid #d5d5d5;

}


/*=========================================================
   VALUE COLUMN
=========================================================*/

.utp-table td {

    padding:6px;

    vertical-align:top;

    background:#ffffff;

    border-top:1px solid #dddddd;

}


/*=========================================================
   ALTERNATING ROWS
=========================================================*/

.utp-table tr:nth-child(even) td {

    background:#fafcff;

}


/*=========================================================
   LINKS
=========================================================*/

.utp-infobox a {

    color:#003399;

    text-decoration:none;

}


.utp-infobox a:hover {

    text-decoration:underline;

}


/*=========================================================
   SECTION HEADERS
=========================================================*/

.utp-section {

    text-align:center;

    font-weight:bold;

    padding:6px;

    color:#003366;

    background:

        linear-gradient(
            #edf7ff,
            #cfe6fa
        );

    border-top:1px solid #a9c7e5;

    border-bottom:1px solid #a9c7e5;

}


/*=========================================================
   FOOTER
=========================================================*/

.utp-footer {

    padding:8px;

    text-align:center;

    background:#eeeeee;

    border-top:1px solid #cccccc;

    font-size:11px;

}


/*=========================================================
   TAGS
=========================================================*/

.utp-tag {

    display:inline-block;

    padding:3px 7px;

    margin:2px;

    background:

        linear-gradient(
            #ffffff,
            #dcecff
        );

    border:1px solid #9bb8d8;

    color:#003399;

    font-size:11px;

}


/*=========================================================
   BADGES
=========================================================*/

.utp-badge {

    display:inline-block;

    padding:3px 8px;

    font-weight:bold;

    font-size:11px;

}


.utp-badge-blue {

    color:white;

    background:#4d91d8;

}


.utp-badge-gold {

    color:#663d00;

    background:#ffd45a;

}


.utp-badge-green {

    color:white;

    background:#55a855;

}


/*=========================================================
   BUTTONS
=========================================================*/

.utp-button {

    display:inline-block;

    padding:5px 12px;

    margin:3px;

    color:#222222 !important;

    font-weight:bold;

    background:

        linear-gradient(
            #ffffff,
            #dddddd
        );

    border:1px solid #999999;

}


.utp-button:hover {

    background:

        linear-gradient(
            #ffffff,
            #bbbbbb
        );

}


/*=========================================================
   MOBILE
=========================================================*/

@media(max-width:800px){

    .utp-infobox {

        float:none;

        width:100%;

        margin:15px 0;

    }

}
/* ==========================================================
   FEATURED ARTICLES — force thumbnail + text side-by-side
   Append this AFTER all other CSS so it wins the cascade.
   ========================================================== */

.ytp-feature-video{

    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
    flex-wrap:nowrap !important;

    width:100% !important;
    box-sizing:border-box !important;

    padding:12px !important;
    border-bottom:1px dashed #aaa !important;

    overflow:visible !important;

}

.ytp-feature-thumb{

    display:block !important;

    width:150px !important;
    height:100px !important;

    min-width:150px !important;
    max-width:150px !important;

    flex:0 0 150px !important;

    overflow:hidden !important;
    margin:0 !important;

}

.ytp-feature-thumb img,
.ytp-feature-image{

    width:150px !important;
    height:100px !important;
    max-width:150px !important;
    max-height:100px !important;

    object-fit:cover !important;
    display:block !important;

}

.ytp-feature-info{

    display:block !important;

    flex:1 1 auto !important;
    min-width:0 !important;

    padding-left:12px !important;
    box-sizing:border-box !important;

}

.ytp-feature-info h3,
.ytp-feature-info p{

    margin:0 0 6px !important;

}