MediaWiki:Common.css: Difference between revisions

From Phidgets Support
(Created page with "@import url("/w/index.php?title=MediaWiki:Common.css/Autocount.css&action=raw&ctype=text/css") screen; @import url("/w/index.php?title=MediaWiki:Common.css/Hoverbox.css&action=ra...")
 
No edit summary
 
(125 intermediate revisions by 6 users not shown)
Line 1: Line 1:
@import url("/w/index.php?title=MediaWiki:Common.css/Autocount.css&action=raw&ctype=text/css") screen;
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
@import url("/w/index.php?title=MediaWiki:Common.css/Hoverbox.css&action=raw&ctype=text/css") screen;
// Hides the title for specific pages
@import url("/w/index.php?title=MediaWiki:Common.css/Infobox.css&action=raw&ctype=text/css") screen;
*/
@import url("/w/index.php?title=MediaWiki:Common.css/Mboxes.css&action=raw&ctype=text/css") screen;
body.page-Main_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/Media.css&action=raw&ctype=text/css") screen;
body.page-RTD_Ad_Landing_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/Multilingual.css&action=raw&ctype=text/css") screen;
body.page-Temperature_and_Humidity_Ad_Landing_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/Nav.css&action=raw&ctype=text/css") screen;
body.page-Ambient_Temperature_Ad_Landing_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/toc.css&action=raw&ctype=text/css") screen;
body.page-IR_Temperature_Ad_Landing_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/References.css&action=raw&ctype=text/css") screen;
body.page-Thermocouple_Ad_Landing_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/top.css&action=raw&ctype=text/css") screen;
body.page-Temperature_Ad_Landing_Page h1.firstHeading { display:none; }
@import url("/w/index.php?title=MediaWiki:Common.css/search.css&action=raw&ctype=text/css") screen;
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
.PrettyTextBox { background-color:#F9F9F9; color:#000000; border:1px solid #AAAAAA; padding:0.2em; }
// Hides white space at the top of the Main Page
*/
.archive-box {
body.page-Main_Page #contentSub { display:none; margin-bottom:0px; }
  border: 1px solid #aaaaff;
body.page-Main_Page .ph-wiki-page-content{ padding-top:1rem; }
  background-color: #f2f2f9;
 
  color: black;
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
  margin-bottom: 0.5em;
// Shrink white space at the top of Programming Basics pages
  margin-left: 1em;
*/
  padding: 0.2em;
body.page-Phidget_Programming_Basics .ph-main-content{ padding-top:1rem; }
  float: right;
body.page-Phidget_Channels .ph-main-content{ padding-top:1rem; }
  clear: right;
body.page-Phidget_Program_Outline .ph-main-content{ padding-top:1rem; }
  text-align: center;
body.page-Creating_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Addressing_Phidgets .ph-main-content{ padding-top:1rem; }
body.page-Opening_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Attaching_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Do_Things_with_the_Channel .ph-main-content{ padding-top:1rem; }
body.page-Closing_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Using_Events .ph-main-content{ padding-top:1rem; }
body.page-A_Basic_Phidget_Program .ph-main-content{ padding-top:1rem; }
body.page-Using_Multiple_Phidgets .ph-main-content{ padding-top:1rem; }
body.page-Using_the_Phidget22_API .ph-main-content{ padding-top:1rem; }
body.page-Handling_Errors_and_Logging .ph-main-content{ padding-top:1rem; }
body.page-Phidget_Network_Server .ph-main-content{ padding-top:1rem; }
body.page-Advanced_Topics .ph-main-content{ padding-top:1rem; }
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides category links at bottom of pages
*/
#catlinks { display: none; }
#mw-normal-catlinks { display: none; }
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides the thumbnail magnify link and the "powered by mediawiki" icon.
*/
.magnify {display: none}
//#footer-poweredbyico { display: none; }
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Makes the level 4 header italic so it looks different from level 3.
*/
 
h4{
font-style: italic;
}
}
 
/* Style for horizontal UL lists */
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/
.horizontal ul, .DPLFlat ul { padding:0em; margin:0em; }
 
.horizontal li, .DPLFlat li { display:inline; padding:0em 0.6em 0em 0.4em; border-right:1px solid #AAA; }
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
.horizontal li:last-child, .DPLFlat li:last-child { border-right:0em; padding-right:0em; }
// The following code enables numberless tables of contents.
// When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers.
/* Style for vertical UL lists */
*/
.vertical ul { list-style:none; padding:0px; margin:0px; }
 
.vertical li { padding:0.6em 0em 0.4em 0em; border-bottom:1px solid #aaaaaa; }
.nonumtoc .tocnumber { display: none; }
.vertical li:last-child { border-bottom:0px; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
/* Add arrows to toggle-blocks for collapsible elements */
    line-height: 1.5em;
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-expanded {
    list-style: none;
padding-left: 20px !important;
    margin: .3em 0 0;
background-image: url('http://upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
    padding: 0;
background-repeat: no-repeat;
background-position: center left;
}
}
.mw-collapsible-arrowtoggle.mw-collapsible-toggle-collapsed {
.nonumtoc #toc ul ul,
padding-left: 20px !important;
.nonumtoc .toc ul ul {
background-image: url('http://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
    margin: 0 0 0 2em;  
background-repeat: no-repeat;
background-position: center left;
}
}
 
/* Fixes for portal pages */
/* Allow limiting of which header levels are shown in a TOC;
body.page-Main_Page #deleteconfirm,
  <div class="toclimit-3">, for instance, will limit to
body.page-Main_Page #t-cite,
  showing ==headings== and ===headings=== but no further
body.page-Main_Page #footer-info-lastmod,
  (as long as there are no =headings= on the page, which
body.page-Main_Page #firstHeading,
  there shouldn't be according to the MoS). */
body.page-Wikijunior #deleteconfirm,
.toclimit-2 .toclevel-1 ul,
body.page-Wikijunior #t-cite,
.toclimit-3 .toclevel-2 ul,
body.page-Wikijunior #footer-info-lastmod,
.toclimit-4 .toclevel-3 ul,
body.page-Wikijunior #firstHeading {
.toclimit-5 .toclevel-4 ul,
  display: none;
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}
}
body.page-Main_Page h2,
 
body.page-Wikijunior h2 { font-size:16pt; margin:0; padding: 0; border-bottom:0; font-weight: bold; }
/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/
body #siteSub { display: none; }
 
/*//////////////////////////////////////////////////////////////////////////////////////////
/* Fix the background color on the sitenotice */
// Makes the typical source code div container
table#mw-dismissable-notice { background-color: transparent; }
*/
 
/* For template documentation */
div.source {
.template-documentation { clear:both; margin:1em 0em 0em 0em; border: 1px solid #aaddff;  background-color:#eef5ff; padding:1em; }
  background-color: #f3f3f3;  
  /*border-color: #1c9edb;*/
/* Remove default styles for [[MediaWiki:Noarticletext]]. */
  /*Fake border:*/
div.noarticletext { border:none; background:transparent; padding:0px; }
  font-size: 10pt;
  border-color: #555555;  
/* Selectively hide headers in WikiProject banners */
  border-width:2px;  
.wpb .wpb-header            { display: none; }
  border-style: dashed;
.wpbs-inner .wpb .wpb-header { display: block; }    /* for IE */
   padding:6px;
.wpbs-inner .wpb .wpb-header { display: table-row; } /* for other browsers */
.wpbs-inner .wpb-outside    { display: none; }      /* hide things that should only display outside shells */
.nowraplinks a, .nowraplinks .selflink { white-space: nowrap; }
/* Hack to remove comment box for FlaggedRevs, since we seem unable to remove it from configuration. */
#mw-fr-commentbox { display:none; }
/* User block messages */
div.user-block { padding: 5px; margin-bottom: 0.5em; border: 1px solid #A9A9A9; background-color: #FFEFD5; }
/* Keep menus in toolbox from growing too long */
.wikiEditor-ui-toolbar .group .menu .options { height:300px; overflow: auto; }
/* Accessibility experiment: make diff changes not just color-based */
.diffchange { font-weight:bold; background-color: inherit; }
td.diff-addedline, td.diff-deletedline, td.diff-context { font-size:85%; color: inherit; }
/* Show only when printing */
@media screen, projection, handheld {
   .printonly { display: none !important; }
}
}
 
/* Disable the automatic text-size adjust of WebKit on iPhones etc.
/* Hide edit links */
  It scales some text, and not the other. Use none, or fixed percentage instead.
.mw-editsection { display:none!important; }
  Use media selector, because defining a value, overwrites platform defaults. */
.editsection { display:none!important; }
@media only screen and (max-device-width: 480px) {
 
     body {
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
        -webkit-text-size-adjust: none;
// Changes the look of the tabber tabs
*/
 
ul.tabbernav li a {
color: #269964;
background-color: #f1f1f1;
font-size: 15px;
}
 
ul.tabbernav li a:link {
color: #269964;
}
 
ul.tabbernav li a:visited {
color: #269964;
}
 
ul.tabbernav li a:hover {
color: #168351;
background-color: #e4e4e4;
}
 
ul.tabbernav li.tabberactive a {
color: #474747;
font-weight: bold;
background-color: white;
}
 
ul.tabbernav li.tabberactive a:hover {
color: #474747;
font-weight: bold;
background-color: white;
}
 
.bigTabs > .tabberlive > ul.tabbernav > li.tabberactive a {
}
 
.bigTabs > .tabberlive > ul.tabbernav > li a {
font-size: 20px;
}
 
/* Fix a bug in the tabber - ref: https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/issues/30 */
.tabber__panel[aria-hidden="true"] {
    display: none; width: 100%;
}
.tabber__panel[aria-hidden="false"] {
    display: block; width: 100%;
}
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Hover Box for switching the visibility of the selected item
*/
.hoverbox { display:inline-block; padding:0em; }
.hoverbox .hoveritem { display:none; margin:0em; padding:0em; }
.hoverbox .hoveritem.selected { display:inline-block; }
.hoverbox:hover .hoveritem { display:inline-block; }
.hoverbox:hover .hoveritem.selected { display:none; }
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Force certain images to appear inline even on mobile
*/
.InlineImages img {display:inline; padding:0em;}
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Styling for main page buttons
*/
.MainFlow1 .hoverbox{width:21.36%;}
.MainFlow2 .hoverbox{width:19.33%;}
.MainFlow3 .hoverbox{width:19.33%;}
.MainFlow4 .hoverbox{width:21.36%;}
.MainFlow1 img{width:100%;height: auto;}
.MainFlow2 img{width:100%;height: auto;}
.MainFlow3 img{width:100%;height: auto;}
.MainFlow4 img{width:100%;height: auto;}
.MainFlowArrow img {width:6.20%;height: auto;}
 
.MP_Troubleshooting .hoverbox{width:17%;}
.MP_Troubleshooting img{width:100%;height: auto;}
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Make Programming Basics Intro table better on mobile
*/
 
.ProgrammingBasicsIntro table tr>:first-child {
    width:60%;
}
 
@media screen and (max-width:767px) {
     .ProgrammingBasicsTOC
    {
      display:none;
     }
     }
    .ProgrammingBasicsIntro>div:nth-child(1)>table>tbody>tr>td:nth-child(1)
    {
        white-space: pre-wrap;
        width:100%;
    }
}
@media screen and (min-width:767px) {
    .ProgrammingBasicsTOCsmall
    {
      display:none;
    }
}
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Fix slide deck scrolling issue on Safari (Sept 2021)
*/
.ph-main-content{ overflow-y: auto; }
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Styling for collapsible sections (introduced Apr 2020)
*/
.ugcContent {
padding-top: 10px;
display: none;
}
.ugcHeaderName {
font-weight: 600;
}
.ugcHeaderIcon {
margin: 0px 5px 0px 5px;
display: inline-block;
width: 0;
height: 0;
border-right: 0px;
border-top: 5px solid transparent;
border-left: 10px solid #7a8598;
border-bottom: 5px solid transparent;
}
.ugcHeaderIcon.down {
margin: 0px 5px 0px 5px;
display: inline-block;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 10px solid #474747;
border-bottom: 0px;
}
.ugcHeader {
font-size: 16px;
background-color: #c9daf8;
padding: 5px 0px 5px 5px;
margin-top: 10px;
}
.ugcOpenAll {
font-size: 12px;
font-weight: 800;
width: 80px;
height: 25px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background-color: #c9daf8;
padding: 5px;
border-radius: 25px;
margin-top: 10px;
}
.table-no-border>.tr>td {
    border-top: 0;
}
}
 
/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size.
.table-no-border>tbody>tr>td {
  [[Bugzilla:26204]]. */
     border-top: 0;
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript {
     font-family: monospace, "Courier New" !important;
}
}
 
/* Re-bold-en minor and bot edits in contributions, history, recent changes */
/*////////////////////////////////////////////////////////////////////////////////////////////
abbr.minoredit, abbr.botedit {
/* Make TOC Float left, but only if there's room in the margins
  font-weight: bold;
/* It will scale down with margin size until there's almost none left
/* Added July 2023
*/
@media screen and (min-width:1400px) {
    #toc {
    float:left;
    margin:0 0 1em 1em;
    position:fixed;
    top:220px;
    left:10px;
    overflow:auto;
    max-height: calc(100% - 220px);
    max-width: calc(50% - 510px);
    };
}
}
 
#catlinks li {
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
     padding:0 .3em;
/* Make OS and Language category pages look better on mobile
     margin:0;
*/
@media screen and (max-width:599px) {.OSTableFull, .LangTableFull {display:none;}}
@media screen and (min-width:600px) {.OSTableSmall, .LangTableSmall {display:none;}}
 
/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Remove off-centered border on thumbnails with descriptions
*/
 
div.thumbinner {
     border: none;
     background-color: #ffffff;
}
}
#catlinks li:first-child {
 
     padding-left:0;
.thumbimage {
     border: 1px solid #ffffff;
}
}

Latest revision as of 16:42, 18 November 2024

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides the title for specific pages
*/
body.page-Main_Page h1.firstHeading { display:none; }
body.page-RTD_Ad_Landing_Page h1.firstHeading { display:none; }
body.page-Temperature_and_Humidity_Ad_Landing_Page h1.firstHeading { display:none; }
body.page-Ambient_Temperature_Ad_Landing_Page h1.firstHeading { display:none; }
body.page-IR_Temperature_Ad_Landing_Page h1.firstHeading { display:none; }
body.page-Thermocouple_Ad_Landing_Page h1.firstHeading { display:none; }
body.page-Temperature_Ad_Landing_Page h1.firstHeading { display:none; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides white space at the top of the Main Page
*/
body.page-Main_Page #contentSub { display:none; margin-bottom:0px; }
body.page-Main_Page .ph-wiki-page-content{ padding-top:1rem; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Shrink white space at the top of Programming Basics pages
*/
body.page-Phidget_Programming_Basics .ph-main-content{ padding-top:1rem; }
body.page-Phidget_Channels .ph-main-content{ padding-top:1rem; }
body.page-Phidget_Program_Outline .ph-main-content{ padding-top:1rem; }
body.page-Creating_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Addressing_Phidgets .ph-main-content{ padding-top:1rem; }
body.page-Opening_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Attaching_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Do_Things_with_the_Channel .ph-main-content{ padding-top:1rem; }
body.page-Closing_a_Channel .ph-main-content{ padding-top:1rem; }
body.page-Using_Events .ph-main-content{ padding-top:1rem; }
body.page-A_Basic_Phidget_Program .ph-main-content{ padding-top:1rem; }
body.page-Using_Multiple_Phidgets .ph-main-content{ padding-top:1rem; }
body.page-Using_the_Phidget22_API .ph-main-content{ padding-top:1rem; }
body.page-Handling_Errors_and_Logging .ph-main-content{ padding-top:1rem; }
body.page-Phidget_Network_Server .ph-main-content{ padding-top:1rem; }
body.page-Advanced_Topics .ph-main-content{ padding-top:1rem; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides category links at bottom of pages 
*/
#catlinks { display: none; }
#mw-normal-catlinks { display: none; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Hides the thumbnail magnify link and the "powered by mediawiki" icon.
*/
.magnify {display: none}
//#footer-poweredbyico { display: none; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Makes the level 4 header italic so it looks different from level 3. 
*/

h4{
font-style: italic;
}

/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// The following code enables numberless tables of contents.
// When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers.
*/

.nonumtoc .tocnumber { display: none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
    line-height: 1.5em;
    list-style: none;
    margin: .3em 0 0;
    padding: 0;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}

/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS). */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
    display: none;
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/*//////////////////////////////////////////////////////////////////////////////////////////
// Makes the typical source code div container
*/

div.source {
  background-color: #f3f3f3; 
  /*border-color: #1c9edb;*/ 
  /*Fake border:*/
  font-size: 10pt;
  border-color: #555555; 
  border-width:2px; 
  border-style: dashed;
  padding:6px;
}

/* Hide edit links */
.mw-editsection { display:none!important; }
.editsection { display:none!important; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
// Changes the look of the tabber tabs
*/

ul.tabbernav li a {
color: #269964;
background-color: #f1f1f1;
font-size: 15px;
}

ul.tabbernav li a:link {
color: #269964;
}

ul.tabbernav li a:visited {
color: #269964;
}

ul.tabbernav li a:hover {
color: #168351;
background-color: #e4e4e4;
}

ul.tabbernav li.tabberactive a {
color: #474747;
font-weight: bold;
background-color: white;
}

ul.tabbernav li.tabberactive a:hover {
color: #474747;
font-weight: bold;
background-color: white;
}

.bigTabs > .tabberlive > ul.tabbernav > li.tabberactive a {
}

.bigTabs > .tabberlive > ul.tabbernav > li a {
font-size: 20px;
}

/* Fix a bug in the tabber - ref: https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue/issues/30 */
.tabber__panel[aria-hidden="true"] {
    display: none; width: 100%;
}
.tabber__panel[aria-hidden="false"] {
    display: block; width: 100%;
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Hover Box for switching the visibility of the selected item
*/
.hoverbox { display:inline-block; padding:0em; }
.hoverbox .hoveritem { display:none; margin:0em; padding:0em; }
.hoverbox .hoveritem.selected { display:inline-block; }
.hoverbox:hover .hoveritem { display:inline-block; }
.hoverbox:hover .hoveritem.selected { display:none; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Force certain images to appear inline even on mobile
*/
.InlineImages img {display:inline; padding:0em;}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Styling for main page buttons
*/
.MainFlow1 .hoverbox{width:21.36%;}
.MainFlow2 .hoverbox{width:19.33%;}
.MainFlow3 .hoverbox{width:19.33%;}
.MainFlow4 .hoverbox{width:21.36%;}
.MainFlow1 img{width:100%;height: auto;}
.MainFlow2 img{width:100%;height: auto;}
.MainFlow3 img{width:100%;height: auto;}
.MainFlow4 img{width:100%;height: auto;}
.MainFlowArrow img {width:6.20%;height: auto;}

.MP_Troubleshooting .hoverbox{width:17%;}
.MP_Troubleshooting img{width:100%;height: auto;}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Make Programming Basics Intro table better on mobile
*/

.ProgrammingBasicsIntro table tr>:first-child {
    width:60%;
}

@media screen and (max-width:767px) {
    .ProgrammingBasicsTOC
    {
       display:none;
    }

    .ProgrammingBasicsIntro>div:nth-child(1)>table>tbody>tr>td:nth-child(1)
    {
        white-space: pre-wrap;
        width:100%;
    }

}

@media screen and (min-width:767px) {
    .ProgrammingBasicsTOCsmall
    {
       display:none;
    }
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Fix slide deck scrolling issue on Safari (Sept 2021)
*/

.ph-main-content{ overflow-y: auto; }

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Styling for collapsible sections (introduced Apr 2020)
*/
.ugcContent {
	padding-top: 10px;
	display: none;
}

.ugcHeaderName {
	font-weight: 600;
}

.ugcHeaderIcon {
	margin: 0px 5px 0px 5px;
	display: inline-block;
	width: 0;
	height: 0;
	border-right: 0px;
	border-top: 5px solid transparent;
	border-left: 10px solid #7a8598;
	border-bottom: 5px solid transparent;
}


.ugcHeaderIcon.down {
	margin: 0px 5px 0px 5px;
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 10px solid #474747;
	border-bottom: 0px;
}

.ugcHeader {
	font-size: 16px;
	background-color: #c9daf8;
	padding: 5px 0px 5px 5px;
	margin-top: 10px;
}

.ugcOpenAll {
	font-size: 12px;
	font-weight: 800;
	width: 80px;
	height: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: #c9daf8;
	padding: 5px;
	border-radius: 25px;
	margin-top: 10px;
}

.table-no-border>.tr>td {
    border-top: 0;
}

.table-no-border>tbody>tr>td {
    border-top: 0;
}

/*////////////////////////////////////////////////////////////////////////////////////////////
/* Make TOC Float left, but only if there's room in the margins
/* It will scale down with margin size until there's almost none left
/* Added July 2023
*/
@media screen and (min-width:1400px) {
    #toc {
    float:left;
    margin:0 0 1em 1em;
    position:fixed;
    top:220px;
    left:10px;
    overflow:auto;
    max-height: calc(100% - 220px);
    max-width: calc(50% - 510px);
    };
}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Make OS and Language category pages look better on mobile
*/
@media screen and (max-width:599px) {.OSTableFull, .LangTableFull {display:none;}}
@media screen and (min-width:600px) {.OSTableSmall, .LangTableSmall {display:none;}}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Remove off-centered border on thumbnails with descriptions
*/

div.thumbinner {
    border: none;
    background-color: #ffffff;
}

.thumbimage {
    border: 1px solid #ffffff;
}