charlesbaptista_html

Source for my website; charlesbaptista.com
Log | Files | Refs

style.css (4133B)


      1 
      2 /* This goblino stylesheet is under construction. t. Luke */
      3 /* I'm merging a couple user submissions. */
      4 
      5 :root {
      6     --color0: #292D3E;
      7     --color1: #F07178;
      8     --color2: #C3E88D;
      9     --color3: #FFCB6B;
     10     --color4: #82AAFF;
     11     --color5: #C792EA;
     12     --color6: #89DDFF;
     13     --color7: #959DCB;
     14     --color8: #676E95;
     15     --color9: #f78C6C;
     16     --color10: #444267;
     17     --color11: #32374D;
     18     --color12: #8796B0;
     19     --color13: #959DCB;
     20     --color14: #FF5370;
     21     --color15: #FFFFFF;
     22     --textcol: #858596;
     23 	--bg: #1b1b23;
     24 	--altbg:#292934;
     25 	--link: #97bef9;
     26 	--linkalt: #5982c1;
     27 }
     28 
     29 #links img{
     30 	height: 1.25em;
     31 }
     32 
     33 #links {
     34 	font-size: large;
     35 	align: center;
     36 	margin: auto;
     37 	max-width: 600px;
     38 	text-align: center;
     39 	background-color: var(--altbg);
     40 	padding: 5px;
     41 	border-radius: 30px;
     42 }
     43 
     44 li img{
     45 	height: 1.25em;
     46 }
     47 h1 img{
     48 	height: 1em;
     49 }
     50 
     51 h2 img{
     52 	height: 1em;
     53 }
     54 
     55 h3 img{
     56 	height: 1em;
     57 }
     58 
     59 
     60 
     61 html {
     62 	padding-bottom: 100px;
     63 	color: var(--textcol);
     64 	font-family: sans-serif;
     65 	background: var(--bg);
     66 }
     67 
     68 a {
     69 	color: var(--link);
     70 	text-decoration: none;
     71 }
     72 
     73 a:hover {
     74     color: var(--linkalt);
     75 }
     76 
     77 body {
     78 	max-width: 1050px;
     79 	margin-left: auto;
     80 	margin-right: auto;
     81 	margin-top: 30px;
     82 	overflow: none;
     83 }
     84 
     85 /* The two panels on the main page: */
     86 .mainpanel {
     87 	float: left;
     88 	max-width: 700px;
     89 	padding: 4px;
     90 	padding-right: 30px;
     91 }
     92 
     93 .mainpanel li {
     94     line-height:20px;
     95 }
     96 
     97 .sidepanel {
     98 	float: left;
     99 	max-width: 300px;
    100 	background-color: var(--altbg);
    101 	padding:2px;
    102 	border-radius: 0 10px 30px 0;
    103 }
    104 
    105 .sidepanel a {
    106     color: #85631b;
    107 }
    108 
    109 .sidepanel a:hover {
    110     color: #d89e23;
    111 }
    112 
    113 .sidepanel ul li {
    114     font-size:20px;
    115     margin:0 0 15px 0;
    116 }
    117 
    118 .sidepanel ul li ul li {
    119     font-size:18px;
    120     margin: 0px;
    121     list-style: none;
    122 }
    123 
    124 a:hover img {
    125     background: #fe8019;
    126 }
    127 
    128 /* Blog entry: */
    129 .entry {
    130 	padding: 10px;
    131 	border-radius: 0 10px 30px 0;
    132 	margin-bottom: 20px;
    133 	background: #2a2a35;
    134 	border-left: 10px solid #5982c1;
    135 }
    136 
    137 .entry h2 {
    138     margin: 5px auto 2px auto;
    139 }
    140 
    141 footer strong {
    142     font-weight: bold;
    143 }
    144 
    145 dt {
    146 	font-weight: bold;
    147 }
    148 
    149 dt img {
    150 	height: 1em;
    151 }
    152 
    153 /* Class name of video thumbnails in videos.html */
    154 .image {
    155 	width: 175px !important;
    156 	table-layout: fixed;
    157 	margin-left: auto;
    158 	margin-right: auto;
    159 	display: inline-table;
    160 	padding: 0px;
    161 }
    162 
    163 .image figcaption img {
    164 	height: 1em;
    165 }
    166 
    167 img.centered {
    168 	display: block;
    169 	margin-right: auto;
    170 	margin-left: auto;
    171 }
    172 
    173 img {
    174     /* border: 1px solid var(--color10); */
    175     /* background: var(--color10); */
    176     /* border-radius: 4px; */
    177 }
    178 
    179 figcaption {
    180 	padding: 0px;
    181 	max-width: 175px;
    182 }
    183 
    184 code {
    185 	color: var(--color2);
    186     overflow-x: auto;
    187     /* background: #1d2021; */
    188 }
    189 
    190 pre {
    191     background: var(--color11);
    192     border: 1px solid var(--color10);
    193     border-radius: 4px;
    194     padding: 5px;
    195     display: block;
    196     align: center;
    197     max-width: 900px;
    198     /* background: #1d2021; */
    199 }
    200 
    201 .indexcolname {
    202 	max-width: 100px;
    203 	text-overflow: ellipsis;
    204 	white-space: nowrap;
    205 	overflow: hidden;
    206 }
    207 
    208 .indexcoldesc {
    209 	font-weight: bold;
    210 	padding: 10px;
    211 	font-size: large;
    212 }
    213 
    214 .indexcollastmod,.indexcolsize {
    215 	font-size: small;
    216 }
    217 
    218 #indexlist {
    219     margin: 0px auto;
    220 }
    221 
    222 .centerpiece {
    223 	align: center;
    224 	margin: 0px auto;
    225 }
    226 
    227 /* Used in library.html */
    228 .booklist dt {
    229 	display: list-item;
    230 	list-style-type: square;
    231 	font-weight: normal;
    232 }
    233 
    234 .booklist dd {
    235 	display: none;
    236 }
    237 
    238 .booklist:hover dd {
    239 	display: block;
    240 }
    241 
    242 /* The mic class is for books featured in a NotRelated episode. */
    243  .mic:before {
    244     content: "🎙️";
    245 }
    246 
    247 .mic {
    248 	list-style: none;
    249 	padding-left: 1em;
    250 	text-indent: -1em;
    251 	margin-left: 0;
    252 	padding-left: 0;
    253 }
    254 
    255  h1 {
    256     color: #50505f;
    257     font-weight:normal;
    258 }
    259 
    260  h2 {
    261     color: #bb841a;
    262     font-weight:normal;
    263 }
    264 
    265 .imgcont {
    266 	   text-align: center;
    267 	     position: relative;
    268 }
    269 
    270 .imgconttext {
    271 	position: absolute;
    272 	top: 50%;
    273 	left: 50%;
    274 	transform: translate(-50%, -50%);
    275 	font-size: xx-large;
    276 	color: black;
    277 	text-shadow:
    278     -1px -1px 0 white,
    279     1px -1px 0 white,
    280     -1px 1px 0 white,
    281     1px 1px 0 white;
    282 }
    283 
    284 .hiddiv {
    285 	display: none;
    286 }
    287 
    288 .qr:hover {
    289 	color: goldenrod;
    290 }
    291 
    292 .qr:hover .hiddiv {
    293 	display: block;
    294 	float: right;
    295 }
    296 
    297 .hiddiv img {
    298 	height: 200px;
    299 }