File tree 3 files changed +15
-34
lines changed
themes/vocabulary_theme/templates
3 files changed +15
-34
lines changed Original file line number Diff line number Diff line change @@ -17,26 +17,20 @@ links:
17
17
18
18
<!-- Container for the hero section links -->
19
19
<div class =" hero-links " >
20
- <!-- Button linking to the Creative Commons "Share your work" page -->
21
- <a class =" button small row " href =" https://creativecommons.org/share-your-work/ " style =" background-color : red ; color : white ;" >
22
- Share your work using our licenses/tools
23
- </a >
24
-
25
20
<!-- Button linking to the developer community page -->
26
21
<a class =" button small is-success row " href =" /community " >
27
22
Join the Developer Community
28
23
</a >
29
24
30
- <!-- Button linking to Creative Commons' Twitter page -->
31
- <a class =" button small row " href =" https://twitter.com/cc_opensource " >
32
- <!-- Icon displayed before the text inside the button -->
33
- <i class="icon twitter"></i> Follow us on Twitter
34
- </a >
35
-
36
25
<!-- Informational text about the purpose of the site -->
37
- <p >
26
+ <div class = " hero-notice " >
38
27
This site is for developers looking to contribute, but anyone can use CC tools to share their works.
39
- </p >
28
+ </div >
29
+
30
+ <!-- Button linking to the Creative Commons "Share your work" page -->
31
+ <a class =" button small row " href =" https://creativecommons.org/share-your-work/ " >
32
+ Share your work using our licenses/tools
33
+ </a >
40
34
</div >
41
35
42
36
#### get-involved ####
Original file line number Diff line number Diff line change @@ -249,12 +249,6 @@ <h5 class="b-header">Subscribe to our newsletter</h5>
249
249
by
250
250
< a href ="https://fontawesome.com/ " target ="_blank " rel ="noopener "> Font Awesome</ a > .
251
251
</ p >
252
- <!-- Notice for site purpose and link to CC tools -->
253
- < p class ="caption ">
254
- This site is for developers looking to contribute to Creative Commons. Anyone can use
255
- < a href ="https://creativecommons.org/share-your-work/ " target ="_blank " rel ="noopener "> CC tools</ a >
256
- to share their works.
257
- </ p >
258
252
< div class ="margin-top-smaller ">
259
253
< i class ="icon margin-right-small is-size-4 "> cclogo</ i >
260
254
< i class ="icon margin-right-small is-size-4 "> ccby</ i >
Original file line number Diff line number Diff line change 19
19
@extend .margin-vertical-normal ;
20
20
@extend .padding-horizontal-big ;
21
21
22
- // Use flexbox for layout
23
- display : flex ;
24
- flex-direction : column ; // Stack buttons vertically
25
- align-items : center ; // Center-align the buttons
22
+ .hero-notice {
23
+ @extend .body-bigger ;
24
+ @extend .padding-top-normal ;
25
+ @extend .has-text-dark-slate-gray ;
26
+ }
26
27
27
28
// Button styling within the hero links
28
29
.button {
29
- // Apply normal top margin from the defined style
30
30
@extend .margin-top-normal ;
31
- text-decoration : none ; // Remove default underline from links
32
- margin-bottom : 0.5 rem ; // Add spacing between buttons
31
+ text-decoration : none ;
32
+ display : inline-block ; /* Allow the button to wrap around the text */
33
33
width : 100% ; // Full width of the container
34
+ height : fit-content ; // Fit the content within the button
34
35
max-width : 300px ; // Maximum width for buttons
35
- padding : 1rem ; // Padding inside buttons
36
36
box-sizing : border-box ; // Include padding in width calculation
37
37
text-align : center ; // Center text inside buttons
38
- font-size : 1em ; // Set font size
39
38
line-height : 1.2 ; // Set line height for readability
40
39
white-space : normal ; // Allow text wrapping within buttons
41
-
42
- // Icon styling within buttons
43
- .icon {
44
- @extend .margin-right-small ;
45
- @extend .padding-vertical-smaller ;
46
- }
47
40
}
48
41
}
49
42
You can’t perform that action at this time.
0 commit comments