-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
116 lines (90 loc) · 3.92 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
html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}
.clearfix:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
body {
margin: 0;
background: url(assets/katie-smith-104748-unsplash.jpg) center fixed;
background-size: cover;
color: #43ea63;
text-align: center;
font-family: 'lato', san-serif;
}
h1,
h2 {
font-family: 'Luckiest Guy', cursive;
word-spacing: 0.1rem;
letter-spacing: 0.2rem;
}
.backgroundOverlay {
background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}
header {
height: 100vh;
}
.fa-angle-double-down {
font-size: 40px;
margin-top: 175px;
}
header h1 {
margin-top: 0;
padding-top: 225px;
}
section h2 {
padding-top: 225px;
}
section form {
padding-bottom: 300px;
}
label {
margin-left: 5px;
}
input::placeholder,
form button[value=submit]{
color: #43ea63;
}
form button[value=submit]{
padding: 5px 10px;
border: 3px solid #43ea63;
border-radius: 5px;
background: rgba(0, 0, 0, 0);
transition: box-shadow 0.3s ease-out;
}
form button[value=submit]:hover {
box-shadow: 5px 8px rgba(25, 25, 112, 0.7);
cursor: pointer;
}
#health input, #unhealthy {
margin-left: 15px;
}
#ingredient input:nth-child(1n + 2){
margin-left: 15px;
}
#ingredient input[type=text]{
/*change to display block when a preference is selected*/
display: block;
margin: 20px auto;
width: 20%;
text-align: center;
}
.hideInput {
display: none;
}
#servings select {
width: 19%;
text-align: center;
}
#results {
border: 1px solid blue;
padding-bottom: 90px;
}
#results h2 {
padding-top: 65px;
}
.galleryWrapper {
border: 1px solid red;
width: 75%;
margin: 0 auto;
display: grid;
grid-template-rows: 1fr 1fr;
grid-template-columns: 1fr 1fr 1fr;
}