Template:Zhegalkin twins 32/style.css

table.zhe32 { position: relative; width: 100%; border-collapse: collapse; border: 2px solid #9b8669; border-bottom: 0; background-color: #fdfaf7; } table.zhe32.last { border-bottom: 2px solid #9b8669; margin-bottom: 25px; }

table.zhe32 > tbody > tr > th {width: 50%; color: #5a4221;}

table.zhe32 > tbody > tr > td {width: 25%; padding: 10px} table.zhe32 > tbody > tr > td:nth-child(odd) img {float: right;} table.zhe32 > tbody > tr > td:nth-child(even) img {float: left;}

table.zhe32 > tbody > tr > th:first-child, table.zhe32 > tbody > tr > td:nth-child(2) {border-right: 1px solid #b8a994;} table.zhe32 > tbody > tr > td.no-border {border-right: none;}

/* horizontal borders in antipodes table */

table.zhe32.antipodes > tbody > tr > th, table.zhe32.antipodes > tbody > tr > td {border-bottom: 1px solid #b8a994 !important;}

/* colored thumb frames */

table.zhe32 figure img {border: 1px solid white !important;}

table.zhe32 td.NXAND-OSNOR figure {background-color: #81c081; border: 1px solid #5a865a; border-bottom: none;} table.zhe32 td.NXAND-OSNOR figcaption {background-color: #81c081 !important; border: 1px solid #5a865a !important; border-top: none !important;}

table.zhe32 td.GAND-ESAND figure {background-color: #de66ac; border: 1px solid #9b4778; border-bottom: none;} table.zhe32 td.GAND-ESAND figcaption {background-color: #de66ac !important; border: 1px solid #9b4778 !important; border-top: none !important;}

table.zhe32 td.SAND-OSAND figure {background-color: #ffae5d; border: 1px solid #b27941; border-bottom: none;} table.zhe32 td.SAND-OSAND figcaption {background-color: #ffae5d !important; border: 1px solid #b27941 !important; border-top: none !important;}

table.zhe32 td.XOR-SNOR figure {background-color: #e4c4a1; border: 1px solid #9f8970; border-bottom: none;} table.zhe32 td.XOR-SNOR figcaption {background-color: #e4c4a1 !important; border: 1px solid #9f8970 !important; border-top: none !important;}

table.zhe32 td.NAND-EQ figure {background-color: #bcee68; border: 1px solid #83a648; border-bottom: none;} table.zhe32 td.NAND-EQ figcaption {background-color: #bcee68 !important; border: 1px solid #83a648 !important; border-top: none !important;}

table.zhe32 td.NXOR-GNOR figure {background-color: #799fce; border: 1px solid #546f90; border-bottom: none;} table.zhe32 td.NXOR-GNOR figcaption {background-color: #799fce !important; border: 1px solid #546f90 !important; border-top: none !important;}

table.zhe32 td.XAND-ESNOR figure {background-color: #9d7a44; border: 1px solid #6d552f; border-bottom: none;} table.zhe32 td.XAND-ESNOR figcaption {background-color: #9d7a44 !important; border: 1px solid #6d552f !important; border-top: none !important;}

/* hide the little icons in the thumb frames, because they float in the top right corner */

table.zhe32 > tbody > tr > td a.mw-file-description:after {display: none;}

/* move collapse button to the left */

table.zhe32 span.collapseButton { position: absolute; left: 10px; top: 3px; }