-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
executable file
·122 lines (101 loc) · 1.85 KB
/
index.css
File metadata and controls
executable file
·122 lines (101 loc) · 1.85 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
110
111
112
113
114
115
116
117
118
119
120
121
122
/*
* Globals
*/
/* Links */
a,
a:focus,
a:hover {
color: #fff;
}
/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
color: #333;
text-shadow: none; /* Prevent inheritance from `body` */
background-color: #fff;
border: .05rem solid #fff;
}
.site-wrapper-inner {
flex: 1 1 auto;
vertical-align: top;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.cover-container {
margin-right: auto;
margin-left: auto;
}
/* Padding for spacing */
.inner {
padding: 2rem;
}
/*
* Cover
*/
.cover {
padding: 0 1.5rem;
}
.cover-page-block {
background-color: rgba(0,0,0,0.5);
padding: 30px 50px;
margin-top: 5px;
margin-bottom: 5px;
height: 80%;
}
/*
* Header
*/
.masthead {
font-size: large;
margin-bottom: 2rem;
}
.masthead-brand {
margin-bottom: 0;
}
/*
* Footer
*/
.mastfoot {
color: rgba(255,255,255,.5);
}
@media (min-width: 40em) {
/* Have some margin for page content */
.masthead {
margin-left: auto;
margin-right: auto;
}
.cover-page-block{
display: flex;
flex-direction: column;
height: min-content;
}
/* Handle the widths */
.masthead,
.cover-container {
width: 80%; /* Must be percentage or pixels for horizontal alignment */
}
}
@media (min-width: 62em) and (min-height: 400px) {
.cover-page-block{
margin:0 auto;
position:absolute;
left:50%;
top:50%;
transform: translate(-50%, -50%);
}
}
@media (min-width: 62em) {
.masthead,
.mastfoot,
.cover-container {
width: 49rem;
}
}
/*Styles for "desktop mode" on mobile*/
@media screen and (orientation: portrait) and (min-width: 40em){
.site-wrapper-inner{
justify-content: flex-start;
}
}