This repository was archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path_home.scss
127 lines (109 loc) · 2.15 KB
/
_home.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
.usa-section.usa-section--condensed {
@include at-media('tablet') {
@include u-padding-y(6);
}
}
.top-questions {
@include u-bg('primary-darkest');
}
.top-questions h2 {
@include u-text('white');
@include u-text('no-italic', 'heavy');
@include u-font('sans', 'xl');
font-family: 'Open Sans', 'Source Sans Pro Web', 'Helvetica Neue' , 'Helvetica', 'Roboto', 'Arial', sans-serif;
@include u-margin-x(0);
@include u-margin-y(2);
}
.top-questions .question {
@include u-margin-x(0);
@include u-margin-y(2);
display: flex;
align-items: center;
@include u-color('white');
&:active,
&:hover,
&:focus {
@include u-color('primary-lighter');
}
.icon {
@include u-radius('md');
@include u-color('white');
@include u-bg('primary-vivid');
border-radius: 2rem;
width: 3.3rem;
height: 3.3rem;
min-width: 3.3rem;
min-height: 3.3rem;
display: flex;
align-items: center;
justify-content: center;
}
}
.question-box a,
.top-categories a {
width: 100%;
@include u-color('primary-vivid');
&:visited {
@include u-color('primary-vivid');
}
&:hover,
&:focus {
@include u-color('primary-dark');
}
}
.top-categories {
h3 {
@include u-text('no-italic', 'heavy');
}
}
.question-box {
@include u-margin-x(0);
@include u-margin-y(1);
@include u-padding-x(4);
@include u-padding-y(2);
border-radius: 0.18rem;
height: 100%;
&.question-box--info {
@include u-bg('gray-10');
}
&.question-box--warning {
@include u-bg('gray-10');
}
a.usa-button {
@include u-color('white');
width: auto;
&:visited,
&:hover,
&:focus {
@include u-color('white');
}
}
.question-title {
@include u-font-size('sans', 'lg');
font-weight: normal;
margin: 1em 0;
em {
@include u-text('no-italic', 'heavy');
}
}
}
.read-more-icon {
@include u-margin-x(0.5);
}
.more-topics {
@include u-bg('base-lightest');
@include at-media('mobile'){
@include u-padding-bottom(3);
}
}
#more-questions:focus {
outline: none;
}
.load-questions-wrapper {
margin-top: .55rem;
}
.top-category {
h2 {
font-size: 1.17em;
}
}