-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
122 lines (103 loc) · 1.72 KB
/
styles.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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Source Sans Pro", sans-serif;
color: #404040;
text-align: center;
}
/* ======================== */
/* ======================== */
/* ======================== */
h1 {
font-size: 2.25rem;
font-weight: 300;
color: white;
margin: 0;
}
strong {
font-weight: 900;
}
h2 {
font-size: 1.3125rem;
}
.down-title,
.second-title {
color: #f18119;
font-size: 1.3125rem;
font-weight: 900;
margin: 0;
text-transform: uppercase;
}
.first-title {
margin-bottom: 0;
}
.second-title {
margin-top: 0;
}
.upp-title {
font-size: 0.625rem;
font-weight: 900;
color: #f18119;
text-transform: uppercase;
letter-spacing: 0.9px;
}
.down-text {
font-size: 0.625rem;
letter-spacing: 0.7px;
}
/* ======================== */
/* ======================== */
/* ======================== */
.sec-a {
background-color: #404040;
background-image: url(./bbq.jpg);
padding: 0 0.5em 2em;
background-size: cover;
background-position: center;
}
.container-sec-a {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 50vh;
border: 3px solid red;
}
/* ======= */
.sec-b {
padding: 2em 1em;
}
.container {
max-width: 400px;
margin: 0 auto;
}
/* ======================== */
/* ======================== */
/* ======MEDIA QUERY======== */
@media (min-width: 550px) {
h1 {
font-size: 3.5rem;
}
h2,
.down-title {
font-size: 1.75rem;
}
.flex {
display: flex;
min-height: 100vh;
}
.sec-a {
width: 55%;
}
.sec-b {
width: 45%;
display: flex;
flex-direction: column;
justify-content: center;
}
.container-sec-a {
height: 100%;
}
}
/* ======================== */