summaryrefslogtreecommitdiff
path: root/static/css/style.css
blob: a1c6783fa291fd6a617a62ff19fafd9815267bdd (plain)
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
body {
    font-family: "Times New Roman", serif;
}

header {
    display: flex;
    justify-content: justify-between;
    align-items: center;
    align-content: center;
    background-color: #CACF;
    margin: 10px;
}

.header-left {
    font-size: xxx-large;
    padding: 10px;
}

.login-button {
    background: none;
    border: none;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
}

.product-card {
    border: solid black 2px;
    display: flex;
    padding: 10px;
}

.product-card.sale {
    background-color: #2e8b57;
}

.product-card.out-of-stock {
    background-color: aqua;
}

.product-card .image {
    width: 30%;
    border: 2px gray solid;
}

.product-card .details {
  flex: 1;
  border: solid black 1px;
  margin: 0 10px;
  padding: 5px;
}

.product-card .sale {
  border: solid black 1px;

  font-weight: bold;
  font-size: x-large;
  padding: auto;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
}

.product-card .delivery {
  border: solid black 1px;
  padding: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
}

.old-price {
  text-decoration: line-through;
  color: red;
}