-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cover-Page-v1.css
99 lines (84 loc) · 1.71 KB
/
Cover-Page-v1.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
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
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
:root {
--bar-position:;
--background-image:url(https://i.imgur.com/7jlQ0ph.jpg);
--color:goldenrod;
--logo-image:;
}
.phb#p1 {
background-image:var(--background-image);
background-position:center;
background-repeat:no-repeat;
background-size:cover;
columns:unset;
display:grid;
grid: [row1-start] "top top top" 1fr [row1-end]
[row2-start] "center center center" 1fr [row2-end]
[row3-start] "bottom bottom bottom" 1fr [row3-end]
/ 1fr 1fr 1fr;
padding:15px;
}
.phb#p1:after {
display:none;
}
.phb#p1 #bar {
align-content:center;
display:flex;
flex-wrap:wrap;
grid-area:var(--bar-position);
background-color:#000000aa;
padding:5px;
border:1px solid var(--color)
}
.phb#p1 #bar.left {
grid-area: 1 / 1 / 4 / 2 ;
}
.phb#p1 #bar.right {
grid-area: 1 / 3 / 4 / 4 ;
}
.phb#p1 #bar.top {
grid-area: 1 / 1 / 2 / 4 ;
}
.phb#p1 #bar.bottom {
grid-area: 3 / 1 / 4 / 4 ;
}
.phb#p1 #bar.center {
grid-area: 2 / 2 / 3 / 3 ;
}
.phb#p1 #bar.whole {
grid-area: 1 / 1 / 4 / 4 ;
}
.phb #bar p {
color:var(--color);
flex:1 1 100%;
text-align:center;
}
.phb #bar h1 {
color:var(--color);
flex:1 1 100%;
font-family:PT Serif;
font-variant:small-caps;
margin:0;
text-align:center;
}
.phb #bar h2 {
color:var(--color);
flex:1 1 100%;
font-family:PT Serif;
font-size:20px;
font-variant:small-caps;
font-weight:unset;
margin:0;
margin-top:10px;
text-align:center;
}
.phb#p1 #bar #logo {
background-image:var(--logo-image);
background-position:center;
background-repeat:no-repeat;
background-size:contain;
flex:1 1 100%;
height:100px;
margin-top:10px;
mix-blend-mode:;
}