summaryrefslogblamecommitdiff
path: root/css/base.css
blob: fc0cd764bdae00356ae82dd852d6178d4c02d19d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         


                        
                                                                                 


                        
                          

























                                             


                           


                 
                       






                           
         

                                   
                         
                      






                                       
                         



                                       











                                                               

                                                  







                                            
















                                                 
              
                                                  





                              


                                      











                                         









                                                 
                                                  

 





                                                 









                                                  
                                                  


                                                 
                                               

                         
* + div.graphicsPreview,* + img,* + ol,* + ul,* + table {
	margin-top:1rem;
}

div.graphicsPreview + *,img + *,ol + *,p.large + *,p.small + *,ul + *,table + * {
	margin-top:1rem;
}

ol ol,ol ul,ul ol, ul ul {
	margin-top:0;
}

br {
	line-height:1rem;
}

p a,p a:visited {
	color:          var(--colour);
	font-weight:    bold;
	text-decoration:none;
}

p a:hover {
	color:var(--foregroundColour);
}

p.pageTitle,p.large {
	font-family:"Helvetica","sans-serif";
}

p.pageTitle {
	margin-bottom:1rem;
}

p.pageTitle {
	font-size:  3rem;
	text-align: center;
	font-weight:bold;
}

p.pageTitle sub {
	font-size:1rem;
}

p.large {
	font-size:    2rem;
	font-weight:  bold;
}

p.small {
	font-size:  calc(7rem / 8);
	font-style: italic;
	font-weight:bold;
	margin-top: 0;
}

p.small span.data + span.data::before {
	content:    "\0020\2014\0020";
	font-weight:normal;
}

p.math,table tr td.math {
	font-size:calc(3rem / 2);
	margin:   calc(3rem / 2 / 2) 0;
}

div.graphicsPreview {
	align-items:     center;
	background-color:var(--foregroundColour);
	border-radius:   calc(1rem);
	box-sizing:      border-box;
	display:         flex;
	height:          calc(12rem + 1rem * 2 + 1rem / 3 * 2);
	padding:         1rem;
	width:           calc(12rem + 1rem * 2 + 1rem / 3 * 2);
}

div.graphicsPreview img {
	background-color:var(--backgroundColour0);
	border-color:    var(--backgroundColour0);
	border-radius:   calc(1rem / 3 * 2);
	border-style:    solid;
	border-width:    calc(1rem / 3);
	margin:          auto;
	max-height:      12rem;
	max-width:       12rem;
}

img {
	background-color:var(--foregroundColour);
	border-color:    var(--foregroundColour);
	border-radius:   calc(1rem / 3 * 2);
	border-style:    solid;
	border-width:    calc(1rem / 3);
	display:         block;
	max-height:      12rem;
	max-width:       12rem;
}

p img {
	border-style:none;
	display:     inline-block;
	height:      1em;
}

img.mcBanner {
	background-color:var(--backgroundColour1);
	border-radius:   0;
	border-style:    none;
	height:          6rem;
	width:           3rem;
}

img.subgroup,img.subgroup-mc {
	border-radius:calc(6rem / 24);
	border-style: none;
	margin-bottom:1rem;
	width:        6rem;
}

img.subgroup-mc,img.subgroup-mc:hover {
	transition:1s;
}

img.subgroup-mc:hover {
	transform:rotate3d(0,1,0,180deg);
}

ul li,ol li {
	margin-left:2rem;
}

table {
	background-color:var(--foregroundColour);
	border-collapse: collapse;
	border-color:    var(--foregroundColour);
	border-style:    solid;
	border-width:    calc(1rem / 12);
	color:           var(--backgroundColour0);
}

table.data {
	font-family:   "Courier New","monospace";
	word-break:    break-all;
	letter-spacing:calc(1rem / 12);
}

table tr.small {
	font-size:calc(2rem / 3);
}

table tr td,table tr th {
	box-sizing:border-box;
	padding:   calc(1rem / 12) calc(1rem / 3);
}

table tr td {
	background-color:var(--backgroundColour0);
	color:           var(--foregroundColour);
}

table tr td.rightAlign,table tr th.rightAlign {
	text-align:right;
}