Skip to content

Commit 4945cc7

Browse files
committed
update margin and padding
1 parent d38c7e4 commit 4945cc7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

content/en/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ fetchYoutubeVideos: true
77
style="background-image:url(/images/photos/welcome-to-the-isc.jpg); background-size: cover; background-position: center; height:400px; position: relative;">
88
<div class="container">
99
<div class="row align-items-center">
10-
<div class="col-lg-8 mr-auto">
11-
<h1 style="font-size: 40px; color: white; text-align: left; margin: 20px 0px;">Welcome to the InnerSource Commons</h1>
10+
<div class="col-lg-8 col-md-6 col-sm-6" style="margin-top: 40px;">
11+
<h1 style="font-size: 40px; color: white; text-align: left; margin: 0px">Welcome to the InnerSource Commons</h1>
1212
</div>
13-
<div class="col-lg-4">
13+
<div class="col-lg-4 col-md-6 col-sm-6" style="margin-top: 40px;">
1414
{{< upcoming-event-card style="banner" >}}
1515
</div>
1616
</div>

layouts/shortcodes/upcoming-event-card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{ $pages := where site.Pages "Type" "in" "redirects" }}
44
{{ $pages = where $pages "Section" "events" }}
55
{{ range first 1 ($pages.ByDate.Reverse) }}
6-
<div style="position: relative; overflow: hidden; border: none; box-shadow: none;">
6+
<div style="position: relative; border: none; box-shadow: none;">
77
<div style="position: absolute; top: 10px; left: 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: white; background: rgba(0, 0, 0, 0.5); padding: 4px 8px; border-radius: 2px; z-index: 1;">Upcoming Event</div>
88
<a href="{{ .Params.redirect }}" class="event-link" target="_blank" style="text-decoration: none; color: inherit; display: block; border: none;">
99
<img src="{{ .Params.image }}" alt="{{ .Title }}" style="width: 100%; display: block; border: none; margin: 0; border-radius: 6px;">

0 commit comments

Comments
 (0)