Skip to content

Commit 2ff781f

Browse files
committed
minor fix.
1 parent 4ed9f85 commit 2ff781f

File tree

8 files changed

+294
-33
lines changed

8 files changed

+294
-33
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRED CHANGES --
1+
# REQUIRED CHANGES
22
# Edit next line to provide your own name.
33
title: Pradeep Kumar G | Professional Portfolio
44
# Edit next line, replacing 'techfolios' with your github username

_includes/about/about.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,25 @@ <h1 class="display-4 text-center">{{ site.data.bio.basics.name }}</h1>
1919
<div class="row">
2020

2121
{% if site.data.bio.basics.website %}
22-
{% capture url %}{{ site.data.bio.basics.website }}{% endcapture %}
23-
<div class="col text-center">
24-
{% include about/social.html url=url name='house' %}
25-
</div>
22+
{% capture url %}{{ site.data.bio.basics.website }}{% endcapture %}
23+
<div class="col text-center">
24+
{% include about/social.html url=url name='house' %}
25+
</div>
2626
{% endif %}
2727

2828
{% if site.data.bio.basics.email %}
29-
{% capture url %}mailto:{{ site.data.bio.basics.email }}{% endcapture %}
30-
<div class="col text-center">
31-
{% include about/social.html url=url name='envelope' %}
32-
</div>
29+
{% capture url %}mailto:{{ site.data.bio.basics.email }}{% endcapture %}
30+
<div class="col text-center">
31+
{% include about/social.html url=url name='envelope' %}
32+
</div>
3333
{% endif %}
3434

3535
{% for profile in site.data.bio.basics.profiles %}
36-
{% capture url %}{{ profile.url }}{% endcapture %}
37-
{% capture name %}{{ profile.network | downcase }}{% endcapture %}
38-
<div class="col text-center">
39-
{% include about/social.html url=url name=name %}
40-
</div>
36+
{% capture url %}{{ profile.url }}{% endcapture %}
37+
{% capture name %}{{ profile.network | downcase }}{% endcapture %}
38+
<div class="col text-center">
39+
{% include about/social.html url=url name=name %}
40+
</div>
4141
{% endfor %}
4242

4343
</div>

_includes/about/social.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{% assign url = include.url %}
22
{% if include.name == 'house' %}
33
<a href="{{ url }}">
4-
{% else %}
5-
<a href="{{ url }}" target="_blank">
6-
{% endif %}
7-
<svg class="tf-social">
8-
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#{{- include.name -}}"/>
9-
</svg>
10-
<span>{{ include.label }}</span>
11-
</a>
4+
{% else %}
5+
<a href="{{ url }}" target="_blank">
6+
{% endif %}
7+
<svg class="tf-social">
8+
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#{{- include.name -}}"/>
9+
</svg>
10+
<span>{{ include.label }}</span>
11+
</a>
1212
</a>

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
</ul>
77
</div>
88
</div>
9-
</footer>
9+
</footer>

_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<link rel="shortcut icon" href="{{ '/favicon.ico' | prepend: site.baseurl }}">
3232
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
3333
<link rel="stylesheet" href="{{ site.baseurl}}/css/techfolio-theme/{{ site.techfolio-theme}}">
34+
<link rel="stylesheet" href="{{ site.baseurl}}/css/changelog.css">
3435
<link rel="stylesheet" type="text/css" href="{{ site.baseurl}}/css/rouge/{{ site.rouge-theme}}">
3536
<!-- Load MathJax if 'mathjax: true' is found in your _config.yml. -->
3637
{% if site.mathjax %}

