1+ // Hero section - Home page
2+ .hero {
3+ @extend .margin-top-large ;
4+
5+ .hero-title {
6+ @extend .padding-horizontal-big ;
7+ }
8+
9+ .hero-description {
10+ @extend .body-bigger ;
11+ @extend .padding-top-big ;
12+ @extend .padding-horizontal-big ;
13+ }
14+
15+ .hero-links {
16+ @extend .margin-vertical-normal ;
17+ @extend .padding-horizontal-big ;
18+
19+ .button {
20+ @extend .margin-top-normal ;
21+ text-decoration : none ;
22+
23+ .icon {
24+ @extend .margin-right-small ;
25+ @extend .padding-vertical-smaller ;
26+ }
27+ }
28+ }
29+
30+ .hero-image {
31+ @include from ($fullhd ) {
32+ margin-top : -20rem ;
33+ .image {
34+ width : 50% ;
35+ }
36+ }
37+ @include until ($fullhd ) {
38+ .image {
39+ width : 100% ;
40+ }
41+ }
42+ }
43+ }
44+
45+ // Get-involved section - Home page
46+ .get-involved {
47+ background-color : $color-lighter-gray ;
48+ @extend .has-color-dark-slate-gray ;
49+ border-bottom : solid 0.1875rem $color-white ;
50+
51+ .container {
52+ @extend .padding-horizontal-big ;
53+ @extend .padding-vertical-xxl ;
54+ }
55+
56+ .get-involved-description {
57+ @extend .body-bigger ;
58+ @extend .padding-top-normal ;
59+ }
60+
61+ .get-involved-links {
62+ @extend .padding-top-xl ;
63+
64+ .heading {
65+ @extend .b-header ;
66+ @extend .padding-top-bigger ;
67+ }
68+
69+ .list {
70+ @extend .padding-top-normal ;
71+
72+ .link-heading {
73+ @extend .b-header ;
74+ @extend .padding-top-big ;
75+
76+ :hover {
77+ @extend .has-color-forest-green ;
78+ }
79+ }
80+
81+ .link-caption {
82+ @extend .body-normal ;
83+ @extend .padding-top-smaller ;
84+ }
85+
86+ }
87+ }
88+ }
89+
90+ // Recent-posts section - Home page
91+ .recent-posts {
92+ background-color : rgba (4 , 166 , 53 , 0.1 );
93+
94+ .container {
95+ @extend .padding-vertical-xl ;
96+ @extend .padding-horizontal-big ;
97+
98+ .columns {
99+ @extend .padding-top-bigger ;
100+ @extend .padding-bottom-xl ;
101+ }
102+ }
103+
104+ .blog-title {
105+ @extend .has-color-dark-slate-gray ;
106+ }
107+
108+ .posts-link {
109+ @extend .has-color-forest-green ;
110+ @extend .body-normal ;
111+
112+ font-weight : bold ;
113+ line-height : 1.5 ;
114+ text-decoration : none ;
115+
116+ .icon {
117+ @extend .has-color-forest-green ;
118+ @extend .padding-left-small ;
119+ }
120+ }
121+ }
122+
123+ // Featured-projects section - Home page
124+ .featured-projects {
125+ @extend .padding-vertical-xxl ;
126+
127+ .container {
128+ @extend .padding-horizontal-big ;
129+ }
130+
131+ .project-page-link {
132+ @extend .has-color-forest-green ;
133+ @extend .body-normal ;
134+
135+ line-height : 1.5rem ;
136+ font-weight : bold ;
137+ text-decoration : none ;
138+
139+ .icon {
140+ @extend .padding-left-small ;
141+ @extend .padding-top-smaller ;
142+ }
143+ }
144+
145+ .project-list {
146+ @extend .padding-top-bigger ;
147+ @extend .padding-bottom-larger ;
148+
149+ .column {
150+ @extend .padding-right-larger ;
151+ @extend .padding-bottom-larger ;
152+
153+ height : 100% ;
154+ }
155+ }
156+ }
157+
158+ .blog-entries {
159+ .column {
160+ border-bottom : 0.1875rem solid $color-light-gray ;
161+ }
162+ /* last row, irrespective of the number of elements */
163+ .column :nth-last-child (-n + 3 ):nth-child (3 n + 1 ), /* first element of the last row */
164+ .column :nth-last-child (-n + 3 ):nth-child (3 n + 1 ) ~ .column /* all its following elements */
165+ {
166+ border-bottom : none ;
167+ }
168+
169+ .blog-entry {
170+ @extend .padding-vertical-larger ;
171+ @extend .padding-horizontal-big ;
172+
173+ .blog-title {
174+ @extend .has-color-dark-slate-gray ;
175+ }
176+ }
177+ }
0 commit comments