MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(29 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-feature-box {


.uttp-homepage{
     width:100%;
     width:980px;
     border:1px solid #cccccc;
    margin:0 auto;
     font-family:Arial,Helvetica,sans-serif;
     background:#ffffff;
     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-header{
 
     background:#ffffff;
.uttp-tab-active {
     border:1px solid #999;
 
     padding:12px;
     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-toplinks{
 
     text-align:right;
 
     font-size:11px;
.uttp-video-thumb img {
     margin-bottom:10px;
 
     width:120px;
     height:90px;
 
     border:1px solid #777777;
 
}
}


.uttp-toplinks a{
 
     color:#0033cc;
 
     text-decoration:none;
.uttp-runtime {
 
    position:absolute;
 
    bottom:3px;
    right:3px;
 
    background:black;
     color:white;
 
     font-size:10px;
 
    padding:2px 4px;
 
}
}


.uttp-logo{
 
     font-size:38px;
 
.uttp-video-title {
 
     font-size:14px;
     font-weight:bold;
     font-weight:bold;
    color:#cc0000;
 
}
}


.uttp-logo .blue{
 
 
.uttp-video-title a {
 
     color:#0033cc;
     color:#0033cc;
    text-decoration:none;
}
}


.uttp-tagline{
 
    color:#666;
 
     font-size:13px;
.uttp-video-description {
     margin-top:4px;
 
     font-size:12px;
 
     margin-top:5px;
 
}
}


.uttp-search{
 
     margin-top:15px;
 
.uttp-video-meta {
 
    font-size:11px;
 
     margin-top:8px;
 
    color:#555555;
 
}
}


.uttp-navigation{


    display:flex;


     align-items:center;
.uttp-video-time {
 
     font-size:11px;
 
    color:#777777;
 
}


    gap:8px;


    background:linear-gradient(#6fa7ff,#2d5fc0);


    padding:10px;
.uttp-video-right {


     border:1px solid #1b4599;
     text-align:right;


     border-radius:5px;
     font-size:12px;


}
}


.uttp-navigation a{


    display:inline-block;


    color:white;
.uttp-video-views {


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


     text-decoration:none;
}
 
 
 
.uttp-video-stars {
 
    color:#ff5500;
 
     font-size:16px;


     padding:6px 12px;
     margin:8px 0;


}
}


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


.uttp-body{
 
/* =====================================
  PROMOTED HORIZONTAL ROW
===================================== */
 
 
.uttp-promoted-grid {
 
     display:flex;
     display:flex;
     gap:15px;
 
     margin-top:15px;
     gap:12px;
     align-items:flex-start;
 
}
 
 
 
.uttp-promoted-card {
 
     width:130px;
 
     text-align:center;
 
}
}


.uttp-left{
 
     flex:1;
 
     min-width:0;
.uttp-promoted-card img {
 
    width:120px;
 
     height:90px;
 
     border:1px solid #777777;
 
}
}


.uttp-right{
 
     width:260px;
 
.uttp-promoted-title {
 
    font-size:11px;
 
     font-weight:bold;
 
}
}


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


    background:#ffffff;


    border:1px solid #999;
.uttp-promoted-author {


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


     padding:10px;
     color:#555555;


}
}


.uttp-footer{


    margin-top:20px;


    padding:12px;
/* =====================================
  HOME PAGE TWO COLUMN
===================================== */


    border-top:2px solid #999;


     text-align:center;
.uttp-homepage {
 
     display:grid;
 
    grid-template-columns:1fr 280px;
 
    gap:15px;
 
}
 
 
.uttp-sidebar {
 
    border:1px solid #cccccc;


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


     color:#666;
     background:#ffffff;


}
}


/* ==========================================
/* ==================================
   Thumbnail Grid
   TOP HORIZONTAL ARTICLE CARDS
  ========================================== */
================================== */
 
 
.uttp-top-grid {


.uttp-thumb-grid{
     display:flex;
     display:flex;
    justify-content:space-between;
 
     flex-wrap:wrap;
     flex-direction:row;
 
     gap:12px;
     gap:12px;
    width:100%;
    overflow:hidden;
    margin-bottom:15px;
}
}


.uttp-thumb{
 
 
.uttp-top-card {


     width:150px;
     width:150px;
    height:130px;
    border:1px solid #cccccc;
    background:#ffffff;
    padding:5px;


     text-align:center;
     text-align:center;


    font-size:13px;
}
 


}


.uttp-thumb img{
.uttp-top-card img {


     border:1px solid #999;
     width:120px;


     background:white;
     height:80px;


     padding:3px;
     object-fit:cover;


}
}


.uttp-thumb a{


    color:#0033cc;


     text-decoration:none;
.uttp-top-title {
 
     font-size:12px;


     font-weight:bold;
     font-weight:bold;
Line 170: Line 350:
}
}


.uttp-thumb a:hover{


    text-decoration:underline;


.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{
  Classic YouTube Boxes
    background:#ffffff;
  ========================================== */
    border:1px solid #cccccc;
    padding:15px;
}
/* Minimal wiki article styling */


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


     background:#fafafa;
     background:white;


     border:1px solid #b3b3b3;
     border:1px solid #ccc;


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


}
}


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


     margin:-10px -10px 10px -10px;
#firstHeading {
 
     font-size:28px;
 
    color:#333;
 
    border-bottom:1px solid #ccc;
 
    padding-bottom:8px;
 
}


    padding:8px;


    background:#e5ecf9;
.mw-body-content {


     border-bottom:1px solid #b3b3b3;
     font-size:14px;


     font-size:16px;
     line-height:1.6;


}
}


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


.uttp-sidebar ul{
.mw-category {
     margin:0;
 
     padding-left:18px;
     border-top:1px solid #ccc;
 
     padding-top:10px;
 
}
.page-Main_Page h1 {
    display: none;
}
}


.uttp-sidebar li{
#left-column,
     margin:6px 0;
#sidebar,
#navigation,
.monaco-sidebar {
     display: none !important;
}
}


.uttp-sidebar a{
#widget_sidebar {
     color:#0033cc;
     display: none !important;
     text-decoration:none;
}
 
.left_sidebar {
     display: none !important;
}
}


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


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


background:#ffffff;


border:1px solid #b3b3b3;
/*=========================================================
  MAIN INFOBOX
=========================================================*/


padding:12px;
.utp-infobox {


margin-bottom:10px;
    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);


}
}


