summaryrefslogtreecommitdiff
path: root/html/css/product.css
blob: fbd709cb25dc651946f27e3d509c84562fa1b679 (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
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
.container {
  max-width: 640px;
}

/*
* Custom block header
*/
.block-header {
  padding: 1.2rem 1.5rem;
  background: #f8f9fa
}

.block-body {
  padding: 1.2rem 1.5rem
}

/*
 * Custom translucent site header
 */

.site-header {
  background-color: rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: #999;
  transition: ease-in-out color .15s;
}
.site-header a:hover {
  color: #fff;
  text-decoration: none;
}

/*
 * Dummy devices (replace them with your own or something else entirely!)
 */

.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: #333;
  border-radius: 21px;
  -webkit-transform: rotate(30deg);
  transform: rotate(30deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .1);
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}


/*
 * Extra utilities
 */

.flex-equal > * {
  -ms-flex: 1;
  flex: 1;
}
@media (min-width: 640px) {
  .flex-md-equal > * {
    -ms-flex: 1;
    flex: 1;
  }
}

.overflow-hidden { overflow: hidden; }

/*
 * Cart
 */

.cart-header {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: bold;
  padding: 1.2rem 2rem;
  background: #f8f9fa
}

.cart-body {
  padding: 0 2rem
}

.cart-footer {
  background: #f8f9fa;
  padding: 0 2rem
}

.cart-footer .cart-item {
  padding-top: 1rem;
  padding-bottom: 1rem
}

.cart-item {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef
}

.cart-item:last-of-type {
  border-bottom: none
}

.cart-item-img {
  max-width: 80px
}

.cart-title {
  margin-left: 1rem
}

.cart-remove {
  color: #495057;
  font-size: .7875rem
}