css/changelog.css

Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
.changelog code[class*=language-], .changelog pre[class*=language-] {
2+
color: #333;
3+
background: transparent;
4+
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
5+
text-align: left;
6+
white-space: pre;
7+
word-spacing: normal;
8+
word-break: normal;
9+
word-wrap: normal;
10+
line-height: 1.4;
11+
-moz-tab-size: 8;
12+
-o-tab-size: 8;
13+
tab-size: 8;
14+
-webkit-hyphens: none;
15+
-moz-hyphens: none;
16+
-ms-hyphens: none;
17+
hyphens: none;
18+
}
19+
20+
.changelog pre[class*=language-] {
21+
padding: 0.8em;
22+
overflow: auto;
23+
border-radius: 3px;
24+
background: #f5f5f5;
25+
}
26+
27+
.changelog :not(pre) > code[class*=language-] {
28+
padding: 0.1em;
29+
border-radius: 0.3em;
30+
white-space: normal;
31+
background: #f5f5f5;
32+
}
33+
34+
.changelog .token.blockquote,
35+
.changelog .token.comment {
36+
color: #969896;
37+
}
38+
39+
.changelog .token.cdata {
40+
color: #183691;
41+
}
42+
43+
.changelog .token.doctype,
44+
.changelog .token.macro.property,
45+
.changelog .token.punctuation,
46+
.changelog .token.variable {
47+
color: #333;
48+
}
49+
50+
.changelog .token.builtin,
51+
.changelog .token.important,
52+
.changelog .token.keyword,
53+
.changelog .token.operator,
54+
.changelog .token.rule {
55+
color: #a71d5d;
56+
}
57+
58+
.changelog .token.attr-value,
59+
.changelog .token.regex,
60+
.changelog .token.string,
61+
.changelog .token.url {
62+
color: #183691;
63+
}
64+
65+
.changelog .token.atrule,
66+
.changelog .token.boolean,
67+
.changelog .token.code,
68+
.changelog .token.command,
69+
.changelog .token.constant,
70+
.changelog .token.entity,
71+
.changelog .token.number,
72+
.changelog .token.property,
73+
.changelog .token.symbol {
74+
color: #0086b3;
75+
}
76+
77+
.changelog .token.prolog,
78+
.changelog .token.selector,
79+
.changelog .token.tag {
80+
color: #63a35c;
81+
}
82+
83+
.changelog .token.attr-name,
84+
.changelog .token.class,
85+
.changelog .token.class-name,
86+
.changelog .token.function,
87+
.changelog .token.id,
88+
.changelog .token.namespace,
89+
.changelog .token.pseudo-class,
90+
.changelog .token.pseudo-element,
91+
.changelog .token.url-reference .token.variable {
92+
color: #795da3;
93+
}
94+
95+
.changelog .token.entity {
96+
cursor: help;
97+
}
98+
99+
.changelog .token.title,
100+
.changelog .token.title .token.punctuation {
101+
font-weight: 700;
102+
color: #1d3e81;
103+
}
104+
105+
.changelog .token.list {
106+
color: #ed6a43;
107+
}
108+
109+
.changelog .token.inserted {
110+
background-color: #eaffea;
111+
color: #55a532;
112+
}
113+
114+
.changelog .token.deleted {
115+
background-color: #ffecec;
116+
color: #bd2c00;
117+
}
118+
119+
.changelog .token.bold {
120+
font-weight: 700;
121+
}
122+
123+
.changelog .token.italic {
124+
font-style: italic;
125+
}
126+
127+
.changelog .language-json .token.property {
128+
color: #183691;
129+
}
130+
131+
.changelog .language-markup .token.tag .token.punctuation {
132+
color: #333;
133+
}
134+
135+
.changelog .language-css .token.function,
136+
.changelog code.language-css {
137+
color: #0086b3;
138+
}
139+
140+
.changelog .language-yaml .token.atrule {
141+
color: #63a35c;
142+
}
143+
144+
.changelog code.language-yaml {
145+
color: #183691;
146+
}
147+
148+
.changelog .language-ruby .token.function {
149+
color: #333;
150+
}
151+
152+
.changelog .language-markdown .token.url {
153+
color: #795da3;
154+
}
155+
156+
.changelog .language-makefile .token.symbol {
157+
color: #795da3;
158+
}
159+
160+
.changelog .language-makefile .token.variable {
161+
color: #183691;
162+
}
163+
164+
.changelog .language-makefile .token.builtin {
165+
color: #0086b3;
166+
}
167+
168+
.changelog .language-bash .token.keyword {
169+
color: #0086b3;
170+
}
171+
172+
.changelog pre[data-line] {
173+
position: relative;
174+
padding: 1em 0 1em 3em;
175+
}
176+
177+
.changelog pre[data-line] .line-highlight-wrapper {
178+
position: absolute;
179+
top: 0;
180+
left: 0;
181+
background-color: transparent;
182+
display: block;
183+
width: 100%;
184+
}
185+
186+
.changelog pre[data-line] .line-highlight {
187+
position: absolute;
188+
left: 0;
189+
right: 0;
190+
padding: inherit 0;
191+
margin-top: 1em;
192+
background: hsla(24, 20%, 50%, 0.08);
193+
background: linear-gradient(to right, hsla(24, 20%, 50%, 0.1) 70%, hsla(24, 20%, 50%, 0));
194+
pointer-events: none;
195+
line-height: inherit;
196+
white-space: pre;
197+
}
198+
199+
.changelog pre[data-line] .line-highlight:before,
200+
.changelog pre[data-line] .line-highlight[data-end]:after {
201+
content: attr(data-start);
202+
position: absolute;
203+
top: 0.4em;
204+
left: 0.6em;
205+
min-width: 1em;
206+
padding: 0 0.5em;
207+
background-color: hsla(24, 20%, 50%, 0.4);
208+
color: #f4f1ef;
209+
font: bold 65%/1.5 sans-serif;
210+
text-align: center;
211+
vertical-align: 0.3em;
212+
border-radius: 999px;
213+
text-shadow: none;
214+
box-shadow: 0 1px #fff;
215+
}
216+
217+
.changelog pre[data-line] .line-highlight[data-end]:after {
218+
content: attr(data-end);
219+
top: auto;
220+
bottom: 0.4em;
221+
}
222+
223+
/* General HTML and body styles */
224+
.changelog {
225+
font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif;
226+
font-size: 16px;
227+
line-height: 1.6;
228+
color: #333;
229+
background-color: #fff;
230+
overflow: initial;
231+
box-sizing: border-box;
232+
word-wrap: break-word;
233+
}
234+
235+
.changelog > :first-child {
236+
margin-top: 0;
237+
}
238+
239+
.changelog h1,
240+
.changelog h2,
241+
.changelog h3,
242+
.changelog h4,
243+
.changelog h5,
244+
.changelog h6 {
245+
line-height: 1.2;
246+
margin-top: 1em;
247+
margin-bottom: 16px;
248+
color: #000;
249+
}
250+
251+
.changelog h1 {
252+
font-size: 2.25em;
253+
font-weight: 300;
254+
padding-bottom: 0.3em;
255+
}