.uttp-topbar{


text-align:right;
/*=========================================================
  BLUE YOUTUBE NAVIGATION HEADER
=========================================================*/
 
.utp-header-blue {
 
    padding: 8px;
 
    text-align: center;
 
    font-size: 15px;


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


margin-bottom:15px;
    color: #003366;
 
    background:
 
        linear-gradient(
            #d7ebff,
            #9bc8f5,
            #6da8e6
        );
 
    border-bottom: 1px solid #4b82bd;
 
    text-shadow:
        0 1px 0 white;


}
}


.uttp-userlinks a{


color:#0033cc;
/*=========================================================
  GOLD YOUTUBE UPLOAD BUTTON HEADER
=========================================================*/


text-decoration:none;
.utp-header-gold {


margin-left:6px;
    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;


}
}


.uttp-header-main{


display:flex;
/*=========================================================
  IMAGE AREA
=========================================================*/
 
.utp-image {
 
    padding: 10px;


justify-content:space-between;
    text-align:center;


align-items:center;
    background:#f5f5f5;


}
}


.uttp-logo-title{


font-size:42px;
.utp-image img {
 
    max-width:260px;
 
    height:auto;
 
    padding:3px;


font-weight:bold;
    background:white;


line-height:40px;
    border:1px solid #777777;


}
}


.logo-red{


color:#cc0000;
/*=========================================================
  IMAGE CAPTION
=========================================================*/


}
.utp-caption {
 
    text-align:center;


.logo-blue{
    padding:5px;


color:#0033cc;
    font-size:11px;
 
    color:#555555;


}
}


.uttp-logo-tagline{


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


color:#666;
.utp-table {


margin-top:3px;
    width:100%;
 
    border-collapse:collapse;


}
}


.uttp-search-area{


display:flex;
/*=========================================================
  LABEL COLUMN
=========================================================*/
 
.utp-table th {


align-items:center;
    width:105px;


gap:6px;
    padding:6px;


}
    text-align:left;


.uttp-searchbox{
    vertical-align:top;


width:340px;
    font-weight:bold;


padding:6px;
    color:#222222;


font-size:14px;
    background:#eef6ff;


border:1px solid #999;
    border-top:1px solid #d5d5d5;


}
}


