-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLayout.scss
128 lines (108 loc) · 2.57 KB
/
Layout.scss
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
@import "../theme/theme";
.Layout {
flex: 1 0 auto;
display: flex;
flex-direction: column;
width: 100%;
.Content {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
background: $secondary;
color: $on-secondary;
font-family: $core-font;
a {
color: inherit;
}
}
.cards {
.card-placement {
width: 100%;
margin: 1em;
}
.ui.grid {
width: 70%;
margin-top: .75em;
margin-bottom: .75em;
padding: 0 2em;
}
.columns {
margin-left: -.75rem;
margin-right: -.75rem;
margin-top: -.75rem;
}
@media only screen and (max-width: 1200px) {
/* For Large Screens: */
.ui.grid {
width: 90%;
}
.ui.card {
margin-right: 1em;
}
}
@media only screen and (min-width: 1201px) {
/* For Large Screens: */
.ui.grid {
width: 75%;
}
.ui.card {
margin-right: 1em;
}
}
@media only screen and (max-width: 767px) {
/* For mobile phones: */
.ui.grid {
width: 100%;
}
}
@media only screen and (max-width: 600px) {
/* For mobile phones: */
.ui.card {
margin-right: .5em;
padding: .2rem;
}
}
.meta {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
height: 40px;
-webkit-line-clamp: 2; /* number of lines to show */
-webkit-box-orient: vertical;
}
.description {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3; /* number of lines to show */
-webkit-box-orient: vertical;
}
.Demo__some-network {
vertical-align: top;
display: inline-block;
margin-right: 10px;
text-align: center;
}
.Demo__some-network__share-count {
display: inline-flex;
justify-content: center;
white-space: nowrap;
overflow: visible;
width: 0;
margin-top: 3px;
font-size: 12px;
}
.Demo__some-network__share-button {
cursor: pointer;
}
.Demo__some-network__share-button:hover:not(:active) {
opacity: 0.75;
}
.Demo__some-network__custom-icon {
width:32px;
height:32px;
}
}
}