MediaWiki:Common.css: Difference between revisions
From TernaryWiki
Jump to navigationJump to search
Created page with "div {margin-top: 0px; margin-bottom: 0px;} h3 {margin-top: 0px; margin-bottom: 0px;} h4 {margin-top: 0px; margin-bottom: 0px;} →Home Page Categories: div.hcat {display: inline-block; vertical-align: text-top; margin: 10px;} →Truth Tables: div.tt {text-align: center; font-family: monospace; font-size: 20px;} table.tt {font-family: monospace; font-size: 20px; margin: 50px; display: inline-block; vertical-align: text-top; border-collapse: collapse;} table.tt td {w..." |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
#toc {float: right;} | |||
div {margin-top: 0px; margin-bottom: 0px;} | div {margin-top: 0px; margin-bottom: 0px;} | ||
h3 {margin-top: 0px; margin-bottom: 0px;} | h3 {margin-top: 0px; margin-bottom: 0px;} | ||
Line 5: | Line 7: | ||
/* Home Page Categories */ | /* Home Page Categories */ | ||
div.hcat {display: inline-block; vertical-align: text-top; margin: 10px;} | div.hcat {display: inline-block; vertical-align: text-top; margin: 10px;} | ||
div.mainpage_row | |||
{ | |||
display: flex; | |||
flex-direction: row; | |||
flex-flow: row wrap; | |||
justify-content: space-between; | |||
padding: 0; | |||
gap: 10px; | |||
margin-top: 10px; | |||
margin-bottom: 10px; | |||
} | |||
div.mainpage_box | |||
{ | |||
flex: 1; | |||
min-width: 210px; | |||
border: 1px solid #a2a9b1; | |||
padding: 0 10px 10px 10px; | |||
box-shadow: 0 2px 2px rgba(0,0,0,0.2); | |||
} | |||
/* Truth Tables */ | /* Truth Tables */ |
Latest revision as of 10:19, 12 May 2025
#toc {float: right;} div {margin-top: 0px; margin-bottom: 0px;} h3 {margin-top: 0px; margin-bottom: 0px;} h4 {margin-top: 0px; margin-bottom: 0px;} /* Home Page Categories */ div.hcat {display: inline-block; vertical-align: text-top; margin: 10px;} div.mainpage_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; gap: 10px; margin-top: 10px; margin-bottom: 10px; } div.mainpage_box { flex: 1; min-width: 210px; border: 1px solid #a2a9b1; padding: 0 10px 10px 10px; box-shadow: 0 2px 2px rgba(0,0,0,0.2); } /* Truth Tables */ div.tt {text-align: center; font-family: monospace; font-size: 20px;} table.tt {font-family: monospace; font-size: 20px; margin: 50px; display: inline-block; vertical-align: text-top; border-collapse: collapse;} table.tt td {width: 24px; height: 24px;} td.tt_r {background-color: #ff8888;} td.tt_g {background-color: #88ff88;} td.tt_b {background-color: #8888ff;} td.tt_bl {border-left: 4px solid black;} td.tt_br {border-right: 4px solid black;} td.tt_bb {border-bottom: 4px solid black;} /* Instruction Set Bubbles */ .optip_a {position: relative; display: inline-block;} .optip_a .optip_b {visibility: hidden; width: 120px; background-color: black; color: #fff; text-align: center; border-radius: 6px; padding: 5px 0; position: absolute; z-index: 99; bottom: 150%; left: 50%; margin-left: -60px;} .optip_a .optip_b::after {content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: black transparent transparent transparent;} .optip_a:hover .optip_b {visibility: visible;} /* Instruction Set Map */ table.ism {text-align: center; font-family: monospace; border-collapse: collapse; font-size: 16px;} table.ism th {width: 30px; height: 30px; border: 1px solid #000000; background-color: #aaaaaa;} table.ism td {width: 30px; height: 30px; border: 1px solid #000000;}