Skip to content

Commit 8a68020

Browse files
committed
first personalization
1 parent e2e02c8 commit 8a68020

5 files changed

Lines changed: 89 additions & 16 deletions

File tree

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Site settings
2-
title: Grayscale
2+
title: Ruby Fore
33
email: your-email@domain.com
44
url: https://example.github.io
5-
description: "Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description."
5+
description: Statistics M.Sc.
66

77
# Color settings (hex-codes without the leading hash-tag)
88
color:
9-
primary-dark: '#000000'
9+
primary-dark: '#FAF9F6'
1010
links: '#219ab3'
1111

1212
# Footer settings

_includes/css/grayscale.css

Lines changed: 79 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ body {
88
width: 100%;
99
height: 100%;
1010
font-family: Lora,"Helvetica Neue",Helvetica,Arial,sans-serif;
11-
color: #fff;
11+
color: #000;
1212
background-color: {{ site.color.primary-dark }};
1313
}
1414

@@ -77,7 +77,7 @@ a:focus {
7777
outline: 0;
7878
}
7979

80-
.navbar-custom .navbar-brand .navbar-toggle {
80+
.bar-custom .navbar-brand .navbar-toggle {
8181
padding: 4px 6px;
8282
font-size: 16px;
8383
color: #fff;
@@ -123,7 +123,7 @@ a:focus {
123123

124124
.top-nav-collapse {
125125
padding: 0;
126-
background-color: {{ site.color.primary-dark }};
126+
background-color: rgba(153, 157, 160);
127127
}
128128

129129
.navbar-custom.top-nav-collapse {
@@ -138,12 +138,13 @@ a:focus {
138138
padding: 100px 0;
139139
text-align: center;
140140
color: #fff;
141-
background: url(/img/intro-bg.jpg) no-repeat bottom center scroll;
141+
background: url(/img/IMG_3378.jpg) no-repeat bottom center scroll;
142142
background-color: {{ site.color.primary-dark }};
143143
-webkit-background-size: cover;
144144
-moz-background-size: cover;
145145
background-size: cover;
146146
-o-background-size: cover;
147+
background-position: left;
147148
}
148149

149150
.intro .intro-body {
@@ -155,6 +156,10 @@ a:focus {
155156
font-size: 40px;
156157
}
157158

159+
.brand-heading {
160+
color: rgb(153, 157, 160);
161+
text-align: center
162+
}
158163
.intro .intro-body .intro-text {
159164
font-size: 18px;
160165
}
@@ -365,3 +370,73 @@ img::-moz-selection {
365370
body {
366371
webkit-tap-highlight-color: rgba(255,255,255,.2);
367372
}
373+
374+
.container,
375+
.container-fluid,
376+
.container-xxl,
377+
.container-xl,
378+
.container-lg,
379+
.container-md,
380+
.container-sm {
381+
/*width: 135%;*/
382+
padding-right: var(--bs-gutter-x, 0.75rem);
383+
padding-left: var(--bs-gutter-x, 0.75rem);
384+
margin-right: auto;
385+
margin-left: auto;
386+
}
387+
388+
@media (min-width: 300px) {
389+
.container {
390+
width: 140%;
391+
max-width: 375px;
392+
}
393+
}
394+
@media (min-width: 576px) {
395+
.container-sm, .container {
396+
width: 120%;
397+
max-width: 540px;
398+
}
399+
}
400+
@media (min-width: 768px) {
401+
.container-md, .container-sm, .container {
402+
width: 120%;
403+
max-width: 720px;
404+
}
405+
}
406+
@media (min-width: 992px) {
407+
.container-lg, .container-md, .container-sm, .container {
408+
max-width: 960px;
409+
}
410+
}
411+
@media (min-width: 1200px) {
412+
.container-xl, .container-lg, .container-md, .container-sm, .container {
413+
max-width: 1140px;
414+
}
415+
}
416+
@media (min-width: 1400px) {
417+
.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
418+
max-width: 1320px;
419+
}
420+
}
421+
422+
423+
.bg-image-full {
424+
background-repeat: no-repeat;
425+
background-attachment: scroll;
426+
427+
background-position: 25% 68%;
428+
background-size: cover;
429+
}
430+
431+
.row {
432+
--bs-gutter-x: 1.5rem;
433+
--bs-gutter-y: 0;
434+
display: flex;
435+
flex-wrap: wrap;
436+
margin-top: calc(var(--bs-gutter-y) * -1);
437+
margin-right: calc(var(--bs-gutter-x) * -1);
438+
margin-left: calc(var(--bs-gutter-x) * -1);
439+
}
440+
#resume {
441+
width: 100%;
442+
}

_includes/header.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!-- Intro Header -->
22
<header class="intro">
33
<div class="intro-body">
4-
<div class="container">
4+
<div class="bg-image-full">
55
<div class="row">
6-
<div class="col-md-8 col-md-offset-2">
6+
<div class="col-md-8 col-md-offset-2">
77
<h1 class="brand-heading">{{ site.title }}</h1>
8-
<p class="intro-text">{{ site.description }}<br>
8+
<!---<p class="intro-text">{{ site.description }}<br>--->
99
<a href="#about" class="btn btn-circle page-scroll">
1010
<i class="fa fa-angle-double-down animated"></i>
1111
</a>

_includes/nav.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
33
<div class="container">
44
<div class="navbar-header">
5-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
5+
<!---<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
66
<i class="fa fa-bars"></i>
7-
</button>
8-
<a class="navbar-brand page-scroll" href="#page-top">
9-
<i class="fa fa-play-circle"></i> <span class="light">Start</span> Bootstrap
10-
</a>
7+
</button> --->
8+
119
</div>
1210

1311
<!-- Collect the nav links, forms, and other content for toggling -->

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include nav.html %}
66
{% include header.html %}
77
{% include about.html %}
8-
{% include download.html %}
8+
{% include resume.html %}
99
{% include contact.html %}
1010
{% include map.html %}
1111
{% include footer.html %}

0 commit comments

Comments
 (0)