css/techfolio-theme/default.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
--tf-page-bg-color: var(--bs-white);
1414
--tf-footer-bg-color: var(--bs-gray-200);
1515
--tf-projects-bg-color: var(--bs-gray-100);
16+
--tf-changelog-bg-color: var(--bs-gray-100);
1617
}
1718

1819
/* Format social media icons */
@@ -48,3 +49,7 @@ a {
4849
background-color: var(--bs-white);
4950
border-top: none;
5051
}
52+
53+
.long-summary-entry:not(:last-child) {
54+
margin-bottom: 1em !important;
55+
}

resume.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ <h1 class="display-4 text-center">{{ site.data.bio.basics.name }}</h1>
2323
<p class="mb-1">{% include about/social.html url=url name='envelope' label=label %}</p>
2424

2525
{% for profile in site.data.bio.basics.profiles %}
26-
{% capture url %}{{ profile.url }}{% endcapture %}
27-
{% capture name %}{{ profile.network | downcase }}{% endcapture %}
28-
{% capture label %}{{ profile.username }}{% endcapture %}
29-
<p class="mb-1">{% include about/social.html url=url name=name label=label %}</p>
26+
{% capture url %}{{ profile.url }}{% endcapture %}
27+
{% capture name %}{{ profile.network | downcase }}{% endcapture %}
28+
{% capture label %}{{ profile.username }}{% endcapture %}
29+
<p class="mb-1">{% include about/social.html url=url name=name label=label %}</p>
3030
{% endfor %}
3131
</div>
3232
<div class="col">
@@ -42,9 +42,9 @@ <h1 class="display-6 text-start m-0">About me</h1>
4242
</div>
4343
<div class="col-lg-9">
4444
{% for entry in site.data.bio.basics.summaryLong %}
45-
<p class="m-0 long-summary-entry">
46-
{{ entry }}
47-
</p>
45+
<p class="m-0 long-summary-entry">
46+
{{ entry }}
47+
</p>
4848
{% endfor %}
4949
</div>
5050
</div>
@@ -79,9 +79,9 @@ <h1 class="display-6 text-start m-0">Resume</h1>
7979
</div>
8080
<div class="col-lg-9">
8181
<p class="m-0">
82-
<a href="{{ site.data.bio.basics.resumeUrlPdf }}" target="_blank">Download <svg class="tf-social">
83-
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#filetype-pdf"/>
84-
</svg></a>
82+
<a href="{{ site.data.bio.basics.resumeUrlPdf }}" target="_blank">Download <svg class="tf-social">
83+
<use xlink:href="{{ '/img/bootstrap-icons.svg' | prepend: site.baseurl }}#filetype-pdf"/>
84+
</svg></a>
8585
</p>
8686
</div>
8787
</div>

0 commit comments

Comments
 (0)