Skip to content

Commit 0b18fbd

Browse files
committed
update main page
1 parent e5eae9b commit 0b18fbd

File tree

10 files changed

+611
-311
lines changed

10 files changed

+611
-311
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ _site/
44
.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/
55
.jekyll-metadata
66
.bundle/
7-
vendor/
7+
vendor/

.jekyll-cache/Jekyll/Cache/Jekyll--Cache/b7/9606fb3afea5bd1609ed40b622142f1c98125abcfe89a76a661b0e8e343910

Lines changed: 0 additions & 1 deletion
This file was deleted.

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: > # this means to ignore newlines until "baseurl:"
1313
line in _config.yml. It will appear in your document head meta (for
1414
Google search results) and in your feed.xml site description.
1515
baseurl: "" # the subpath of your site, e.g. /blog
16-
url: "http://yourdomain.com" # the base hostname & protocol for your site
16+
url: "https://masland-sarani.com" # the base hostname & protocol for your site
1717
twitter_username: jekyllrb
1818
github_username: jekyll
1919

_sass/_base.scss

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
@use "sass:list";
2+
3+
@use "sass:color";
14
/**
25
* Reset some basic elements
36
*/
@@ -14,7 +17,7 @@ dl, dd, ol, ul, figure {
1417
* Basic styling
1518
*/
1619
body {
17-
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
20+
font: $base-font-weight list.slash($base-font-size, $base-line-height) $base-font-family;
1821
color: $text-color;
1922
background-color: $background-color;
2023
-webkit-text-size-adjust: 100%;
@@ -34,7 +37,7 @@ h1, h2, h3, h4, h5, h6,
3437
p, blockquote, pre,
3538
ul, ol, dl, figure,
3639
%vertical-rhythm {
37-
margin-bottom: $spacing-unit / 2;
40+
margin-bottom: $spacing-unit * 0.5;
3841
}
3942

4043

@@ -95,7 +98,7 @@ a {
9598
text-decoration: none;
9699

97100
&:visited {
98-
color: darken($brand-color, 15%);
101+
color: color.adjust($brand-color, $lightness: -15%);
99102
}
100103

101104
&:hover {
@@ -112,7 +115,7 @@ a {
112115
blockquote {
113116
color: $grey-color;
114117
border-left: 4px solid $grey-color-light;
115-
padding-left: $spacing-unit / 2;
118+
padding-left: $spacing-unit * 0.5;
116119
font-size: 18px;
117120
letter-spacing: -1px;
118121
font-style: italic;
@@ -167,8 +170,8 @@ pre {
167170
@include media-query($on-laptop) {
168171
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
169172
max-width: calc(#{$content-width} - (#{$spacing-unit}));
170-
padding-right: $spacing-unit / 2;
171-
padding-left: $spacing-unit / 2;
173+
padding-right: $spacing-unit * 0.5;
174+
padding-left: $spacing-unit * 0.5;
172175
}
173176
}
174177

_sass/_layout.scss

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@use "sass:meta";
12
/**
23
* Site header
34
*/
@@ -45,7 +46,7 @@
4546
@include media-query($on-palm) {
4647
position: absolute;
4748
top: 9px;
48-
right: $spacing-unit / 2;
49+
right: $spacing-unit * 0.5;
4950
background-color: $background-color;
5051
border: 1px solid $grey-color-light;
5152
border-radius: 5px;
@@ -104,7 +105,7 @@
104105

105106
.footer-heading {
106107
font-size: 18px;
107-
margin-bottom: $spacing-unit / 2;
108+
margin-bottom: $spacing-unit * 0.5;
108109
}
109110

110111
.contact-list,
@@ -116,14 +117,14 @@
116117
.footer-col-wrapper {
117118
font-size: 15px;
118119
color: $grey-color;
119-
margin-left: -$spacing-unit / 2;
120+
margin-left: -$spacing-unit * 0.5;
120121
@extend %clearfix;
121122
}
122123

123124
.footer-col {
124125
float: left;
125-
margin-bottom: $spacing-unit / 2;
126-
padding-left: $spacing-unit / 2;
126+
margin-bottom: $spacing-unit * 0.5;
127+
padding-left: $spacing-unit * 0.5;
127128
}
128129

129130
.footer-col-1 {
@@ -241,4 +242,4 @@
241242
}
242243
}
243244

244-
@import 'styles';
245+
@include meta.load-css('styles');

0 commit comments

Comments
 (0)