-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbanner.css
More file actions
79 lines (66 loc) · 1.29 KB
/
banner.css
File metadata and controls
79 lines (66 loc) · 1.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
.banner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
background-image: linear-gradient(
0.25turn,
rgba(0, 0, 0, 0),
rgba(0, 0, 0, 0.5)
),
url("./img/banner_image_medium.jpg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
/*
border-radius: 4px;
border-color: black;
border-style: solid;
*/
min-height: 50vh;
min-width: 100%;
}
.banner section{
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: center;
}
.banner h1 {
color: white;
font-size: 4vh;
}
.banner p {
color: white;
}
.banner a::before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f019";
}
.banner a {
background-color: #0f5b69;
color: white;
border-radius: 4px;
font-size: calc(1em + 1vw);
line-height: calc(0.5em + 0.5vw);
padding: 0.5em 0.5em;
border: none;
cursor: pointer;
text-decoration: none;
text-align: center;
}
.banner button:hover {
background-color: black;
color: white;
}
@media only screen and (max-width: 640px) {
.banner{
display: none;
}
}