Newer
Older
Angie Byron
committed
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
/**
* @file
* This file is used to style the 'Promoted Items' view.
*/
.block-views-blockpromoted-items-block-1 {
margin-top: 1rem;
}
/* Small */
@media screen and (min-width: 30rem) { /* 480px */
.block-views-blockpromoted-items-block-1 {
margin-top: 2rem;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.block-views-blockpromoted-items-block-1 {
margin-top: 3rem;
}
}
.view-promoted-items--single {
padding: 1rem 14px 2rem;
}
/* Small */
@media screen and (min-width: 30rem) { /* 480px */
.view-promoted-items--single {
padding-top: 2rem;
padding-bottom: 3rem;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.view-promoted-items--single {
display: flex;
}
}
/* 77em == the max width of .container + 1em either side */
@media screen and (min-width: 77em) {
.view-promoted-items--single {
padding-left: 0;
padding-right: 0;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.view-promoted-items--single > .view-content {
flex: 0 0 50%;
margin-right: 14px;
display: flex;
}
}
.view-promoted-items--single > .view-content .views-row {
margin-bottom: 14px;
}
/* Small */
@media screen and (min-width: 30rem) { /* 480px */
.view-promoted-items--single > .view-content .views-row {
margin-bottom: 28px;
display: flex;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.view-promoted-items--single > .view-content .views-row {
margin-bottom: 0;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.view-promoted-items--single > .attachment-after {
margin-left: 14px;
display: flex;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.view-promoted-items--single .attachment-after .views-element-container {
display: flex;
}
}
/* Large */
@media screen and (min-width: 60rem) { /* 960px */
.view-promoted-items--single .attachment-after .view-promoted-items--double {
display: flex;
}
}
/* Small */
@media screen and (min-width: 30rem) { /* 480px */
.view-promoted-items--double {
overflow-x: hidden;
}
}
/* Small */
@media screen and (min-width: 30rem) { /* 480px */
.view-promoted-items--double .view-content {
display: flex;
margin: 0 -14px;
}
}
/* Small */
@media screen and (min-width: 30rem) { /* 480px */
.view-promoted-items--double .views-row {
display: flex;
margin: 0 14px;
width: calc(50% - 28px);
}
}