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
|
* {
box-sizing: border-box;
background-color: #F1F3F6;
margin: 0;
padding: 0;
font-size: 18px;
font-family: Arial, Helvetica, sans-serif;
}
h1, h2, h3 {
color: #3d3d3d;
}
h1 {
font-size: 32px;
}
html, body {
height: 100%;
}
header, nav, main, footer {
padding: 2px calc((100% - 1200px) / 2) 0;
}
main {
margin-top: 54px;
margin-bottom: 54px;
min-height: calc(100vh - 345px);
overflow: auto;
}
body {
line-height: 1.5;
color: #34495E;
overflow-y: scroll;
}
a {
color: blue;
}
nav > div > ul > li {
display: inline;
padding: 1px 2px;
}
.featured-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 10px;
padding: 5px;
}
.featured-card {
border: solid;
border-width: 2px;
border-radius: 5px;
padding: 10px;
height: 560px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: stretch;
}
.featured-img {
display: block;
margin-left: auto;
margin-right: auto;
border: 1px solid #ddd;
border-radius: 4px;
padding: 3px;
width: 100%;
}
.featured-card-description {
margin: 10px 0px;
line-height: 1.1;
font-size: 0.9em;
}
.card-credit {
color: green;
font-size: 0.9em;
}
.add-to-basket-button {
background-color: green;
color: white;
padding: 5px;
}
.add-to-basket-button-disabled {
background-color: lightgray;
color: black;
padding: 3px;
}
/* Change the colour of the box shadow */
.my-card-shadow-sm {
box-shadow: 0 0.25rem 0.5rem rgba(100, 100, 100, 0.1);
}
.my-card-shadow-lg {
box-shadow: 7px 7px 7px rgba(100, 100, 100, 0.5);
}
.card-title a {
font-size: 1.2rem;
}
|