Debian Codegraph @

doc/pasdoc/html-parts/castle-engine-website-base/castle-engine.css

raw symbols SCIP
1 body {
2 /* Override Bootstrap to add Inter https://fonts.google.com/specimen/Inter */
3 /* font-family: Inter,"Helvetica Neue",Helvetica,Arial,sans-serif !important; */
4 /* Override Bootstrap 14px */
5 font-size: 16px;
6 line-height: 1.5;
7 }
8
9 /* Makes reading much easier, like on
10 https://docs.asciidoctor.org/asciidoc/latest/macros/audio-and-video/
11 https://castle-engine.io/build_tool */
12 p {
13 margin-bottom: 16px;
14 }
15
16 /* Override Bootstrap default:
17
18 Remove "Courier New",
19 "Courier New" bold width doesn't match regular "Courier New",
20 this hurts our CommonSurfaceShader view on x3d_implementation_texturing_extensions.php .
21 It is also not nice on Linux according to
22 https://github.com/twbs/bootstrap/issues/18609
23 */
24 code, kbd, pre, samp {
25 font-family: monospace !important;
26 }
27
28 @media only screen and (max-width : 767px) {
29 .sidebar {
30 /* vertical margin between sidebar and content,
31 on small devices when sidebar is at bottom */
32 margin-top: 1em;
33 }
34 }
35
36 @media only screen and (min-width : 768px) {
37 .content-near-sidebar {
38 /* horizontal margin from sidebar */
39 /* padding-left: 2em; */
40 }
41 }
42
43 .fixed-width-content {
44 /* Like Wordpress .wrap */
45 width: 1200px;
46 max-width: 100%;
47 margin-left: auto;
48 margin-right: auto;
49 }
50
51 /* all images, movies responsive */
52 .media-responsive, img, iframe {
53 max-width: 100%;
54 }
55 /* scale to max-width preserving proportions, even if intrinsic image sizes (width/height on <img>) are given.
56 Note: *Do not* do this for iframe, it would break the height for some reason.
57 Testcase: https://castle-engine.io/sprite_sheets , with height:auto it would have very small height.
58 */
59 .media-responsive, img {
60 height: auto;
61 }
62
63
64 .features-page h1,
65 .features-page h2,
66 .features-page h3 {
67 /* text-align: center; */
68 border-bottom: thin solid #DDD;
69 margin-top: 1em;
70 margin-bottom: 1em;
71 }
72
73 object.movie_thumbnail {
74 width: 200px;
75 height: 167px;
76 }
77
78 div.thumbs_cell_with_text_or_movie {
79 width: 210px;
80 background: #DDD;
81 margin: 0em;
82 padding: 0.2em;
83 font-size: small;
84 text-align: center;
85 }
86
87 /* Our <pre> must break, otherwise our right sidebar is shifted and looks bad */
88 pre {
89 white-space: pre-wrap;
90 }
91
92 a.kscript_func_docs { text-decoration: underline; }
93
94 code { background-color: #f0f0f0; }
95 /* Override above rule for x3d_component_intro. These <code> are in practice
96 surrounded by <b> now. */
97 div.x3d_component_intro code { background-color: transparent; }
98
99 pre.plug_declaration { border: thin solid #333; padding: 0.2em; }
100
101 span.js_link { text-decoration: underline; color: #00F; cursor: pointer; }
102
103 /* Style for note_box and note_title shamelessly stolen from CSS
104 of the Subversion book. (from .sidebar and .sidebar .title) */
105 .note_box
106 {
107 border-top: dotted 1px black;
108 border-left: dotted 1px black;
109 border-right: solid 2px black;
110 border-bottom: solid 2px black;
111 background: rgb(240,220,170);
112 padding: 0 0.12in;
113 margin: 0.5in;
114 }
115
116 .note_box .note_title {
117 text-align: center;
118 font-size: 125%;
119 }
120
121 /* Tables with key controls should be done with
122 <table class="key_list"> */
123 table.key_list {
124 width: 90%;
125 border: thin solid;
126 border-collapse: separate;
127 }
128 table.key_list th { background: #eeeee0; border: thin solid white; }
129 table.key_list td { background: #ddddd0; border: thin solid white; width: 50%; }
130
131 /* Adapted from my pasdoc.css */
132 table.thin_borders { border-collapse: collapse; }
133 table.thin_borders td { border: 1pt solid #d3d3d3; padding: 0.3em; }
134 table.thin_borders th { border: 1pt solid #d3d3d3; padding: 0.3em; }
135
136 dl.command_line_options_list > dt {
137 font-family: monospace;
138 font-weight: bold;
139 }
140
141 /* Leave default font-family for dt, and default font-weight.
142 Use span with command_line_option class inside dt. */
143 dl.command_line_options_list_custom > dt {
144 font-weight: normal;
145 }
146 span.command_line_option {
147 font-family: monospace;
148 font-weight: bold;
149 }
150
151 /* div.latest_update_description {
152 margin-left: 3em;
153 border: 1px solid gray;
154 padding: 0.5em;
155 } */
156
157 dt { font-weight: bold; }
158
159 .panel-footer {
160 font-size: smaller;
161 margin-top: 2rem;
162 }
163
164 span.version_number { font-size: small }
165
166 .rss_link {
167 float: right;
168 background: red;
169 padding: 0.3em;
170 border: thin outset black;
171 }
172 .rss_link a {
173 color: white;
174 font-weight: bold
175 }
176
177 pre.vrml_extension_spec { }
178
179 dl.vrml_ver_differences > dt {
180 font-weight: normal;
181 font-style: italic;
182 }
183
184 .cge-gallery-link {
185 /* background: #e8d59a; */
186 /* background: #efdfae; */
187 border-width: thin;
188 border-style: solid;
189 border-radius: 4px;
190 border-color: #dcdcdc;
191 text-align: center;
192 padding: 0.5em;
193 width: 100%;
194 margin: 20px 0;
195 }
196 .cge-gallery-link img {
197 border: none;
198 max-width: 100%; /* force scaling down on narrow window width, for 3-column layout of all_programs.php */
199 height: auto; /* scale to max-width preserving proportions, even if intrinsic image sizes (width/height on <img>) are given */
200 }
201
202 @media only screen and (min-width : 768px) {
203 .cge-gallery-link {
204 min-height: 450px;
205 }
206 }
207
208 /* Small devices (tablets, 768px and up), see http://getbootstrap.com/css/ */
209 /* @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { */
210 /* @media (min-width: 768px) and (max-width: 992px) { */
211 /* .cge-gallery-link { */
212 /* min-height: 0 !important; */
213 /* } */
214 /* } */
215
216 .cge-gallery-link-title { font-size: larger; }
217
218 a.screenshot img { border: 2pt solid #EEE; }
219 a.screenshot:hover img { border: 2pt solid #888; }
220
221 .table_of_contents a { text-decoration: none; border-bottom: 1px dotted; }
222 .table_of_contents a:hover { text-decoration: none; border-bottom: 1px solid;
223 background: #FF8;
224 }
225
226 /*.table_of_contents {
227 border-top: dotted 1px black;
228 border-left: dotted 1px black;
229 border-right: solid 2px black;
230 border-bottom: solid 2px black;
231 background: rgb(240,220,170);
232 padding: 0 0.12in;
233 margin: 0.5in;
234 }
235 */
236
237 .main-subtitle {
238 font-size: medium;
239 color: #444;
240 line-height: 1.5; /* default line-height from <body>, to make this look like <p> */
241 margin-top: 0;
242 }
243
244 .main-page-thumbnail {
245 width: 100%;
246 /* This way image height is also adjusted, to follow image aspect ratio.
247 And we can still specify img intrinsic size in <img> element. */
248 height: auto;
249 margin-bottom: 1rem;
250 }
251
252 .main-page-action {
253 display: inline-block;
254 width: 100%;
255 vertical-align: middle;
256 line-height: 6em;
257 margin-top: 0.5em;
258 margin-bottom: 0.5em;
259 }
260
261 .main-page-action.btn-info {
262 line-height: 2em; /* override height to be smaller */
263 }
264
265 .banner-container {
266 width: 100%;
267 margin-bottom: 3em !important;
268 }
269
270 .donate-photo {
271 float: right;
272 width: 300px;
273 max-width: 50%;
274 display: inline-block;
275 margin-bottom: 0.5rem;
276 margin-left: 0.5rem;
277 }
278 .donate-photo img {
279 width: 100%;
280 }
281
282 .preview-warning {
283 margin-left: 2rem;
284 margin-right: 2rem;
285 }
286
287 a.download_code {
288 text-decoration: underline;
289 }
290
291 /* make documentation.php lists look good */
292 .content-near-sidebar ol,
293 .content-near-sidebar ul,
294 article.post .entry-content ol,
295 article.post .entry-content ul {
296 margin-bottom: 10px !important;
297 }
298 /* Revert above change for class="list-no-margin" */
299 .content-near-sidebar ol.list-no-margin,
300 .content-near-sidebar ul.list-no-margin,
301 article.post .entry-content ol.list-no-margin,
302 article.post .entry-content ul.list-no-margin {
303 margin-bottom: 0 !important;
304 }
305
306 .message_404 {
307 font-size: large;
308 text-align: center;
309 }
310
311 .message_404 p {
312 margin-top: 2em;
313 margin-bottom: 2em;
314 }
315
316 .docs_improve_hint {
317 font-style: italic;
318 }
319
320 /* Make long words, like MultiGeneratedTextureCoordinate or MovieTexture.flipVertically,
321 broken -- good for mobile usability.
322 See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Text/Wrapping_Text */
323 h1, h2, code {
324 /* word-break makes the "TVector3.PerfectlyEquals(FFoo" in
325 http://localhost:8777/coding_conventions
326 broken into 2 lines, to not cause horizontal scroll on mobile */
327 word-break: break-word;
328
329 /* breaking h1 useful for "Chapter 1. Overview of VRML" in
330 vrml_engine_internals/output/xsl/html-nochunks/vrml_engine.html */
331 overflow-wrap: break-word;
332 }
333
334 /* main page stuff ----------------------------------------------------------- */
335
336 .centered-wrapper {
337 text-align: center;
338 }
339 .centered {
340 display: inline-block;
341 text-align: left;
342 }
343 .centered-download-wrapper {
344 text-align: center;
345 margin-top: 1em;
346 }
347 .centered-download-wrapper .download {
348 display: inline-block;
349 }
350 .download-hints {
351 margin-top: 1em;
352 margin-bottom: 1em;
353 }
354 .download-hints p {
355 margin-top: 0; /* .download-hints already makes margins */
356 margin-bottom: 0; /* .download-hints already makes margins */
357 }
358
359 .centered-download-wrapper .main-cge-download .btn-primary {
360 padding-left: 1em;
361 padding-right: 1em;
362 min-width: 10em; /* makes all icons equal width now */
363 }
364
365 div.main-cge-download {
366 padding-left: 2em !important;
367 padding-right: 2em !important;
368 max-width: 100%; /* otherwise it could want to be wider than viewport on mobile */
369 }
370
371 /* news on main page --------------------------------------------------------- */
372
373 .news-row-wrapper {
374 text-align: center;
375 margin-top: 1em;
376 margin-bottom: 1em;
377 }
378 .news-row-wrapper .col-sm-3 {
379 padding-left: 10px;
380 padding-right: 10px;
381 }
382 @media only screen and (max-width : 767px) {
383 .news-row-wrapper .col-sm-3 {
384 padding-bottom: 1em;
385 }
386 }
387 .main-page-header {
388 clear: both;
389 border-top: thin solid #dcdcdc;
390 margin-bottom: 2em;
391 padding-left: 15px;
392 padding-top: 0.5em;
393 font-size: larger;
394 font-weight: bold;
395 text-align: center;
396 }
397 .news-row-wrapper .row {
398 width: 1200px;
399 max-width: 100%;
400 display: inline-block;
401 text-align: left;
402 }
403 .news-row-wrapper img.wp-post-image {
404 display: block;
405 width: 100%;
406 height: auto; /* otherwise, the HTML contains an explicit height in pixels of the original image */
407 }
408 .news-row-wrapper a {
409 display: block;
410 color: black;
411 border-width: thin;
412 border-style: solid;
413 /* border-radius: 4px; */
414 border-color: #dcdcdc;
415
416 /* http://www.cssmatic.com/box-shadow */
417 -webkit-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.25);
418 -moz-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.25);
419 box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.25);
420 }
421 .news-row-wrapper a:hover,
422 .news-row-wrapper a:focus {
423 /* background: #efe; */
424 text-decoration: none;
425 -webkit-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.5);
426 -moz-box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.5);
427 box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.5);
428 }
429 .news-row-wrapper span.news_title {
430 color: #337ab7;
431 font-weight: bold;
432 text-decoration: none;
433 }
434 .news-row-wrapper a:hover span.news_title,
435 .news-row-wrapper a:focus span.news_title {
436 color: #409ae7;
437 }
438 .news-row-wrapper .news_title_wrapper,
439 .news-row-wrapper .news_date_wrapper {
440 padding: 0.25em 0.75em;
441 }
442 @media only screen and (min-width : 768px) {
443 .news-row-wrapper .news_title_wrapper {
444 /* in usual cases, it will make columns equal height */
445 min-height: 4em;
446 }
447 }
448
449 /*
450 from
451 https://scotch.io/bar-talk/different-tricks-on-how-to-make-bootstrap-columns-all-the-same-height
452 @media only screen and (min-width : 768px) {
453 .news-row-wrapper .row {
454 display: table;
455 }
456 .news-row-wrapper .row [class*="col-"] {
457 float: none;
458 display: table-cell;
459 vertical-align: top;
460 }
461 }
462 */
463
464 /* x3d specification-like table ---------------------------------------------- */
465
466 /* Table like X3D specification, used for multi-texturing clarifications
467 on x3d_implementation_texturing.php */
468 table.specification { border-collapse:collapse; }
469 table.specification th {
470 border-style:groove;
471 font-weight:bold;
472 border-width:medium;
473 padding:8px;
474 /* white-space:nowrap; */
475 }
476 table.specification td {
477 border-style:groove;
478 font-weight:normal;
479 border-width:medium;
480 padding:8px;
481 /* white-space:nowrap; */
482 }
483
484 div.sidebar_title {
485 font-size: medium; font-weight: bold;
486 margin-bottom: 0.1em;
487 }
488
489 table.nist_test_suite { border-collapse:collapse; border: thin solid #999; }
490 table.nist_test_suite td { border: thin solid #999; }
491 table.nist_test_suite th { border: thin solid #999; }
492 td.pass { background-color:rgb(50%,100%,50%); }
493 td.fail { background-color:rgb(100%,50%,50%); }
494 td.invalid { background-color:rgb(75%,75%,75%); }
495 td.testnr { white-space: nowrap; }
496
497 /* index page stuff */
498 div.main_list_item {
499 font-family: serif;
500 font-weight: bolder;
501 font-size: large;
502
503 background: #ddddd0;
504
505 padding: 0.1em;
506 }
507
508 /* Don't set it float here, we may want to use it with various float values
509 or without float. */
510 div.useful_link {
511 display: inline-block;
512 background: #EEE;
513 /* #ffff91; */
514 border: thin solid black;
515 padding: 0.3em;
516 }
517
518 div.x3d_component_intro {
519 display: block;
520 border: thin solid #333;
521 background: #fff4d2;
522 padding: 0.3em;
523 }
524
525 div.x3d_component_intro p.paragraph_first { margin-top: 0px; }
526 div.x3d_component_intro p.paragraph_last { margin-bottom: 0px; }
527 div.x3d_component_intro p.paragraph_first code { font-weight: bold; }
528
529 dd { margin-left: 2em; }
530
531 /* news --------------------------------------------------------------------- */
532
533 span.old_news_date { font-weight: bold; }
534 div.old_news_item { border-bottom: medium groove #555; }
535
536 span.news_title { font-weight: bold; text-decoration: underline; }
537 span.news_date {
538 color: #767676;
539 font-size: 1.0rem;
540 padding-bottom: 0.25em;
541 }
542
543 /* commented, size of this is set by "h2" class */
544 /* span.news_title { font-size: larger; } */
545
546 /* normal underline, with color same as link color
547 (otherwise, Bootstrap causes a black underline under a blue link) */
548 span.news_title a { text-decoration: underline; }
549
550 /* turn off normal link decoration inside news_title */
551 span.news_title.only_anchor a {
552 color: black;
553 text-decoration: none;
554 }
555 span.news_title.only_anchor {
556 text-decoration: none;
557 }
558
559 .castle_rss_link {
560 float: right;
561 background: red;
562 padding: 0.3em;
563 border: thin outset black;
564 margin: 1em;
565 }
566
567 .castle_rss_link a {
568 color: white;
569 font-weight: bold
570 }
571
572 /* based on Bootstrap panel-footer */
573 .panel-follow-us-old {
574 background-color: #f5f5f5;
575 border-bottom-left-radius: 3px;
576 border-bottom-right-radius: 3px;
577 border-top-left-radius: 3px;
578 border-top-right-radius: 3px;
579 border-top: 1px solid #ddd;
580 border-bottom: 1px solid #ddd;
581 padding: 10px 15px;
582 font-size: larger;
583 }
584
585 /* based on Bootstrap panel-footer */
586 .panel-follow-us {
587 background-color: #f5f5f5;
588 border-bottom-left-radius: 3px;
589 border-bottom-right-radius: 3px;
590 border-top-left-radius: 3px;
591 border-top-right-radius: 3px;
592 border-top: 1px solid #ddd;
593 border-bottom: 1px solid #ddd;
594 padding: 10px 15px;
595 font-size: 1.5rem;
596 }
597
598 /* header ------------------------------------------------------------------- */
599
600 .container-nav {
601 padding-left: 5px !important;
602 }
603 .navbar-brand {
604 padding: 5px !important;
605 margin-left: -5px !important;
606 }
607 .navbar-brand a {
608 display: block;
609 padding: 5px 10px;
610 color: #5e5e5e !important;
611 }
612 .navbar-brand a img {
613 margin-right: 0.25em;
614 }
615 /* present main page link similar to menu items, to communicate it is useful to click */
616 .navbar-brand a:hover,
617 .navbar-brand a:focus {
618 text-decoration: none !important;
619 background-color: #eeeeee !important;
620 }
621
622 /* override bottom margin on main page, to touch banner image */
623 .navbar-main-page {
624 margin-bottom: 0 !important;
625 }
626
627 .header_breadcrumbs {
628 color: #222;
629 padding: 0.4em;
630 }
631 .header_breadcrumbs a { color: #5EB2E5; }
632 .header_breadcrumbs a:hover { color: #39C; }
633
634 .nav-tabs {
635 /* Separate brand from menu items on navbar */
636 clear: left;
637 }
638 /* Extra padding for navbar-collapse not needed, as we already have padding
639 from container-fluid.
640 This customization is necessary because of above "clear: both" on nav-tabs. */
641 .navbar-collapse {
642 padding-left: 0;
643 padding-right: 0;
644 }
645
646 .nav-tabs.navbar-right {
647 border-bottom: 0 none;
648 /* In default bootstrap, it is aligned to right only when
649 "min-width: @grid-float-breakpoint".
650 We want it always, as we don't use collapsing, so @grid-float-breakpoint
651 doesn't apply to us. */
652 float: right;
653 }
654 .patreon-logo {
655 height: 45px;
656 margin-top: 5px;
657 }
658
659 /* --------------------------------------------------------------------------- */
660
661 div.quote {
662 margin-left: 1em;
663 background: #FFD;
664 border: dotted 1px black;
665 }
666
667 .github-ribbon img {
668 position: absolute;
669 top: 100%;
670 right: 0;
671 border: 0;
672 z-index: 100;
673 }
674
675 .has-github-ribbon .thumbnails-align-right {
676 margin-top: 60px;
677 }
678
679 .engine-icon {
680 float: right;
681 clear: right;
682 margin-top: 1em;
683 }
684 .has-github-ribbon .engine-icon {
685 margin-top: 60px;
686 }
687
688 /* books (manual and such) ------------------------------------------------- */
689
690 .book-header {
691 width: 100%;
692 border: thin solid #ffeaa9;
693 background: #fff4d2;
694 padding: 0.3em;
695 }
696
697 .book-header .book-previous {
698 text-align: left;
699 float: left;
700 width: 40%;
701 }
702 .book-header .book-next {
703 text-align: right;
704 float: right;
705 width: 40%;
706 }
707 .book-header .book-title {
708 margin-left: 40%;
709 margin-right: 40%;
710 text-align: center;
711 font-weight: bold;
712 }
713
714 .footer-table td {
715 vertical-align: top;
716 }
717
718 /* google search box --------------------------------------------------------- */
719
720 .google-search-container {
721 position: relative; /* to position gsc-search-button vs this */
722 width: 50%;
723 max-width: 400px;
724 float: right;
725 margin-top: 0.5em;
726 margin-right: 0.5em;
727 }
728
729 .has-github-ribbon .google-search-container {
730 margin-right: 140px; /* margin from GitHub ribbon */
731 }
732
733 .google-search-container .gsc-search-button {
734 position: absolute;
735 right: 0;
736 top: -1px;
737 }
738
739 .gsc-search-box-tools .gsc-search-box .gsc-input {
740 padding-right: 0px !important;
741 }
742
743 .cse .gsc-control-cse, .gsc-control-cse {
744 padding: 0 !important;
745 }
746 .form.gsc-search-box {
747 margin: 0 !important;
748 }
749 .gsc-control-cse {
750 background-color: transparent !important;
751 border-style: none !important;
752 }
753
754 .gsc-control-cse, .gsc-control-cse .gsc-table-result {
755 font-size: normal !important;
756 }
757
758 .google-search-results-container .gsc-expansionArea {
759 border-bottom: thin solid #aaaaaa;
760 }
761
762 /* Restore normal CSS behavior, overriding Bootstrap weirdness */
763 .google-search-container {
764 line-height: normal;
765 }
766 .google-search-container {
767 box-sizing: content-box !important;
768 }
769 .google-search-container div {
770 box-sizing: content-box !important;
771 }
772 .gsc-search-button {
773 box-sizing: content-box !important;
774 }
775
776 /* Others ------------------------------------------------------------------- */
777
778 #disqus_thread {
779 max-width: 800px;
780 /* margin-left: auto; */
781 /* margin-right: auto; */
782 }
783
784 .main-widgets {
785 float: left;
786 width: 300px;
787 }
788
789 .bottom-widget {
790 margin: 0.5em 0;
791 }
792
793 .kscript_func_docs .type { color: blue; }
794
795 .xml_highlight_comment { color: #808080; font-style: italic; }
796
797 /* div.thumbnails ------------------------------------------------------------ */
798
799 div.thumbnails-align-left {
800 text-align: left;
801 }
802 div.thumbnails-align-right {
803 text-align: right;
804 }
805 div.thumbnails-align-center {
806 text-align: center;
807 }
808 div.thumbnails {
809 margin-top: 3rem;
810 margin-bottom: 3rem;
811 }
812 div.thumbnails a {
813 display: inline-block;
814 }
815
816 @media screen and ( min-width: 600px ) {
817 table.thumbnails {
818 /* Avoids wide thumbnail column until images load */
819 max-width: 250px;
820 }
821 table.thumbnails-align-right {
822 /* this is added to work nicely with Flattr images,
823 that are on some pages (like castle.php) directly above this table
824 and also aligned to the right. */
825 clear: right;
826 float: right;
827
828 margin-left: 1rem;
829 margin-bottom: 1rem;
830 }
831 table.thumbnails-align-left {
832 clear: left;
833 float: left;
834 }
835 }
836
837 @media screen and ( max-width: 600px ) {
838 table.thumbnails {
839 width: 100%;
840 margin-bottom: 1rem;
841 }
842 table.thumbnails::after {
843 clear: both;
844 }
845 table.thumbnails a.screenshot {
846 display: block;
847 margin-left: auto;
848 margin-right: auto;
849 width: 210px;
850 }
851 table.thumbnails img {
852 /* images are very small, this looks bad */
853 /* width: 100%; */
854 max-width: 100%;
855 }
856 }
857
858 /* ---------------------------------------------------------------------------
859 download and jumbotron (but not specific to main page) */
860
861 div.download {
862 display: inline-block;
863 }
864
865 .download_title { font-weight: bold; }
866
867 div.download table td { text-align: center;
868 padding-left: 1em; padding-right: 1em; }
869 div.download table a { display: block; text-decoration: none; }
870 div.download table a img { border: 0px none; }
871
872 div.download .download_platform {
873 display: inline-block;
874 margin: 0.5em;
875 }
876
877 div.download span.download_details { font-size: smaller; }
878
879 .centered-download-wrapper .btn-primary {
880 padding-left: 4em;
881 padding-right: 4em;
882 /* margin vertical matters only in case of narrow screen,
883 when one btn-primary is under another */
884 margin: 0.1em 0.5em;
885 }
886
887 .jumbotron .btn-patreon {
888 margin-right: auto;
889 margin-left: auto;
890 display: block;
891 /* Use min-width not width, as on narrow mobile it may want to be a big larger */
892 min-width: 80%;
893 }
894
895 .centered-download-wrapper .btn-primary .download-button-hint {
896 font-size: x-small;
897 }
898
899 /* convert stuff ------------------------------------------------------------- */
900
901 .single-column-page {
902 max-width: 60em;
903 margin-left: auto;
904 margin-right: auto;
905 }
906
907 .convert-form input[type="file"] {
908 height: auto !important; /* override Bootstrap */
909 }
910
911 .convert-form .jumbotron {
912 padding: 30px !important;
913 }
914
915 .convert-form label {
916 font-weight: inherit;
917 }
918
919 .convert-form p {
920 font-size: inherit !important; /* override Bootstrap */
921 font-weight: inherit !important; /* override Bootstrap */
922 }
923
924 .convert-form .output-format-title {
925 margin-bottom: 0.5em;
926 }
927
928 .convert-form .output-format-radio p {
929 margin-top: 0;
930 margin-bottom: 0;
931 }
932
933 .convert-form .output-format-group {
934 margin-top: 0.5em;
935 margin-bottom: 0.5em;
936 padding: 0.5em;
937 border: 1px solid #DDD;
938 width: max-content;
939 margin-left: auto;
940 margin-right: auto;
941 }
942
943 .convert-form .convert-patreon,
944 .convert-form .another {
945 margin-top: 2em;
946 }
947
948 .convert-form .convert-patreon a.btn {
949 max-width: 20em;
950 }
951
952 .convert-output p {
953 text-align: center;
954 }
955
956 .panel-body::after {
957 clear: none !important;
958 }
959
960 /* talk page ---------------------------------------------------------------- */
961
962 .talk-buttons-row {
963 text-align: center;
964 }
965
966 .talk-button {
967 display: inline-block;
968 width: 300px; /* buttons have hardcoded size, as one of them is Discord iframe, no other way to size it */
969 height: 300px;
970 margin-left: 1em;
971 margin-right: 1em;
972 margin-bottom: 1em;
973 margin-top: 1em;
974 vertical-align: top; /* align iframe with normal buttons vertically OK */
975 }
976
977 .talk-button > p {
978 margin-top: 75px; /* buttons have hardcoded size, so hardcode margin is OK too */
979 line-height: 50px;
980 font-weight: bold;
981 }
982
983 .talk-button > p > img {
984 width: 100px;
985 height: 100px;
986 }
987
988 /* features list ------------------------------------------------------------- */
989
990 .feature-title {
991 margin-top: 2em;
992 font-weight: bold;
993 text-align: center;
994 font-size: larger;
995 }
996 .feature-description {
997 }
998 .feature-image {
999 width: 100%;
1000 height: auto;
1001 }
1002
1003 /* Mobile view: single column */
1004 @media only screen and (max-width : 767px) {
1005 .feature-row {
1006 border-width: thin;
1007 border-style: solid;
1008 border-radius: 4px;
1009 border-color: #dcdcdc;
1010 -webkit-box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.1);
1011 -moz-box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.1);
1012 box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.1);
1013 margin-top: 1.5em;
1014 margin-bottom: 1.5em;
1015 }
1016 .feature-title {
1017 margin-top: 0.5em;
1018 }
1019 .feature-description {
1020 padding-bottom: 1em;
1021 padding-left: 1em;
1022 padding-right: 1em;
1023 }
1024 }
1025
1026 /* Desktop view: two columns */
1027 @media only screen and (min-width : 768px) {
1028 .feature-title {
1029 margin-top: 2em;
1030 }
1031 .feature-row {
1032 clear: both;
1033
1034 /* margin-left: 8.33333333%; */ /* like .col-sm-1 in bootstrap */
1035 /* width: 82%; */ /* like 2x .col-sm-5 in bootstrap */
1036 /*
1037 background: #DDD;
1038 display: table-row;
1039 */
1040 }
1041 .feature-column-image,
1042 .feature-column-text {
1043 width: 50%;
1044 }
1045 .feature-column-text {
1046 padding-right: 2em;
1047 padding-left: 2em;
1048 text-align: center;
1049 }
1050 .feature-row-odd .feature-column-text {
1051 float: left;
1052 }
1053 .feature-row-odd .feature-column-image {
1054 float: right;
1055 }
1056 .feature-row-even .feature-column-text {
1057 float: right;
1058 }
1059 .feature-row-even .feature-column-image {
1060 float: left;
1061 }
1062 }