-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.scss
122 lines (98 loc) · 2.3 KB
/
custom.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
/*-- scss:mixins --*/
@mixin responsive-buttons {
display: flex;
@include media-breakpoint-up(lg) {
flex-direction: row;
column-gap: 0.8em;
row-gap: 15px;
flex-wrap: wrap;
}
@include media-breakpoint-down(lg) {
flex-direction: column;
row-gap: 1em;
width: 100%;
padding-bottom: 1.5em;
}
}
@mixin responsive-button {
@include media-breakpoint-up(lg) {
font-size: 0.8em;
padding: 0.25em 0.5em;
border-radius: 4px;
}
@include media-breakpoint-down(lg) {
font-size: 1.1em;
padding: 0.5em 0.5em;
text-align: center;
border-radius: 6px;
}
color: lighten($body-color, 20%);
text-decoration: none;
&:hover {
color: $link-color;
}
border: solid 1px;
i.bi {
margin-right: 0.15em;
}
}
@mixin image-shapes {
img.round {
border-radius: 50%;
}
img.rounded {
border-radius: 10px;
}
}
/*-- scss:rules --*/
div.quarto-about-trestles {
display: flex !important;
flex-direction: row;
flex-flow: row nowrap;
padding-top: 3em !important;
padding-bottom: 1em;
justify-content: center;
width: 150%;
@include media-breakpoint-down(lg) {
flex-direction: column;
padding-top: 1em !important;
}
.about-entity {
@include media-breakpoint-up(lg) {
//max-width: 42%;
flex: 0 0 42%;
}
display: flex !important;
flex-direction: column;
align-items: flex-end;
text-align: center;
padding-right: 1.5em;
.about-image {
object-fit: cover;
margin-bottom: 1.5em;
}
@include image-shapes();
.about-links {
@include responsive-buttons();
justify-content: center;
}
.about-link {
@include responsive-button();
}
}
.about-contents {
flex-basis: 0;
flex-grow: 2;
h2 {
border-bottom: none;
}
@include media-breakpoint-up(lg) {
border-left: solid 1px $border-color;
padding-left: 1.5em;
}
main.content {
margin-top: 0;
text-wrap: balance;
}
}
}