-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathddls-theme.css
More file actions
109 lines (92 loc) · 2.29 KB
/
ddls-theme.css
File metadata and controls
109 lines (92 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/* @theme ddls-theme */
@import 'default';
/* Import DDLS fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Lora&display=swap');
:root {
--color-teal: #008080;
--color-aqua: #00bcd4;
--color-grape: #6a1b9a;
--color-lime: #cddc39;
--color-foreground: #ffffff;
--color-background: #000000;
--main-font: 'Lato', sans-serif;
--heading-font: 'Lato', sans-serif;
}
/* --heading-font: 'Lora', serif; */
section {
font-family: var(--main-font);
background-color: var(--color-background);
color: var(--color-foreground);
padding: 2em;
}
section h1, section h2, section h3 {
font-family: var(--heading-font);
background-color: var(--color-teal); /* or any DDLS color */
color: white;
padding: 0.3em 0.8em;
border-radius: 0.2em;
display: inline-block;
box-shadow: 0 0 6px rgba(0,0,0,0.15);
margin-bottom: 0.5em;
}
section.title {
color: white;
text-shadow: 0px 0px 10px rgba(0,0,0,0.7);
background-image: url('https://www.scilifelab.se/wp-content/uploads/2025/03/DDLS_BG_Original.png');
background-size: cover;
background-position: center;
}
section.cool {
color: white;
text-shadow: 0px 0px 10px rgba(0,0,0,0.7);
background-image: url('https://www.scilifelab.se/wp-content/uploads/2025/03/DDLS_BG_Original.png');
background-size: cover;
background-position: center;
}
section table {
display: block;
margin-left: auto;
margin-right: auto;
border-collapse: collapse;
margin-top: 1em;
font-size: 0.8em;
background-color: #222; /* darker background for contrast */
color: white;
}
section th,
section td {
border: 1px solid #666;
padding: 0.4em 0.6em;
text-align: center;
}
section th {
text-shadow: none;
background-color: var(--color-aqua); /* DDLS primary color */
color: black;
}
section td {
background-color: #333;
}
footer {
font-size: 0.6em;
position: absolute;
bottom: 1em;
left: 1em;
right: 1em;
text-align: center;
font-family: var(--main-font);
color: #666;
}
img.logo {
height: 40px;
vertical-align: middle;
margin-right: 1em;
}
/* || SECTION CLASS: tinytext */
/* new class that makes p, ul, and blockquote text smaller */
/* might be useful for the References slide, use <!-- _class: tinytext --> */
section.tinytext>p,
section.tinytext>ul,
section.tinytext>blockquote {
font-size: 0.65em;
}