-
Notifications
You must be signed in to change notification settings - Fork 0
/
cpslab.css
73 lines (65 loc) · 1.23 KB
/
cpslab.css
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
/* @theme cpslab */
@import 'uncover';
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
:root {
--color-background: #ffffff;
}
section {
background-image: none;
font-size: 30px;
text-align: left;
}
section::after {
font-size: 24px;
font-weight: bold;
}
h4 {
color: #888888;
}
header::before {
content: '';
position: fixed;
top: 5px;
left: 970px;
width: 300px;
height: 150px;
background-image: url('https://raw.githubusercontent.com/cpslab/Marp-Template/main/image/CPSLab.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
z-index: -1;
}
header {
background-color: #ececec;
color: #595959;
text-align: left;
font-size: 1.6em;
padding-top: 15px;
padding-left: 30px;
border-bottom: solid 10px #595959;
left: 50px;
right: 50px;
height: 85px;
}
header img {
position: fixed;
}
footer {
position: absolute;
left: 50px;
right: 110px;
border-top: solid 10px #595959;
}
code {
font-family: 'Source Code Pro', monospace;
}
img {
width: 100%;
height: auto;
margin: 0 auto;
}
/* https://github.com/marp-team/marpit/issues/141#issuecomment-473204518 */
img[alt~="center"] {
display: block;
margin: 0 auto;
}