-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (126 loc) · 2.28 KB
/
style.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
* {
margin: 0;
padding: 0;
box-sizing: border-box;
scroll-behavior: smooth
}
body {
background-color: #333;
font-family:Arial, Helvetica, sans-serif;
color: white;
text-align: center;
width: 100vw;
overflow-x: hidden;
}
#showcase {
width: 100vw;
height: 50vh;
overflow: hidden;
}
#showcase .bg-img {
background: #333 url('https://images.pexels.com/photos/270348/pexels-photo-270348.jpeg?auto=compress&cs=tinysrgb&h=650&w=940');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: 50vh;
position: absolute;
z-index: -1;
opacity: 0.4;
}
#showcase .content-wrap {
height: 50vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 3em;
}
.content-wrap h1 {
padding: 0.5em 0;
}
.content-wrap .btn {
margin: 1em 0;
text-decoration: none;
color: white;
border: 0.025em solid white;
padding: 0.5em 1em;
cursor: pointer;
}
.btn:hover {
background-color: #fff;
color: #333;
}
#section-a {
background-color: #fff;
color: #333;
padding: 2em;
}
h2, h3 {
padding-bottom: 1em;
}
#section-b {
padding: 2em;
}
#section-b img {
display: block;
width: 100%;
height: auto;
}
#section-b ul {
list-style-type: none;
}
#section-b .content-wrap {
padding: 2em;
}
#section-b li {
background-color: #fff;
color: #333;
margin-bottom: 1em;
}
#section-b li:nth-child(3) {
margin-bottom: 0;
}
#section-c {
padding: 2em;
background: #fff;
color: #333;
}
#section-d .box {
padding: 2em;
}
#section-d .box:first-child {
background: #2690d4;
}
footer {
padding: 2em;
background: #000;
color: #fff;
text-align: center;
}
footer a {
text-decoration: none;
color: #2690d4;
}
@media (min-width: 700px) {
.grid {
display: grid;
grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr;
}
#section-a .content-text {
columns: 2;
}
.content-wrap, #section-b ul {
grid-column: 2/4;
}
.box, #footer-section div {
grid-column: span 2;
}
#section-b ul {
display: flex;
gap: 1em;
}
#section-b li {
margin-bottom: 0;
}
}