forked from CodeYourFuture/HTML-CSS-Coursework-Week3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
149 lines (137 loc) · 2.81 KB
/
style.css
File metadata and controls
149 lines (137 loc) · 2.81 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.container {
display: grid;
height: 100vh;
grid-template-columns: 1fr 1fr 1fr 1fr;
margin-top: 40px;
grid-template-areas: "header header header header"
"nav nav nav nav"
"section section section section"
"footer footer footer footer"
"footer-2 footer-2 footer-2 footer-2"
"socials socials socials socials";
grid-gap: 50px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.header {
grid-area: header;
height: 120px;
}
.nav {
grid-area: nav;
margin-top: -500px;
}
.section {
grid-area: section;
align-self: center;
justify-self: end;
}
.footer {
grid-area: footer;
margin-top: 120px;
}
.footer-2 {
grid-area: footer-2;
}
.socials {
grid-area: socials;
}
.nested-grid-1 {
display: grid;
grid-template-columns: 1fr 1fr;
margin: 30px;
align-items: flex-end;
text-align: end;
font-style: italic;
}
.heading {
display: grid;
grid-template-columns: 2fr 1fr;
margin: 30px;
}
.cupcake-img {
width: 300px;
height: auto;
}
.nav-items {
display: flex;
flex-direction: row;
justify-content:flex-end;
margin-top: 100px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 12px;
}
.nav-list {
text-decoration: none;
margin-left: 30px;
background-color: #F68989;
color: white;
width: 100px;
height: 15px;
border-radius: 7%;
text-align: center;
padding: 2px;
}
.nested-grid {
display: grid;
grid-template-columns: 1fr 1fr;
margin: 30px;
align-items:center;
text-align:end;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.cake-img {
width: 600px;
height: auto;
}
.footer-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.footer-img {
width: 300px;
height: auto;
}
.footer2-grid {
display: flex;
flex-direction: row;
justify-content: center;
padding: 30px;
border-radius: 50%;
padding-top: 70px;
}
.footer2-grid-class {
text-decoration: none;
margin-left: 30px;
background-color: #F68989;
width: 100px;
height: 15px;
border-radius: 7%;
text-align: center;
color: white;
font-size: 12px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.social-list {
display: flex;
flex-direction: row;
justify-content: center;
}
.fa {
text-decoration: none;
margin-left: 10px;
}
@media (max-width: 550px) {
.nested-grid-1 {
grid-template-columns: 1fr;
}
}
@media (max-width: 550px) {
.nested-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 550px) {
.footer-grid {
grid-template-columns: 1fr;
}
}