.uttp-searchbutton{


padding:6px 15px;
/*=========================================================
  VALUE COLUMN
=========================================================*/


border:1px solid #666;
.utp-table td {


background:#efefef;
    padding:6px;


cursor:pointer;
    vertical-align:top;
 
    background:#ffffff;
 
    border-top:1px solid #dddddd;


}
}


.uttp-searchbutton:hover{


background:#dddddd;
/*=========================================================
  ALTERNATING ROWS
=========================================================*/
 
.utp-table tr:nth-child(even) td {
 
    background:#fafcff;


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


.uttp-homepage a{


color:#0033cc;
/*=========================================================
  LINKS
=========================================================*/


text-decoration:none;
.utp-infobox a {
 
    color:#003399;
 
    text-decoration:none;


}
}


.uttp-homepage a:hover{


text-decoration:underline;
.utp-infobox a:hover {
 
    text-decoration:underline;


}
}


.uttp-main{


line-height:1.6em;
/*=========================================================
  SECTION HEADERS
=========================================================*/
 
.utp-section {


font-size:14px;
    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;


}
}


.uttp-main h2{


color:#003399;
/*=========================================================
  FOOTER
=========================================================*/
 
.utp-footer {
 
    padding:8px;
 
    text-align:center;
 
    background:#eeeeee;
 
    border-top:1px solid #cccccc;
 
    font-size:11px;


}
}


.uttp-main h3{


margin-top:18px;
/*=========================================================
  TAGS
=========================================================*/
 
.utp-tag {
 
    display:inline-block;
 
    padding:3px 7px;
 
    margin:2px;
 
    background:
 
        linear-gradient(
            #ffffff,
            #dcecff
        );


color:#444;
    border:1px solid #9bb8d8;


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


padding-bottom:4px;
    font-size:11px;


}
}


.uttp-navigation{


background:linear-gradient(#5f9dfd,#2b63c6);
/*=========================================================
  BADGES
=========================================================*/
 
.utp-badge {
 
    display:inline-block;


border-radius:4px;
    padding:3px 8px;
 
    font-weight:bold;
 
    font-size:11px;


}
}


.uttp-navigation a{


padding:6px 12px;
.utp-badge-blue {


display:inline-block;
    color:white;
 
    background:#4d91d8;


}
}


.uttp-navigation a:hover{


background:rgba(255,255,255,.18);
.utp-badge-gold {


border-radius:3px;
    color:#663d00;
 
    background:#ffd45a;


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


.uttp-box{


background:white;
.utp-badge-green {


border:1px solid #b3b3b3;
    color:white;


margin-bottom:15px;
    background:#55a855;


}
}


.uttp-box h2{


margin:0;
/*=========================================================
  BUTTONS
=========================================================*/
 
.utp-button {
 
    display:inline-block;
 
    padding:5px 12px;
 
    margin:3px;


padding:8px;
    color:#222222 !important;


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


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


border-bottom:1px solid #b3b3b3;
        linear-gradient(
            #ffffff,
            #dddddd
        );
 
    border:1px solid #999999;


}
}


.uttp-box{


padding:10px;
.utp-button:hover {
 
    background:
 
        linear-gradient(
            #ffffff,
            #bbbbbb
        );


}
}
.uttp-thumb{


width:160px;


text-align:center;
/*=========================================================
  MOBILE
=========================================================*/


padding:6px;
@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;


}
}


.uttp-thumb img{
.ytp-feature-thumb{


padding:4px;
    display:block !important;


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


border:1px solid #999;
    min-width:150px !important;
    max-width:150px !important;


box-shadow:0 1px 2px rgba(0,0,0,.2);
    flex:0 0 150px !important;
 
    overflow:hidden !important;
    margin:0 !important;


}
}


.uttp-thumb a{
.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;
 
}


font-weight:bold;
.ytp-feature-info{


font-size:13px;
    display:block !important;


color:#0033cc;
    flex:1 1 auto !important;
    min-width:0 !important;


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


}
}
/* Hide TOC on Main Page */


.page-Main_Page #toc,
.ytp-feature-info h3,
.page-Main_Page .toc {
.ytp-feature-info p{
     display: none;
 
     margin:0 0 6px !important;
 
}
}