Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use margin instead of the padding for sections #1582

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/css/argon.css
Original file line number Diff line number Diff line change
Expand Up @@ -17181,8 +17181,8 @@ textarea[resize='horizontal']
{
position: relative;

padding-top: 4rem;
padding-bottom: 4rem;
margin-top: 4rem;
margin-bottom: 4rem;
}

.section-xl
Expand Down
2 changes: 1 addition & 1 deletion assets/css/global-custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body {

/* upspeak & Home page testimonial section*/
.testimonial-section {
padding: 10px 10px 10px 10px;
margin: 10px 10px 10px 10px;
}

.testimonial-section .main-topic {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<main>
<!--main content goes here-->
<section class="bg-secondary" style="padding-top: 5rem;">
<section class="bg-secondary" style="margin-top: 4.5rem;">
<header class="header-global">
<!--nav bar goes here-->
<div id="navbar"></div>
Expand Down
4 changes: 2 additions & 2 deletions onelive/archive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ <h5 class="mb-0 text-muted">Ever miss out on our OneLive event streams? Not to w
</div>
<img src="images/header-onelive.svg" class="d-md-none img-fluid w-100">
</section>
<section id="youtubeVideoPlayer" style="display: none;padding-top: 25px">
<section id="youtubeVideoPlayer" style="display: none; margin-top: 25px">
<div class="container">
<div class="embed-responsive embed-responsive-16by9" id="iframe">
<!-- video player goes here-->
</div>
</div>
</section>
<!-- Video gallery section -->
<section style="padding-top: 10px">
<section style="margin-top: 10px">
<div class="container">
<div class="row" id="youtube-videos">
<!--youtube video goes here-->
Expand Down
4 changes: 2 additions & 2 deletions scholarx/2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,11 @@ <h3 class="mb-2 mt-4 text-onelive">Take part as a mentee under ScholarX23</h3>
<!-- success stories section -->
<section class="section bg-secondary" style="display: flex; align-items: center; justify-content: center;">
<div class="container row">
<div class="pr-md-5 col-md-6" style="display: flex; justify-content: center; padding:0rem 0rem">
<div class="pr-md-5 col-md-6" style="display: flex; justify-content: center; margin:0rem 0rem">
<img src="../past-programs/2022/images/success.png" alt="success illustration" style="height : 285px; ">
</div>
<div id="past-onelives" class="col-md-6 pl-md-3"
style="padding:0rem 0rem; display: flex; flex-direction: column; justify-content: center;">
style="margin:0rem 0rem; display: flex; flex-direction: column; justify-content: center;">
<div class="row justify-content-center">
<div class="col-11 text-center">
<p class="display-3 text-onelive font-weight-bolder mb-0">Let's hear it from our</p>
Expand Down
4 changes: 2 additions & 2 deletions scholarx/past-programs/2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ <h1 class="display-3 text-center mb-5">Program Timeline</h1>
<section class="section bg-secondary"
style="display: flex; align-items: center; justify-content: center;">
<div class="container row">
<div class="pr-md-5 col-md-6" style="display: flex; justify-content: center; padding:0rem 0rem">
<div class="pr-md-5 col-md-6" style="display: flex; justify-content: center; margin:0rem 0rem">
<img src="./images/success.png" alt="success illustration" style="height : 285px; ">
</div>
<div id="past-onelives" class="col-md-6 pl-md-3" style="padding:0rem 0rem; display: flex; flex-direction: column; justify-content: center;">
<div id="past-onelives" class="col-md-6 pl-md-3" style="margin:0rem 0rem; display: flex; flex-direction: column; justify-content: center;">
<div class="row justify-content-center">
<div class="col-11 text-center">
<p class="display-3 text-onelive font-weight-bolder mb-0">Let's hear it from our</p>
Expand Down
2 changes: 1 addition & 1 deletion scholarx/success-stories/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

.story-section {
padding: 10px 10px 10px 10px;
margin: 10px 10px 10px 10px;
}

.story-section .main-topic {
Expand Down