Re-use section title adjustment css for top header
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
a4224d74ea
commit
efaeed42f6
6 changed files with 15 additions and 27 deletions
|
@ -1,9 +1,5 @@
|
|||
.accomplishments-section {
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
@include section-title-adjustment();
|
||||
|
||||
.card {
|
||||
background: #fff;
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
.achievements-section {
|
||||
@include section-title-adjustment();
|
||||
|
||||
.container {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#gallery {
|
||||
.achievement-entry {
|
||||
margin-top: 5px;
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
.education-section {
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
@include section-title-adjustment();
|
||||
|
||||
.card {
|
||||
&:hover,
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
.experiences-section {
|
||||
padding-bottom: 1rem;
|
||||
@include section-title-adjustment();
|
||||
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
padding-bottom: 1rem;
|
||||
|
||||
ul {
|
||||
padding-left: 1rem;
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
.publications-section {
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
@include section-title-adjustment();
|
||||
|
||||
.card {
|
||||
background: #fff;
|
||||
|
|
|
@ -7,3 +7,11 @@ $breakpoints: (
|
|||
extra-large: 1536px,
|
||||
ultra-large: 2560px,
|
||||
);
|
||||
|
||||
@mixin section-title-adjustment(){
|
||||
h1 > span {
|
||||
margin-top: -55px; /* Size of fixed header */
|
||||
padding-bottom: 55px;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue