Järjestelmäviesti:Common.css

    Tieteen termipankista

    Huomautus: Selaimen välimuisti pitää tyhjentää asetusten tallentamisen jälkeen, jotta muutokset tulisivat voimaan.

    • Firefox ja Safari: Napsauta Shift-näppäin pohjassa Päivitä, tai paina Ctrl-F5 tai Ctrl-R (⌘-R Macilla)
    • Google Chrome: Paina Ctrl-Shift-R (⌘-Shift-R Macilla)
    • Internet Explorer ja Edge: Napsauta Ctrl-näppäin pohjassa Päivitä tai paina Ctrl-F5
    • Opera: Paina Ctrl-F5.
    .title-shortlink-container {
    	display: none;
    }
    
    .hide {
        display: none;
    }
    
    .down {
        background-image:url( '/uploads/nuolialas-pieni.png' );
        background-repeat:no-repeat;
        background-position:right center;
        text-align:left;
        color:blue;
        width:30px;
        
    }
    #mw-panel.collapsible-nav {
    	font-family: Georgia;
    	
    }
    
    #p-ttp-sidebar-nav-about.portal.expanded {
    	font-family: Georgia;
    	
    }
    
    #p-ttp-sidebar-nav-about.portal.expanded ul li a{
    	color: #4d4444 !important;
    	
    }
    
    #p-navigation.portal.first.persistent ul li a{
    	color:#4d4444 !important;
    	
    }
    
    #p-tb.portal.expanded ul li a{
    	color: #4d4444 !important;
    }
    
    .up {
        background-image:url( '/uploads/nuoliylos-pieni.png' );
        background-repeat:no-repeat;
        background-position:right center;
        text-align:left;
        color:black;
        width:30px;
    }
    
    
    
    #bodyContent,
    div#content h1,
    div#content h2,
    div#content #firstHeading {
      font-family: Georgia;
    }
    
    #bodyContent p + p {
      margin-top: 1em;
    }
    
    h1, h2, h3, h4, h5, h6 {
      border-bottom: 1px solid #A7D7F9;
      font-family: Georgia;
    }
    
    h1, #firstHeading {
      font-size: 1.4em;
    }
    
    h2 {
      font-size: 1.2em;
    }
    
    /* luokat **/
    h3 {
      font-size: 0.8em;
    }
    
    #mw-pages h2, #mw-subcategories h2 {
      display: none;
    }
    
    #mw-pages, #mw-subcategories {
      margin-top: 4em;
    }
    
    #mw-subcategories h3 {
      display: none;
    }
    
    .lqt_start_discussion {
      font-size: 200%;
    }
    
    a.new {
     color: #8E8E8E !important;
    }
    
    #oik_paaosa {
        text-align:center;
    }
    
    #oik_esiotsikko {
        font-size: 160%;
        margin-top: 80px;
        margin-bottom: 30px;
        
    }
    
    #oik_otsikko {
        font-size: 250%;
        margin-top: 30px;
        margin-bottom: 80px;
    }
    #oik_paaosa {
        margin-bottom: 120px;
    }
    #con-eq {
        margin-top: 3px;
        margin-bottom: 3px;
        padding: 1px;
    }
    
    #oikeustiede-mainpage {
    	width: 800px;
    	max-width: 100%;
    	aspect-ratio: 800 / 846;
    	background-image: url('/uploads/SLYtausta-iso.jpg');
    	background-repeat: no-repeat;
    	background-position: center;
    	background-size: contain;
    }
    
    #kirjallisuudentutkimus-mainpage {
    	background-image: url('/uploads/kirjat-iso.png');
    	background-repeat: no-repeat;
    	background-size: contain;
    	width: 600px;
    	max-width: 100%;
        aspect-ratio: 600 / 310;
    }
    
    /* Fall-back for lack of aspect-ratio */
    #kirjallisuudentutkimus-mainpage::before,
    #oikeustiede-mainpage::before {
    	content: '';
    	display: block;
    	width: 100%;
    }
    
    #oikeustiede-mainpage::before {
    	padding-bottom: 105.75%;
    }
    
    #kirjallisuudentutkimus-mainpage::before {
    	padding-bottom: 51.7%;
    }
    
    .otsikkohuomautus {
    	float: right;
    	font-variant: small-caps;
    	font-size: 70%;
    	line-height: 1.8em;
    }
    
    #elokuva-linkit p a {
    	color:#660033 !important;
    }
    
    /* Justify content of certain namespaces */
    .ns-1172 #mw-content-text div,
    .ns-1174 #mw-content-text div {
    	text-align: justify;
    }
    
    .aihealuelista {
    	 border: 1px solid #aaaaaa;
    	 background-color: #f9f9f9;
    	 margin-bottom: 20px;
    	 padding: 10px;
    }
    
    #expfi, #expen, #expsv, #deffi, #defen, #defsv, #addfi, #addsv, #adden, .ttp-tieteellinen-nimi, .ttp-ilmionkuvaus {
    	margin-top:20px;
    }
    
    /* Responsive images in page contents */
    #mw-content-text img {
    	max-width: 100%;
    	height: auto;
    	box-sizing: border-box; /* img have 1px borders, which need to be added to the 100% */
    }
    
    /* Fix for forms on mobile, make PF combobox & token adapt to the width */
    #pfForm .pf-select2-container {
    	width: 100%;
    	min-width: 0 !important;
    }
    #pfForm .select2-container {
    	width: 100%;
    }
    
    /* Avoid VE toolbar dropdowns on form pages showing below other toolbars
     * See also https://phabricator.wikimedia.org/T167616 */
    #pfForm .ve-ui-toolbar > .oo-ui-toolbar-bar {
    	z-index: auto;
    }
    
    /* Tweaks for Special:Search */
    .mw-search-results-info .oo-ui-dropdownInputWidget {
    	width: inherit;
    }
    
    .mw-undelete-subtitle,
    .mw-warning-with-logexcerpt {
    	display: none;
    }