Difference between revisions of "MediaWiki:Common.css"

From Free Software Directory
Jump to: navigation, search
(+.subject_header)
(fixed .subject_header)
Line 66: Line 66:
 
.subject_header {
 
.subject_header {
 
     width:100%;
 
     width:100%;
     box-shadow: 3px 3px 5px 0px #ccc;
+
     font-family: Arial, Helvetica, sans-serif;
     padding: 8px 0px 8px 10px;
+
     font-weight: bold;
     border-radius:10px 10px 10px 10px;
+
     border-top-color:#e74c3c;
     border: gray 0.1em solid;
+
     border-top-style: solid;
     background-color: #ffa;
+
     border-width: 4px 0px 0px 0px;
 +
    color:#e74c3c;
 +
    font-size: 20px;
 +
    padding-bottom: 10px;
 +
    padding-top: 10px;
 +
    text-transform: uppercase;
 
}
 
}

Revision as of 11:58, 19 April 2020

/* CSS placed here will be applied to all skins */
span.checkboxSpan {
width: 220px;
display: block;
float: left;
}

.Tor { background: url("//svnweb.fsf.org/static/trunk/directory/images/logos/Tor.jpg") no-repeat; width: 100px; height: 100px;display: block; text-indent: -9999px;}
.TorChat { background: url("//svnweb.fsf.org/static/trunk/directory/images/logos/Tor.jpg") no-repeat; width: 100px; height: 100px;display: block; text-indent: -9999px;}

table.antifeature { border:2px solid red; padding:5px; }

/*The 2 column text of Package entries in desktop mode becomes inline in mobile view*/
.left-float {
 float:left; 
 width:60%; 
 margin: 2px 4px 0px 4px;}

.right-float{
 float:right; 
width:35%; 
margin: 2px 4px 0px 4px;}

@media only screen and (max-width: 800px){
.left-float,
.right-float {
		float: inherit;
		width: inherit;
	}
}

/*To make licenses section vertical for mobile view*/
* {
    box-sizing: border-box;
}

.license-column {
    float: left;
    width: 17%;
   padding: 2px;
}

.license-wide-column{
 float: left;
 width: 49%;
 padding: 2px;
 
 }

.license-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 760px) {
    .license-column {
        width: 100%;
    }
    .license-wide-column{
    width: 100%
    }
}

.subject_header {
    width:100%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    border-top-color:#e74c3c;
    border-top-style: solid;
    border-width: 4px 0px 0px 0px;
    color:#e74c3c;
    font-size: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-transform: uppercase;
}


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.