forked from Technigo/project-business-site
-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
113 lines (85 loc) · 1.39 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
/* After you've linked the CSS file in the HTML,
this should turn the background blue ;) */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-family: 'Roboto', sans-serif;
}
body {
background: #b6d7a8;
color: #003300;
font-size: 20px;
}
img {
max-width: 100%;
}
header {
height: 500px;
background-image: url(pictures/applepicture.jpg);
background-repeat: no-repeat;
background-size: cover;
}
.header-image {
height: 100%;
width: 100%;
object-fit: cover;
}
.imagetext {
text-align: center;
padding-top: 200px;
color: azure;
}
.main-header {
padding-bottom: 40px;
font-size: 75px;
}
.form-container-parent {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr;
padding: 20px;
}
.form-area-picture {
width: 100%;
height: 100%;
object-fit: contain;
}
span {
display: block;
margin-bottom: 30px;
}
.form-area-left {
margin-bottom: 30px;
}
.all-paragraphs {
margin-bottom: 30px;
}
.main-header {
font-size: 40px;
}
.footer {
background-color: #003300;
color: white;
text-align: center;
padding: 10px;
}
#submit-button {
padding: 10px 20px;
font-size: 20px;
color: white;
background-color: #595959;
}
.flex {
display: flex;
justify-content: space-between;
}
/*PHONE SCREEN*/
@media (max-width: 913px) {
.form-container-parent {
grid-template-columns: 1fr;
padding: 20px;
}
}