-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
154 lines (127 loc) · 2.07 KB
/
main.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
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
150
151
152
153
154
* {
font-family: 'Roboto', sans-serif;
box-sizing: border-box;
margin: 0;
}
body {
background: #f1f1f1;
padding: 10px;
}
.header {
background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/candy.JPG');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
text-align: center;
color: white;
background-color: #cce5ff;
padding: 140px;
}
/* navigation */
#navigation {
list-style-type: none;
background-color: #3399ff;
text-align: center;
}
#navigation li {
display: inline-block;
padding: 10px 0px;
}
#navigation li a {
color: white;
padding: 10px 15px;
text-decoration: none;
text-align: center;
font-weight: bold;
}
#navigation li a:hover {
background-color: #cce5ff;
}
/* main page functionality */
.normalsection {
margin-top: 20px;
padding: 10px;
background-color: white;
}
.leftcolumn {
float: left;
width: 75%;
}
.rightcolumn {
float: left;
width: 25%;
background-color: #f1f1f1;
padding-left: 20px;
}
.card {
background-color: white;
padding: 10px;
margin: 20px 0;
}
.footer {
text-align: center;
bottom: 0;
width: 100%;
margin-top: 20px;
}
.row {
display: flex;
}
/*
.row:after {
content: "";
display: table;
clear: both;
}
*/
/* baking journey */
.imagecontainer {
flex: 33.3%;
padding: 5px;
background-color: white;
text-align: center;
}
.imagecontainer img {
width: 100%;
transition: transform 0.25 ease;
}
/* TODO replace with mouse click
.imagecontainer img:hover {
transform: scale(1.3);
}*/
/* figure */
#examplefigure {
float: left;
margin: 10px 10px 0 0;
padding: 10px;
font-style: italic;
text-align: center;
border: 1px solid;
width: 30%;
}
#examplefigure img {
width: 100%;
}
.quote {
border: 4px dotted red;
padding: 10px 5px;
width: 80%;
text-align: center;
margin: auto;
}
/* input */
input, textarea {
margin: 5px 0px;
border: 1px solid black;
border-radius: 4px;
padding: 3px;
}
input[type=submit] {
background-color: #3399ff;
color: white;
border: none;
padding: 5px 5px;
}
input[type=submit]:hover{
background-color: #cce5ff;
}