-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
130 lines (106 loc) · 1.89 KB
/
app.css
File metadata and controls
130 lines (106 loc) · 1.89 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
123
124
125
126
127
128
129
130
body {
font-family: 'Oswald', sans-serif;
background-color: #ECF1F3;
}
#mainNavbar {
font-weight: 600;
font-size: 1.5rem;
transition: background 500ms;
}
#mainNavbar .navbar-brand {
color: white;
font-size: 2rem;
cursor: pointer;
}
#mainNavbar .navbar-brand:hover {
color: #00425c;
}
#mainNavbar .nav-link {
color: white;
}
#mainNavbar .nav-link:hover {
color: #00425c;
}
#homeBackground {
position: relative;
}
.homeAction {
position: absolute;
top: 21%;
width: 100%;
}
#home {
min-width: 100%;
height: 100vh;
background: no-repeat center/cover url(milk_background3.jpg);
}
#gotMilk {
height: 7.5rem;
padding-left: 20px;
}
.homeAction button {
background-color: #e57da2;
border: 0;
color: white;
font-weight: 600;
font-size: 1.5rem;
padding: 4px 24px 8px;
transition: background-color 100ms, color 100ms;
cursor: pointer;
}
.homeAction button:hover {
background-color: white;
color: #e57da2;
}
#infoBackground {
background-color: #ECF1F3;
}
#info h2 {
font-weight: 600;
font-size: 4rem;
}
#info p {
font-size: 1.5rem;
padding-top: 20px;
}
.navbar.scrolled {
background: #0388ba;
}
@media (max-width: 991px) {
#info h2 {
font-size: 2.5rem;
}
#info p {
font-size: 1rem;
}
/* #home {
background: no-repeat top/contain url(milk_background.jpeg);
} */
}
@media (max-width: 575px) {
#mainNavbar {
background-color: #0388ba;
}
#info img {
height: 25rem;
margin-bottom: 48px;
}
#info h2 {
font-size: 2rem;
}
#info .textInfo {
padding-right: 48px;
text-align: center;
font-size: 1rem;
}
}
@media (max-height: 600px) {
.homeAction {
top: 14%;
}
}
@media (min-aspect-ratio: 2560/1080) {
.homeAction {
top: 8%;
}
}