Add way to scale whole document.
[libguestfs-talks.git] / 2019-fosdem / style.css
1 /* Red Hat red is rgb(204,0,0). */
2
3 body {
4     background: url(redhat.png) no-repeat;
5     background-position: 98% 0;
6     /* font-size: 28pt; */ /* For max */
7     font-size: 20pt; /* For 1024x768 */
8     /* font-family: liberation, helvetica; */
9     font-family: helvetica;
10
11     /* Can be used to scale the whole document. */
12     /*transform: translate(-10%,-10%) scale(0.75,0.75);*/
13 }
14
15 body td, body th { /* why?? */
16     font-size: 24pt;
17     padding-bottom: 8px;
18 }
19
20 h1 {
21     color: rgb(204,0,0);
22     /*font-size: 48px;*/
23     font-size: 40px;
24     top: 8;
25     left: 0;
26     border-bottom: 2px solid rgb(204,0,0);
27 }
28
29 h2 {
30     color: rgb(204,0,0);
31     font-size: 32px;
32     font-style: italic;
33     border-bottom: 2px solid rgb(204,0,0);
34 }
35
36 b {
37     color: rgb(204,0,0);
38 }
39
40 /* Title page. */
41 div#titlepage {
42     margin-top: 100px;
43     width: 80%;
44     margin-left: 10%;
45 }
46
47 div#titlepage p.title {
48     color: rgb(204,0,0);
49     font-weight: bold;
50     font-size: 48px;
51     text-align: left;
52 }
53
54 div#titlepage p.author {
55     font-size: 36px;
56     text-align: left;
57 }
58
59 div#titlepage p.abstract {
60     font-size: 28px;
61     text-align: left;
62 }
63
64 /* Code */
65 pre.code {
66     margin-left: 1em;
67     background: #eee;
68 }
69
70 code {
71     color: rgb(204,0,0);
72 }
73
74 /* Bullet points */
75 li {
76     padding-bottom: 16px;
77 }
78
79 /* Plugins box. */
80 div.plugins {
81     background: #f8f8ff;
82     border: 1px solid rgb(204,0,0);
83     border-radius: 15px;
84     width: 800px;
85     height: 400px;
86     /* Position relative is needed so that items may be
87        positioned inside. */
88     position: relative;
89     column-count: 4;
90 }
91
92 div.plugins p#caption {
93     position: absolute;
94     bottom: -5px; right: 5px;
95     color: rgb(204,0,0);
96     text-align: right;
97     font-size: 16px;
98     font-weight: bold;
99 }
100
101 div.plugins ul {
102     list-style-type: none;
103     top: 50%;
104     transform: translateY(15%);
105     margin: 0;
106 }
107
108 div.plugins ul li {
109     padding: 4px;
110     margin: 5px;
111 }
112
113 div.plugins ul li.highlighted {
114     border: 1px solid rgb(204,0,0);
115     background: #fff;
116     padding-left: 10px;
117     color: rgb(204,0,0);
118     border-radius: 20px;
119     font-weight: bold;
120 }
121
122 /* Filters box. */
123 div.filters {
124     background: #f8fff8;
125     border: 1px solid rgb(204,0,0);
126     border-radius: 15px;
127     width: 800px;
128     height: 200px;
129     /* Position relative is needed so that items may be
130        positioned inside. */
131     position: relative;
132     column-count: 4;
133 }
134
135 div.filters p.filtercaption {
136     position: absolute;
137     bottom: -5px; right: 5px;
138     color: rgb(204,0,0);
139     text-align: right;
140     font-size: 16px;
141     font-weight: bold;
142 }
143
144 div.filters ul {
145     list-style-type: none;
146     top: 50%;
147     transform: translateY(15%);
148     margin: 0;
149 }
150
151 div.filters ul li {
152     padding: 4px;
153     margin: 5px;
154 }
155
156 div.filters ul li.highlighted {
157     border: 1px solid rgb(204,0,0);
158     background: #fff;
159     padding-left: 10px;
160     color: rgb(204,0,0);
161     border-radius: 20px;
162     font-weight: bold;
163 }