Template:Trigate Major Sophont Summary/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
.infobox {
/* Infobox
**************************************************************/
/*
div.mw-parser-output > div.infobox {
min-width: 316px;
min-width: 316px;
max-width: 30vw;
max-width: 30vw;
box-sizing: border-box;
box-sizing: border-box;
margin: 0 0.2rem 0.4rem 0.2rem;
margin: 0 0.2rem 0.4rem 1.4rem;
background-color: var( --color-surface-1 );
background-color: var( --color-surface-1 );
border-radius: var( --border-radius--medium );
border-radius: var( --border-radius--medium );
Line 9: Line 12:
font-size: 0.875rem;
font-size: 0.875rem;
transition: box-shadow 0.2s ease;
transition: box-shadow 0.2s ease;
margin-left: 1.4rem;
clear: right;
clear: right;
float: right;
float: right;
overflow: hidden;
overflow: hidden;
}


.infobox > :first-child {
    &:first-child {
    margin-top: 0; }
        margin-top: 0;  
.infobox > :last-child {
    }
    margin-bottom: 0; }
    &:last-child {
 
        margin-bottom: 0;  
.infobox:hover {
    }
box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 );
    &:hover {
}
    box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 );
    }
   
    table.trigate_major_sophont_summary {
        background: none;
        margin: 1.25rem auto auto auto;


table#trigate_major_sophont_summary {
        tr.even, tr.alt, tr:nth-of-type(even) {
background: none;
            background: none;
margin: 1.25rem auto auto auto;
        }
}


table#trigate_major_sophont_summary tr.even, table tr.alt, table tr:nth-of-type(even) {
        td:first-child {
background: none;
            border-right: 0.1em solid #ccc;
}
        }


table#trigate_major_sophont_summary td:first-child {
        td.table_noborder {
border-right: 0.1em solid #ccc;
            border-right: none;
}
        }


table#trigate_major_sophont_summary td.table_noborder {
    }
border-right: none;
}
}


@media screen and (min-width: 677px) {
@media screen and (max-width: 960px) {
     .infobox {
     div.infobox {
         float: none;
         float: none;
         margin-left: auto;
        clear: right;       
         margin-right: auto;
         margin: 0 auto 0.4rem auto;
         max-width: 90%;
     }
     }
}
}
*/

Latest revision as of 19:27, 6 August 2022

/* Infobox
**************************************************************/
/*
div.mw-parser-output > div.infobox {
	min-width: 316px;
	max-width: 30vw;
	box-sizing: border-box;
	margin: 0 0.2rem 0.4rem 1.4rem;
	background-color: var( --color-surface-1 );
	border-radius: var( --border-radius--medium );
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 );
	font-size: 0.875rem;
	transition: box-shadow 0.2s ease;
	clear: right;
	float: right;
	overflow: hidden;

    &:first-child {
        margin-top: 0; 
    }
    &:last-child {
        margin-bottom: 0; 
    }
    &:hover {
	    box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 );
    }
    
    table.trigate_major_sophont_summary {
        background: none;
        margin: 1.25rem auto auto auto;

        tr.even, tr.alt, tr:nth-of-type(even) {
            background: none;
        }

        td:first-child {
            border-right: 0.1em solid #ccc;
        }

        td.table_noborder {
            border-right: none;
        }

    }
}

@media screen and (max-width: 960px) {
    div.infobox {
        float: none;
        clear: right;        
        margin: 0 auto 0.4rem auto;
        max-width: 90%;
    }
}
*/
We collect cookies to analyze our website traffic and performance; we never collect any personal data.