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 {
|
.accomplishments-section {
|
||||||
h1 > span {
|
@include section-title-adjustment();
|
||||||
margin-top: -55px; /* Size of fixed header */
|
|
||||||
padding-bottom: 55px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
.achievements-section {
|
.achievements-section {
|
||||||
|
@include section-title-adjustment();
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 > span {
|
|
||||||
margin-top: -55px; /* Size of fixed header */
|
|
||||||
padding-bottom: 55px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
#gallery {
|
#gallery {
|
||||||
.achievement-entry {
|
.achievement-entry {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
.education-section {
|
.education-section {
|
||||||
h1 > span {
|
@include section-title-adjustment();
|
||||||
margin-top: -55px; /* Size of fixed header */
|
|
||||||
padding-bottom: 55px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
&:hover,
|
&:hover,
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
.experiences-section {
|
.experiences-section {
|
||||||
padding-bottom: 1rem;
|
@include section-title-adjustment();
|
||||||
|
|
||||||
h1 > span {
|
padding-bottom: 1rem;
|
||||||
margin-top: -55px; /* Size of fixed header */
|
|
||||||
padding-bottom: 55px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
.publications-section {
|
.publications-section {
|
||||||
h1 > span {
|
@include section-title-adjustment();
|
||||||
margin-top: -55px; /* Size of fixed header */
|
|
||||||
padding-bottom: 55px;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
|
@ -7,3 +7,11 @@ $breakpoints: (
|
||||||
extra-large: 1536px,
|
extra-large: 1536px,
|
||||||
ultra-large: 2560px,
|
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