26 Commits

Author SHA1 Message Date
github-actions[bot] ca85a71230 Update and run autoprefixer (#653)
Co-authored-by: kodiakhq[bot] <kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-04 11:10:25 +00:00
dependabot[bot] ea9812ec7c Bump actions/checkout from 3.0.2 to 3.1.0 (#654)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 11:09:29 +00:00
github-actions[bot] d61d39b9fb Update and run autoprefixer (#648)
Co-authored-by: kodiakhq[bot] <kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-10-03 01:56:07 +00:00
freezingDaniel 56615bfa43 Update repo-URLs (#651) 2022-10-03 01:55:12 +00:00
dependabot[bot] 35ccacacd2 Bump release-drafter/release-drafter from 5.20.1 to 5.21.0 (#647)
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.1 to 5.21.0.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.20.1...v5.21.0)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-15 11:05:52 +00:00
dependabot[bot] 237a79332a Bump actions/checkout from 2.4.0 to 3.0.2 (#645)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-08 11:09:03 +00:00
Emruz Hossain 872e2119c2 Fix soft skill text wrapping issue (#644) 2022-09-07 11:30:26 +00:00
Elise Briers 2500174f94 Improve dutch translations (#642) 2022-09-06 16:26:21 +00:00
Emruz Hossain e2463abc4e Update Task list for publication 2022-09-05 22:01:33 +06:00
Lukas Nagel 79282571eb Local google font (#639)
* added font

* added mulish css

* updated local font css

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
2022-09-05 15:49:04 +00:00
Akumetsu 6585f002a9 Added functionality for use of any fontawesome icon and custom socials (#640) 2022-09-05 04:19:59 +00:00
Abdelhak Bougouffa d32ac9a43e Add Arabic language localization (#638)
* Add Arabic localization

* Add Arabic to README
2022-09-01 04:59:50 +00:00
github-actions[bot] 412376fdc1 Update and run autoprefixer (#636)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-18 17:01:21 +00:00
github-actions[bot] 63931ee8f6 Update and run autoprefixer (#635)
Co-authored-by: kodiakhq[bot] <kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-18 16:59:36 +00:00
dependabot[bot] bb87ee29ac Bump release-drafter/release-drafter from 5.20.0 to 5.20.1 (#632)
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 5.20.0 to 5.20.1.
- [Release notes](https://github.com/release-drafter/release-drafter/releases)
- [Commits](https://github.com/release-drafter/release-drafter/compare/v5.20.0...v5.20.1)

---
updated-dependencies:
- dependency-name: release-drafter/release-drafter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-08-18 22:58:09 +06:00
David Davó eefb6166eb Added matomo support (#633) 2022-08-18 16:56:16 +00:00
Emruz Hossain 55dd90a0dd Add support for providing optional URL in a achievement entry (#623)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-07-30 14:29:05 +00:00
github-actions[bot] fe5d8af56d add vendor specific css prefixes (#622)
Co-authored-by: kodiakhq[bot] <kodiakhq[bot]@users.noreply.github.com>
2022-07-29 23:22:20 +06:00
Emruz Hossain b81fd5078b Add publication section (#620)
* Add publication section

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

* Don't make tags clickable

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-07-29 17:12:14 +00:00
Emruz Hossain eb167e0155 Update README.md 2022-07-21 07:59:20 +06:00
Kemal Kolcuoğlu 8cb07ffeb4 Adding Turkish Language Localization (#616) 2022-07-21 01:41:11 +00:00
Emruz Hossain 27c3d0f4cc Add margin between tags (#612)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-07-16 16:03:53 +00:00
Emruz Hossain ad3dee71c2 Support providing custom buttons in about section (#611)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-07-16 15:52:24 +00:00
Emruz Hossain bf6f63976b Fix CSS for gist (#606)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-06-15 19:44:56 +00:00
Emruz Hossain 6c8ab46a73 Use RelPermalink for background url (#605)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
2022-06-15 18:51:31 +00:00
Gabriel Jean 3d6246f3c9 Removed flag icon span if countryCode is null (#603)
* Update lang-selector.html

* Update lang-selector-2.html

* Added showFlags parameter

* Refactor showFlags logic

Signed-off-by: hossainemruz <hossainemruz@gmail.com>

Co-authored-by: hossainemruz <hossainemruz@gmail.com>
2022-06-13 15:14:39 +00:00
57 changed files with 1039 additions and 344 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ title: 'Feature Request'
<!--- <!---
Before filing an issue, please review the following: Before filing an issue, please review the following:
Existing Features: https://github.com/hossainemruz/toha#features Existing Features: https://github.com/hugo-toha/toha#features
Project Roadmap: https://github.com/hossainemruz/toha#project-roadmap Project Roadmap: https://github.com/hugo-toha/toha#project-roadmap
--> -->
### Describe the solution you'd like ### Describe the solution you'd like
+1 -1
View File
@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout to latest commit - name: Checkout to latest commit
uses: actions/checkout@v3 uses: actions/checkout@v3.1.0
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
# checkout to the commit that has been pushed # checkout to the commit that has been pushed
- uses: actions/checkout@v2.4.0 - uses: actions/checkout@v3.1.0
with: with:
submodules: true # Fetch Hugo themes (true OR recursive) submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
+1 -1
View File
@@ -39,7 +39,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3.1.0
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
+1 -1
View File
@@ -10,6 +10,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Create/Update release draft # Create/Update release draft
- uses: release-drafter/release-drafter@v5.20.0 - uses: release-drafter/release-drafter@v5.21.0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -8,6 +8,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# checkout to latest commit # checkout to latest commit
- uses: actions/checkout@v3 - uses: actions/checkout@v3.1.0
# run markdown linter # run markdown linter
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.14 - uses: gaurav-nelson/github-action-markdown-link-check@1.0.14
+11 -4
View File
@@ -34,6 +34,7 @@ A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist desi
- GoatCounter - GoatCounter
- counter.dev - counter.dev
- Google Analytics - Google Analytics
- Matomo/Piwik
- Comment Support - Comment Support
- [Disqus](https://disqus.com/) - [Disqus](https://disqus.com/)
- [Valine](https://valine.js.org/) - [Valine](https://valine.js.org/)
@@ -58,6 +59,8 @@ For more details about the features please visit [here](https://toha-guides.netl
- русский - русский
- suomi - suomi
- Tiếng Việt - Tiếng Việt
- Turkish
- Arabic (العربية)
To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io). To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io).
@@ -145,6 +148,9 @@ params:
# specify whether you want to show Table of Contents in reading page # specify whether you want to show Table of Contents in reading page
enableTOC: true enableTOC: true
# specify whether you want the language flags to be displayed.
showFlags: true
# Provide newsletter configuration. # Provide newsletter configuration.
# This feature has been implemented for Mailchimp only for now. # This feature has been implemented for Mailchimp only for now.
# You can also hide it from the footer. # You can also hide it from the footer.
@@ -240,12 +246,13 @@ Here is the check list for portfolio mode,
- [ ] **Publications** - [ ] **Publications**
- [ ] Category Filter - [x] Category Filter
- [ ] Card - [x] Card
- [x] Tags
- [x] Links
- [ ] Dedicated Page
- [ ] Abstract - [ ] Abstract
- [ ] Authors - [ ] Authors
- [ ] Tags
- [ ] Links
- [ ] Gallery - [ ] Gallery
- [x] **Accomplishment / Courses** - [x] **Accomplishment / Courses**
+126
View File
@@ -0,0 +1,126 @@
# More documentation here: https://github.com/nicksnyder/go-i18n
[home]
other = "الصفحة الرئيسية"
[posts]
other = "المنشورات"
[toc_heading]
other = "قائمة المحتويات"
[tags]
other = "الوسوم"
[categories]
other = "الأقسام"
[at]
other = "at"
[resume]
other = "سيرتي الذاتية"
[navigation]
other = "التصفح"
[contact_me]
other = "اتصل بي:"
[email]
other = "البريد الإلكتروني"
[phone]
other = "الهاتف"
[newsletter_text]
other = "ابق على اتصال من خلال القائمة البريدية"
[newsletter_input_placeholder]
other = "ادخل بريدك الالكتروني"
[newsletter_warning]
other = "بإدخال بريدك الإلكتروني، أنت توافق على تلقي رسائل إلكترونية دورية من هذا الموقع."
[submit]
other = "إرسال"
[hugoAttributionText]
other = "صنع باستخدام"
[prev]
other = "السابق"
[next]
other = "التالي"
[share_on]
other = "المشاركة على"
[improve_this_page]
other = "ساعد في تحسين هذه الصفحة"
[out_of]
other = "من"
[publications]
other = "المنشورات"
[taken_courses]
other = "الدروس"
[course_name]
other = "اسم المادة"
[total_credit]
other = "العلامة العامة"
[obtained_credit]
other = "العلامة"
[extracurricular_activities]
other = "نشاطات خارجية"
[show_more]
other = "إظهار المزيد"
[show_less]
other = "إخفاء"
[responsibilities]
other = "المسؤوليات:"
[present]
other = "حاليا"
[comments_javascript]
other = "من فضلك قم بتفعيل جافاسكريب لإظهار"
[comments_by]
other = "التعليقات موفرة بواسطة"
[read]
other = "قراءة"
[project_star]
other = "نجمة"
[project_details]
other = "التفاصيل"
[err_404]
other = "الصفحة التي تبحث عنها ليست بعد هناك."
[more]
other = "المزيد"
[view_certificate]
other = "إظهار الشهادة"
[notes]
other = "ملاحظات"
[disclaimer_text]
other = "إشعار بالمسؤولية"
[search]
other = "بحث"
+29 -28
View File
@@ -1,11 +1,11 @@
[home] [home]
other = "Startseite" other = "Hoofdpagina"
[posts] [posts]
other = "Beiträge" other = "Posts"
[toc_heading] [toc_heading]
other = "Inhaltsverzeichnis" other = "Inhoudsopgave"
[tags] [tags]
other = "Tags" other = "Tags"
@@ -14,49 +14,49 @@ other = "Tags"
other = "Categorieën" other = "Categorieën"
[at] [at]
other = "bei" other = "bij"
[resume] [resume]
other = "Mein Lebenslauf" other = "Curriculum Vitae"
[navigation] [navigation]
other = "Navigation" other = "Navigatie"
[contact_me] [contact_me]
other = "Kontakt aufnehmen" other = "Contactgegevens"
[email] [email]
other = "E-Mail" other = "E-Mail"
[phone] [phone]
other = "Telefon" other = "Telefoon"
[newsletter_text] [newsletter_text]
other = "Mit dem Newsletter auf dem neuesten Stand bleiben" other = "Ontvang updates via email"
[newsletter_input_placeholder] [newsletter_input_placeholder]
other = "E-Mail-Adresse eingeben" other = "Email ingeven"
[newsletter_warning] [newsletter_warning]
other = "Door uw e-mailadres in te voeren, gaat u akkoord met het ontvangen van de nieuwsbrief van deze website." other = "Door uw e-mailadres in te voeren, gaat u akkoord met het ontvangen van de nieuwsbrief van deze website."
[submit] [submit]
other = "Absenden" other = "Opslaan"
[hugoAttributionText] [hugoAttributionText]
other = "Unterstützt von" other = "Mogelijk gemaakt met"
[prev] [prev]
other = "Vorherige" other = "Vorige"
[next] [next]
other = "Nächste" other = "Volgende"
# [share_on] [share_on]
# other = "Share on" other = "Delen op"
[improve_this_page] [improve_this_page]
other = "Diese Seite verbessern" other = "Deze pagina verbeteren"
[out_of] [out_of]
other = "van de" other = "van de"
@@ -65,7 +65,7 @@ other = "van de"
other = "Publicaties" other = "Publicaties"
[taken_courses] [taken_courses]
other = "Cursussen gevolgd" other = "Gevolgde cursussen"
[course_name] [course_name]
other = "Cursus naam" other = "Cursus naam"
@@ -85,11 +85,11 @@ other = "Bekijk meer"
[show_less] [show_less]
other = "Laat minder zien" other = "Laat minder zien"
# [responsibilities] [responsibilities]
# other = "Responsibilities:" other = "Verantwoordelijkheden:"
# [present] [present]
# other = "Present" other = "Heden"
# [comments_javascript] # [comments_javascript]
# other = "Please enable JavaScript to view the" # other = "Please enable JavaScript to view the"
@@ -103,11 +103,11 @@ other = "Laat minder zien"
# [project_star] # [project_star]
# other = "Star" # other = "Star"
# [project_details] [project_details]
# other = "Details" other = "Details"
# [err_404] [err_404]
# other = "The page you are looking for is not there yet." other = "De pagina waar je voor zoekt bestaat nog niet."
[more] [more]
other = "Meer" other = "Meer"
@@ -119,6 +119,7 @@ other = "Bekijk certificaat"
other = "Opmerkingen" other = "Opmerkingen"
[disclaimer_text] [disclaimer_text]
other = "Haftungshinweis" other = "Aansprakelijkheidsverklaring"
[search] [search]
other = "Zoekopdracht" other = "Zoek"
+126
View File
@@ -0,0 +1,126 @@
# More documentation here: https://github.com/nicksnyder/go-i18n
[home]
other = "Anasayfa"
[posts]
other = "Gönderiler"
[toc_heading]
other = "İçerik Tablous"
[tags]
other = "Etiketler"
[categories]
other = "Kategoriler"
[at]
other = ","
[resume]
other = "Özgeçmişim"
[navigation]
other = "Menü"
[contact_me]
other = "İletişime geç:"
[email]
other = "E-Posta"
[phone]
other = "Telefon"
[newsletter_text]
other = "Yeni içeriklerden haberdar olmak için E-Posta adresinizi giriniz."
[newsletter_input_placeholder]
other = "E-Posta adresi giriniz."
[newsletter_warning]
other = "E-Posta adresini girerseniz, bu web sitesinin haber bültenini almayı kabul ediyorsunuz."
[submit]
other = "Onayla"
[hugoAttributionText]
other = ""
[prev]
other = "Önceki"
[next]
other = "Sonraki"
[share_on]
other = "Paylaş"
[improve_this_page]
other = "Bu sayfaya katkıda bulunun"
[out_of]
other = "/"
[publications]
other = "Akademik Yayınlar"
[taken_courses]
other = "Alınan Dersler"
[course_name]
other = "Ders Adı"
[total_credit]
other = "Üzerinden"
[obtained_credit]
other = "Alınan Not"
[extracurricular_activities]
other = "Ders Dışı Aktiviteler"
[show_more]
other = "Devamını Göster"
[show_less]
other = "Gizle"
[responsibilities]
other = "Sorumluluklar:"
[present]
other = "Halen"
[comments_javascript]
other = "Görüntüleyebilmek için lüften Javascript etkinleştirin"
[comments_by]
other = "comments powered by"
[read]
other = "Oku"
[project_star]
other = "Star"
[project_details]
other = "Detaylar"
[err_404]
other = "Aradığınız sayfa bulunmamakta."
[more]
other = "Devamını Göster"
[view_certificate]
other = "Sertifikayı Görüntüle"
[notes]
other = "Notlar"
[disclaimer_text]
other = "Yükümlülük Bildirisi"
[search]
other = "Ara"
+1 -1
View File
@@ -40,7 +40,7 @@
<div class="content"> <div class="content">
<div class="container p-0 read-area"> <div class="container p-0 read-area">
<!--Hero Area--> <!--Hero Area-->
<div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ strings.TrimSuffix "/" site.BaseURL }}{{ partial "helpers/get-hero.html" . }});'> <div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ partial "helpers/get-hero.html" . }});'>
</div> </div>
<!--Content Start--> <!--Content Start-->
+1
View File
@@ -25,6 +25,7 @@
<link rel="stylesheet" href="{{ "/css/sections/recent-posts.css" | relURL }}"/> <link rel="stylesheet" href="{{ "/css/sections/recent-posts.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/sections/achievements.css" | relURL }}"/> <link rel="stylesheet" href="{{ "/css/sections/achievements.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/sections/accomplishments.css" | relURL }}"/> <link rel="stylesheet" href="{{ "/css/sections/accomplishments.css" | relURL }}"/>
<link rel="stylesheet" href="{{ "/css/sections/publications.css" | relURL }}"/>
<!--================= custom style overrides =========================--> <!--================= custom style overrides =========================-->
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}"/> <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}"/>
+18
View File
@@ -40,6 +40,24 @@
src="//gc.zgo.at/count.js" src="//gc.zgo.at/count.js"
></script> ></script>
{{ end }} {{ end }}
<!-- Piwik/Matomo -->
{{ with .matomo }}
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//{{ .instance }}/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '{{ .siteId }}']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
{{ end }}
{{ end }} {{ end }}
{{ end }} {{ end }}
+39
View File
@@ -0,0 +1,39 @@
{{ $dataCategories:= slice "pub-all"}}
{{ range .categories}}
{{ $dataCategories = $dataCategories | append (printf "pub-%s" .)}}
{{end}}
<div
class="col-12 p-2 pub-filtr-item"
data-category='{{ delimit $dataCategories ","}}'
>
<div class="card mt-3">
<div class="card-header">
<h5 class="card-title mb-0">{{ .title }}</h5>
<div class="sub-title">
<span><a class="" href="{{.publishedIn.url}}">{{ .publishedIn.name }}</a></span>
<span class="ml-2">{{ .publishedIn.date }}</span>
</div>
<div class="authors">
{{ range $index,$author:= .authors }}
<span class="mr-2"><a class="" href="{{.url}}">{{ .name }}</a></span>
{{ end }}
</div>
</div>
<div class="card-body">
<p>{{ .paper.summary | markdownify }}</p>
</div>
<div class="card-footer">
<div class="tags">
{{ range $index,$tag:= .tags }}
<span class="btn badge btn-info ml-1 p-2">
{{ $tag }}
</span>
{{ end }}
</div>
<div class="details-btn">
<a class="btn btn-outline-info ml-1 pl-2 mb-2" href="{{ .paper.url }}" target="_blank" rel="noopener" role="button">{{ i18n "project_details"}}</a>
</div>
</div>
</div>
</div>
+15 -1
View File
@@ -115,6 +115,20 @@
<li><a href={{ printf "https://github.com/%s" $value }} target="_blank" rel="noopener"> <li><a href={{ printf "https://github.com/%s" $value }} target="_blank" rel="noopener">
<span><i class="fab fa-github"></i></span> <span>{{ $value }}</span> <span><i class="fab fa-github"></i></span> <span>{{ $value }}</span>
</a></li> </a></li>
{{ else if reflect.IsMap $value }}
<li>
{{ if (and (isset $value "url") (isset $value "icon"))}}
<a href={{ $value.url }} target="_blank" rel="noopener">
<span><i class={{ printf "fab fa-%s" $value.icon }}></i></span> <span>{{ $value.text }}</span>
</a>
{{ else if isset $value "icon" }}
<span><i class={{ printf "fab fa-%s" $value.icon }}></i></span> <span>{{ $value.text }}</span>
{{ else }}
<a href={{ $value.url }} target="_blank" rel="noopener">
<span>{{ title $key }}: </span> <span>{{ $value.text }}</span>
</a>
{{ end }}
</li>
{{ else }} {{ else }}
<li><span>{{ title $key }}: </span> <span>{{ $value }}</span></li> <li><span>{{ title $key }}: </span> <span>{{ $value }}</span></li>
{{ end }} {{ end }}
@@ -177,7 +191,7 @@
<div class="container"> <div class="container">
<div class="row text-left"> <div class="row text-left">
<div class="col-md-4"> <div class="col-md-4">
<a id="theme" href="https://github.com/hossainemruz/toha" target="_blank" rel="noopener"> <a id="theme" href="https://github.com/hugo-toha/toha" target="_blank" rel="noopener">
<img src="{{ $themeLogo }}" alt="Toha Theme Logo"> <img src="{{ $themeLogo }}" alt="Toha Theme Logo">
Toha Toha
</a> </a>
+1 -1
View File
@@ -10,7 +10,7 @@
<link rel="stylesheet" href="{{ "/css/flag-icon.min.css" | relURL }}"/> <link rel="stylesheet" href="{{ "/css/flag-icon.min.css" | relURL }}"/>
<!--=================== fonts ==============================--> <!--=================== fonts ==============================-->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Muli:wght@300;400;500;600"> <link rel="stylesheet" href="{{ "/google-fonts/Mulish/mulish.css" | relURL }}"/>
<!--=================== icons ==============================--> <!--=================== icons ==============================-->
<link rel="stylesheet" href="{{ "/fontawesome/css/all.min.css" | relURL }}"/> <link rel="stylesheet" href="{{ "/fontawesome/css/all.min.css" | relURL }}"/>
@@ -5,15 +5,19 @@
<div class="dropdown languageSelector"> <div class="dropdown languageSelector">
<a class="btn dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="btn dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ if ne site.Params.showFlags false }}
{{ $countryCode := partial "helpers/country-code.html" . }} {{ $countryCode := partial "helpers/country-code.html" . }}
<span class="flag-icon flag-icon-{{$countryCode}}"></span> <span class="flag-icon flag-icon-{{$countryCode}}"></span>
{{ end }}
{{ site.Language.LanguageName }} {{ site.Language.LanguageName }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="languageSelector"> <div class="dropdown-menu" aria-labelledby="languageSelector">
{{ range .Translations }} {{ range .Translations }}
<a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang "en") "" .Language.Lang) $pageURL }}"> <a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang "en") "" .Language.Lang) $pageURL }}">
{{ if ne site.Params.showFlags false }}
{{ $countryCode := partial "helpers/country-code.html" . }} {{ $countryCode := partial "helpers/country-code.html" . }}
<span class="flag-icon flag-icon-{{$countryCode}}"></span> <span class="flag-icon flag-icon-{{$countryCode}}"></span>
{{ end }}
{{ .Language.LanguageName }} {{ .Language.LanguageName }}
</a> </a>
{{ end }} {{ end }}
@@ -5,15 +5,19 @@
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ if ne site.Params.showFlags false }}
{{ $countryCode := partial "helpers/country-code.html" . }} {{ $countryCode := partial "helpers/country-code.html" . }}
<span class="flag-icon flag-icon-{{$countryCode}}"></span> <span class="flag-icon flag-icon-{{$countryCode}}"></span>
{{ end }}
{{ site.Language.LanguageName }} {{ site.Language.LanguageName }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="languageSelector"> <div class="dropdown-menu" aria-labelledby="languageSelector">
{{ range .Translations }} {{ range .Translations }}
<a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang "en") "" .Language.Lang) $pageURL }}"> <a class="dropdown-item nav-link languages-item" href="{{ path.Join "/" (cond (eq .Language.Lang "en") "" .Language.Lang) $pageURL }}">
{{ if ne site.Params.showFlags false }}
{{ $countryCode := partial "helpers/country-code.html" . }} {{ $countryCode := partial "helpers/country-code.html" . }}
<span class="flag-icon flag-icon-{{$countryCode}}"></span> <span class="flag-icon flag-icon-{{$countryCode}}"></span>
{{ end }}
{{ .Language.LanguageName }} {{ .Language.LanguageName }}
</a> </a>
{{ end }} {{ end }}
@@ -1,14 +1,18 @@
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ if ne site.Params.showFlags false }}
{{ $countryCode := partial "helpers/country-code.html" . }} {{ $countryCode := partial "helpers/country-code.html" . }}
<span class="flag-icon flag-icon-{{$countryCode}}"></span> <span class="flag-icon flag-icon-{{$countryCode}}"></span>
{{ end }}
{{ site.Language.LanguageName }} {{ site.Language.LanguageName }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="languageSelector"> <div class="dropdown-menu" aria-labelledby="languageSelector">
{{ range site.Home.AllTranslations }} {{ range site.Home.AllTranslations }}
<a class="dropdown-item nav-link languages-item" href="{{ .RelPermalink }}"> <a class="dropdown-item nav-link languages-item" href="{{ .RelPermalink }}">
{{ if ne site.Params.showFlags false }}
{{ $countryCode := partial "helpers/country-code.html" . }} {{ $countryCode := partial "helpers/country-code.html" . }}
<span class="flag-icon flag-icon-{{$countryCode}}"></span> <span class="flag-icon flag-icon-{{$countryCode}}"></span>
{{ end }}
{{ .Language.LanguageName }} {{ .Language.LanguageName }}
</a> </a>
{{ end }} {{ end }}
+5
View File
@@ -45,6 +45,11 @@
><button class="btn btn-dark">{{ i18n "resume"}}</button></a ><button class="btn btn-dark">{{ i18n "resume"}}</button></a
> >
{{ end }} {{ end }}
{{ range .resourceLinks }}
<a href="{{ .url | relURL }}" title="{{ .title }}" target="#"
><button class="btn btn-dark">{{ .title }}</button></a
>
{{ end }}
</div> </div>
<!-- soft skills circular-progressbar --> <!-- soft skills circular-progressbar -->
<div class="col-sm-6 pt-5 pl-md-4 pl-sm-3 pt-sm-0"> <div class="col-sm-6 pt-5 pl-md-4 pl-sm-3 pt-sm-0">
@@ -12,14 +12,17 @@
{{/* don't use "background-image: url('{{ $achievementImageSm }}');" Otherwise the images won't show in https://themes.gohugo.io/ */}} {{/* don't use "background-image: url('{{ $achievementImageSm }}');" Otherwise the images won't show in https://themes.gohugo.io/ */}}
<div <div
class="achievement-entry text-center" class="achievement-entry text-center"
style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $achievementImageSm }}');" style="background-image: url('{{ $achievementImageSm }}');"
> >
<i class="fas fa-search-plus" id="enlarge-icon"></i> <i class="fas fa-search-plus" id="enlarge-icon"></i>
<h4 class="title" id="achievement-title">{{ .title }}</h4> <h4 class="title" id="achievement-title">{{ .title }}</h4>
<div class="caption hidden col-lg-6 text-left" id="caption"> <div class="caption hidden col-lg-6 text-left" id="caption">
<h4>{{ .title }}</h4> <h4>{{ .title }}</h4>
<p>{{ .summary | markdownify }}</p> <p>{{ .summary | markdownify }}</p>
{{ if .url }}
<a class="btn btn-info ml-1 pl-2 mb-2" href="{{ .url }}" target="_blank" rel="noopener" role="button">{{ i18n "project_details"}}</a>
{{ end }}
</div> </div>
<span style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $achievementImageSm }}');" class="d-none" id="SmallImage" active="true"></span> <span style="background-image: url('{{ $achievementImageSm }}');" class="d-none" id="SmallImage" active="true"></span>
<span style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $achievementImageLg }}');" class="d-none" id="LargeImage"></span> <span style="background-image: url('{{ $achievementImageLg }}');" class="d-none" id="LargeImage"></span>
</div> </div>
+5 -6
View File
@@ -77,28 +77,27 @@
<style> <style>
/* 0 to 299 */ /* 0 to 299 */
#homePageBackgroundImageDivStyled { #homePageBackgroundImageDivStyled {
/*background-image: url('{{ $tiny.RelPermalink }}'); This does not work on https://themes.gohugo.io/ */ background-image: url('{{ $tiny.RelPermalink }}');
background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $tiny.RelPermalink }}');
} }
/* 300 to X */ /* 300 to X */
@media (min-width: 500px) and (max-width: 800px) { /* or 301 if you want really the same as previously. */ @media (min-width: 500px) and (max-width: 800px) { /* or 301 if you want really the same as previously. */
#homePageBackgroundImageDivStyled { #homePageBackgroundImageDivStyled {
background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $small.RelPermalink }}'); background-image: url('{{ $small.RelPermalink }}');
} }
} }
@media (min-width: 801px) and (max-width: 1200px) { /* or 301 if you want really the same as previously. */ @media (min-width: 801px) and (max-width: 1200px) { /* or 301 if you want really the same as previously. */
#homePageBackgroundImageDivStyled { #homePageBackgroundImageDivStyled {
background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $medium.RelPermalink }}'); background-image: url('{{ $medium.RelPermalink }}');
} }
} }
@media (min-width: 1201px) and (max-width: 1500px) { /* or 301 if you want really the same as previously. */ @media (min-width: 1201px) and (max-width: 1500px) { /* or 301 if you want really the same as previously. */
#homePageBackgroundImageDivStyled { #homePageBackgroundImageDivStyled {
background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $large.RelPermalink }}'); background-image: url('{{ $large.RelPermalink }}');
} }
} }
@media (min-width: 1501px) { /* or 301 if you want really the same as previously. */ @media (min-width: 1501px) { /* or 301 if you want really the same as previously. */
#homePageBackgroundImageDivStyled { #homePageBackgroundImageDivStyled {
background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $src.RelPermalink }}'); background-image: url('{{ $src.RelPermalink }}');
} }
} }
</style> </style>
+1 -1
View File
@@ -14,7 +14,7 @@
<div class="container ml-auto text-center"> <div class="container ml-auto text-center">
<div class="btn-group flex-wrap" role="group" id="project-filter-buttons"> <div class="btn-group flex-wrap" role="group" id="project-filter-buttons">
{{ range .buttons }} {{ range .buttons }}
<button type="button" class="btn btn-dark" data-filter="{{ .filter }}"> <button type="button" class="btn btn-dark project-filtr-control" data-filter="{{ .filter }}">
{{ .name }} {{ .name }}
</button> </button>
{{ end }} {{ end }}
@@ -0,0 +1,30 @@
{{ $sectionID := replace (lower .section.name) " " "-" }}
{{ if .section.id }}
{{ $sectionID = .section.id }}
{{ end }}
<div class="container-fluid anchor pb-5 publications-section" id="{{ $sectionID }}">
{{ if not (.section.hideTitle) }}
<h1 class="text-center">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ else }}
<h1 class="text-center" style="display: none">
<span id="{{ $sectionID }}"></span>{{ .section.name }}</h1>
{{ end }}
<div class="container ml-auto text-center">
<div class="btn-group flex-wrap" role="pub-group" id="publication-filter-buttons">
{{ range .buttons }}
<button type="button" class="btn btn-dark pub-filtr-control" data-filter="pub-{{ .filter }}">
{{ .name }}
</button>
{{ end }}
</div>
</div>
<div class="container filtr-publications">
<div class="row" id="publication-card-holder">
{{ range .publications }}
{{ partial "cards/publication" . }}
{{ end }}
</div>
</div>
</div>
+86 -52
View File
@@ -8,8 +8,8 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.12",
"postcss": "^8.4.14", "postcss": "^8.4.17",
"postcss-cli": "^8.3.1" "postcss-cli": "^8.3.1"
} }
}, },
@@ -104,9 +104,9 @@
} }
}, },
"node_modules/autoprefixer": { "node_modules/autoprefixer": {
"version": "10.4.7", "version": "10.4.12",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.12.tgz",
"integrity": "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==", "integrity": "sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -119,8 +119,8 @@
} }
], ],
"dependencies": { "dependencies": {
"browserslist": "^4.20.3", "browserslist": "^4.21.4",
"caniuse-lite": "^1.0.30001335", "caniuse-lite": "^1.0.30001407",
"fraction.js": "^4.2.0", "fraction.js": "^4.2.0",
"normalize-range": "^0.1.2", "normalize-range": "^0.1.2",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
@@ -158,9 +158,9 @@
} }
}, },
"node_modules/browserslist": { "node_modules/browserslist": {
"version": "4.20.3", "version": "4.21.4",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz",
"integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -173,11 +173,10 @@
} }
], ],
"dependencies": { "dependencies": {
"caniuse-lite": "^1.0.30001332", "caniuse-lite": "^1.0.30001400",
"electron-to-chromium": "^1.4.118", "electron-to-chromium": "^1.4.251",
"escalade": "^3.1.1", "node-releases": "^2.0.6",
"node-releases": "^2.0.3", "update-browserslist-db": "^1.0.9"
"picocolors": "^1.0.0"
}, },
"bin": { "bin": {
"browserslist": "cli.js" "browserslist": "cli.js"
@@ -187,9 +186,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001340", "version": "1.0.30001414",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001340.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001414.tgz",
"integrity": "sha512-jUNz+a9blQTQVu4uFcn17uAD8IDizPzQkIKh3LCJfg9BkyIqExYYdyc/ZSlWUSKb8iYiXxKsxbv4zYSvkqjrxw==", "integrity": "sha512-t55jfSaWjCdocnFdKQoO+d2ct9C59UZg4dY3OnUlSZ447r8pUtIKdp0hpAzrGFultmTC+Us+KpKi4GZl/LXlFg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -296,9 +295,9 @@
} }
}, },
"node_modules/electron-to-chromium": { "node_modules/electron-to-chromium": {
"version": "1.4.137", "version": "1.4.270",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.270.tgz",
"integrity": "sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==", "integrity": "sha512-KNhIzgLiJmDDC444dj9vEOpZEgsV96ult9Iff98Vanumn+ShJHd5se8aX6KeVxdc0YQeqdrezBZv89rleDbvSg==",
"dev": true "dev": true
}, },
"node_modules/emoji-regex": { "node_modules/emoji-regex": {
@@ -633,9 +632,9 @@
} }
}, },
"node_modules/node-releases": { "node_modules/node-releases": {
"version": "2.0.4", "version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
"integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==", "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==",
"dev": true "dev": true
}, },
"node_modules/normalize-path": { "node_modules/normalize-path": {
@@ -693,9 +692,9 @@
} }
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.4.14", "version": "8.4.17",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz",
"integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -979,6 +978,32 @@
"node": ">= 10.0.0" "node": ">= 10.0.0"
} }
}, },
"node_modules/update-browserslist-db": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz",
"integrity": "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==",
"dev": true,
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/browserslist"
}
],
"dependencies": {
"escalade": "^3.1.1",
"picocolors": "^1.0.0"
},
"bin": {
"browserslist-lint": "cli.js"
},
"peerDependencies": {
"browserslist": ">= 4.21.0"
}
},
"node_modules/wrap-ansi": { "node_modules/wrap-ansi": {
"version": "7.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -1107,13 +1132,13 @@
"dev": true "dev": true
}, },
"autoprefixer": { "autoprefixer": {
"version": "10.4.7", "version": "10.4.12",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.12.tgz",
"integrity": "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==", "integrity": "sha512-WrCGV9/b97Pa+jtwf5UGaRjgQIg7OK3D06GnoYoZNcG1Xb8Gt3EfuKjlhh9i/VtT16g6PYjZ69jdJ2g8FxSC4Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"browserslist": "^4.20.3", "browserslist": "^4.21.4",
"caniuse-lite": "^1.0.30001335", "caniuse-lite": "^1.0.30001407",
"fraction.js": "^4.2.0", "fraction.js": "^4.2.0",
"normalize-range": "^0.1.2", "normalize-range": "^0.1.2",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
@@ -1136,22 +1161,21 @@
} }
}, },
"browserslist": { "browserslist": {
"version": "4.20.3", "version": "4.21.4",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz",
"integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==",
"dev": true, "dev": true,
"requires": { "requires": {
"caniuse-lite": "^1.0.30001332", "caniuse-lite": "^1.0.30001400",
"electron-to-chromium": "^1.4.118", "electron-to-chromium": "^1.4.251",
"escalade": "^3.1.1", "node-releases": "^2.0.6",
"node-releases": "^2.0.3", "update-browserslist-db": "^1.0.9"
"picocolors": "^1.0.0"
} }
}, },
"caniuse-lite": { "caniuse-lite": {
"version": "1.0.30001340", "version": "1.0.30001414",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001340.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001414.tgz",
"integrity": "sha512-jUNz+a9blQTQVu4uFcn17uAD8IDizPzQkIKh3LCJfg9BkyIqExYYdyc/ZSlWUSKb8iYiXxKsxbv4zYSvkqjrxw==", "integrity": "sha512-t55jfSaWjCdocnFdKQoO+d2ct9C59UZg4dY3OnUlSZ447r8pUtIKdp0hpAzrGFultmTC+Us+KpKi4GZl/LXlFg==",
"dev": true "dev": true
}, },
"chalk": { "chalk": {
@@ -1228,9 +1252,9 @@
} }
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.4.137", "version": "1.4.270",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.270.tgz",
"integrity": "sha512-0Rcpald12O11BUogJagX3HsCN3FE83DSqWjgXoHo5a72KUKMSfI39XBgJpgNNxS9fuGzytaFjE06kZkiVFy2qA==", "integrity": "sha512-KNhIzgLiJmDDC444dj9vEOpZEgsV96ult9Iff98Vanumn+ShJHd5se8aX6KeVxdc0YQeqdrezBZv89rleDbvSg==",
"dev": true "dev": true
}, },
"emoji-regex": { "emoji-regex": {
@@ -1477,9 +1501,9 @@
"dev": true "dev": true
}, },
"node-releases": { "node-releases": {
"version": "2.0.4", "version": "2.0.6",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz",
"integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==", "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==",
"dev": true "dev": true
}, },
"normalize-path": { "normalize-path": {
@@ -1519,9 +1543,9 @@
"dev": true "dev": true
}, },
"postcss": { "postcss": {
"version": "8.4.14", "version": "8.4.17",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz",
"integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"nanoid": "^3.3.4", "nanoid": "^3.3.4",
@@ -1693,6 +1717,16 @@
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"dev": true "dev": true
}, },
"update-browserslist-db": {
"version": "1.0.9",
"resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.9.tgz",
"integrity": "sha512-/xsqn21EGVdXI3EXSum1Yckj3ZVZugqyOZQ/CxYPBD/R+ko9NSUScf8tFF4dOKY+2pvSSJA/S+5B8s4Zr4kyvg==",
"dev": true,
"requires": {
"escalade": "^3.1.1",
"picocolors": "^1.0.0"
}
},
"wrap-ansi": { "wrap-ansi": {
"version": "7.0.0", "version": "7.0.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+5 -5
View File
@@ -8,17 +8,17 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/hossainemruz/toha.git" "url": "git+https://github.com/hugo-toha/toha.git"
}, },
"author": "Emruz Hossain", "author": "Emruz Hossain",
"license": "MIT", "license": "MIT",
"bugs": { "bugs": {
"url": "https://github.com/hossainemruz/toha/issues" "url": "https://github.com/hugo-toha/toha/issues"
}, },
"homepage": "https://github.com/hossainemruz/toha#readme", "homepage": "https://github.com/hugo-toha/toha#readme",
"devDependencies": { "devDependencies": {
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.12",
"postcss": "^8.4.14", "postcss": "^8.4.17",
"postcss-cli": "^8.3.1" "postcss-cli": "^8.3.1"
} }
} }
-2
View File
@@ -67,7 +67,6 @@
} }
.paginator { .paginator {
width: -webkit-fit-content;
width: -moz-fit-content; width: -moz-fit-content;
width: fit-content; width: fit-content;
margin: auto; margin: auto;
@@ -91,7 +90,6 @@
margin-right: auto; margin-right: auto;
margin-top: 0.5rem; margin-top: 0.5rem;
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
width: -webkit-fit-content;
width: -moz-fit-content; width: -moz-fit-content;
width: fit-content; width: fit-content;
} }
+41 -6
View File
@@ -174,7 +174,7 @@ img.right {
margin-right: 3px; margin-right: 3px;
} }
/* ====== codeblocks ====== */ /* ====== table ====== */
table { table {
border-radius: 0.1rem; border-radius: 0.1rem;
background: #e5e9f2; background: #e5e9f2;
@@ -206,12 +206,46 @@ tbody tr:hover {
background: #c0ccda; background: #c0ccda;
} }
/* ====== don't apply css to tables inside gist ====== */
.gist table {
border-radius: unset;
background: unset;
border: unset;
padding: unset;
}
.gist table tr {
height: unset !important;
}
.gist table th,
td {
padding: unset;
border-left: unset;
border-bottom: unset;
}
.gist table thead tr {
background: unset;
color: unset;
}
.gist tbody tr:nth-child(odd) {
background-color: unset;
}
.gist tbody tr:hover {
background: unset;
}
.gist table td, .gist table tc{
border-right: 1px solid #eee;
}
figure { figure {
border: 1px solid #c0ccda; border: 1px solid #c0ccda;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
width: -webkit-fit-content;
width: -moz-fit-content; width: -moz-fit-content;
width: fit-content; width: fit-content;
align-self: center; align-self: center;
@@ -276,7 +310,6 @@ mark {
/* ======= Paginator ========= */ /* ======= Paginator ========= */
.paginator { .paginator {
width: -webkit-fit-content;
width: -moz-fit-content; width: -moz-fit-content;
width: fit-content; width: fit-content;
margin: auto; margin: auto;
@@ -408,7 +441,8 @@ mark {
@media only screen and (max-width: 576px) { @media only screen and (max-width: 576px) {
.skills-section .container, .skills-section .container,
.projects-section .container { .projects-section .container,
.publications-section .container {
padding-left: 0.3rem; padding-left: 0.3rem;
padding-right: 0.3rem; padding-right: 0.3rem;
} }
@@ -421,7 +455,8 @@ mark {
.skills-section, .skills-section,
.projects-section, .projects-section,
.recent-posts-section, .recent-posts-section,
.achievements-section { .achievements-section,
.publications-section {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
+2 -3
View File
@@ -37,7 +37,6 @@ body {
} }
.toc-holder { .toc-holder {
position: -webkit-sticky;
position: sticky; position: sticky;
top: 4.5rem; top: 4.5rem;
overflow-x: hidden; overflow-x: hidden;
@@ -308,6 +307,8 @@ h6 {
list-style-type: none; list-style-type: none;
display: inline-block; display: inline-block;
background: #248aaa; background: #248aaa;
margin-left: 0.2em;
margin-right: 0.2em;
} }
.taxonomy-terms a { .taxonomy-terms a {
@@ -437,7 +438,6 @@ h6 {
.toc-section { .toc-section {
order: 2; order: 2;
width: 100%; width: 100%;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
max-height: 0; max-height: 0;
@@ -450,7 +450,6 @@ h6 {
position: relative; position: relative;
/* height: fit-content; */ /* height: fit-content; */
flex: 100%; flex: 100%;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
max-height: 200vh; max-height: 200vh;
-1
View File
@@ -167,7 +167,6 @@
/* IPad Pro */ /* IPad Pro */
@media (max-width: 1024px) { @media (max-width: 1024px) {
.top-navbar { .top-navbar {
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
padding-bottom: 0px; padding-bottom: 0px;
-8
View File
@@ -8,7 +8,6 @@
.sidebar-holder { .sidebar-holder {
top: 2.5rem; top: 2.5rem;
position: -webkit-sticky;
position: sticky; position: sticky;
background-color: #f9fafc; background-color: #f9fafc;
height: 100vh; height: 100vh;
@@ -26,7 +25,6 @@
.sidebar-tree { .sidebar-tree {
padding-left: 1rem; padding-left: 1rem;
position: relative; position: relative;
width: -webkit-max-content;
width: -moz-max-content; width: -moz-max-content;
width: max-content; width: max-content;
} }
@@ -192,7 +190,6 @@ a.focused {
transition: all ease-out 0.3s; transition: all ease-out 0.3s;
} }
.sidebar-holder { .sidebar-holder {
position: -webkit-sticky;
position: sticky; position: sticky;
top: 2.5rem; top: 2.5rem;
width: 100%; width: 100%;
@@ -222,7 +219,6 @@ a.focused {
transition: all ease-out 0.3s; transition: all ease-out 0.3s;
} }
.sidebar-holder { .sidebar-holder {
position: -webkit-sticky;
position: sticky; position: sticky;
top: 2.5rem; top: 2.5rem;
width: 100%; width: 100%;
@@ -250,7 +246,6 @@ a.focused {
.sidebar-section.hide { .sidebar-section.hide {
margin-top: 2rem; margin-top: 2rem;
position: relative; position: relative;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
flex: none; flex: none;
@@ -261,7 +256,6 @@ a.focused {
.sidebar-holder { .sidebar-holder {
max-height: 0; max-height: 0;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
overflow: hidden; overflow: hidden;
@@ -276,10 +270,8 @@ a.focused {
.sidebar { .sidebar {
position: relative; position: relative;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
max-height: -webkit-fit-content;
max-height: -moz-fit-content; max-height: -moz-fit-content;
max-height: fit-content; max-height: fit-content;
width: 100vw; width: 100vw;
+1 -156
View File
@@ -76,13 +76,13 @@
border-bottom-left-radius: 80px; border-bottom-left-radius: 80px;
border-right: 0; border-right: 0;
transform-origin: center right; transform-origin: center right;
-webkit-animation: circular-loading-1 1.8s linear forwards;
animation: circular-loading-1 1.8s linear forwards; animation: circular-loading-1 1.8s linear forwards;
} }
.circular-progress .circular-progress-value { .circular-progress .circular-progress-value {
width: 90%; width: 90%;
height: 90%; height: 90%;
padding: 1rem;
border-radius: 50%; border-radius: 50%;
background: #3c4858; background: #3c4858;
font-size: 1rem; font-size: 1rem;
@@ -122,69 +122,49 @@
} }
.circular-progress-percentage-50 { .circular-progress-percentage-50 {
-webkit-animation: circular-loading-50 0s linear forwards 1.8s;
animation: circular-loading-50 0s linear forwards 1.8s; animation: circular-loading-50 0s linear forwards 1.8s;
} }
.circular-progress-percentage-55 { .circular-progress-percentage-55 {
-webkit-animation: circular-loading-55 0.18s linear forwards 1.8s;
animation: circular-loading-55 0.18s linear forwards 1.8s; animation: circular-loading-55 0.18s linear forwards 1.8s;
} }
.circular-progress-percentage-60 { .circular-progress-percentage-60 {
-webkit-animation: circular-loading-60 0.36s linear forwards 1.8s;
animation: circular-loading-60 0.36s linear forwards 1.8s; animation: circular-loading-60 0.36s linear forwards 1.8s;
} }
.circular-progress-percentage-65 { .circular-progress-percentage-65 {
-webkit-animation: circular-loading-65 0.54s linear forwards 1.8s;
animation: circular-loading-65 0.54s linear forwards 1.8s; animation: circular-loading-65 0.54s linear forwards 1.8s;
} }
.circular-progress-percentage-70 { .circular-progress-percentage-70 {
-webkit-animation: circular-loading-70 0.72s linear forwards 1.8s;
animation: circular-loading-70 0.72s linear forwards 1.8s; animation: circular-loading-70 0.72s linear forwards 1.8s;
} }
.circular-progress-percentage-75 { .circular-progress-percentage-75 {
-webkit-animation: circular-loading-75 0.9s linear forwards 1.8s;
animation: circular-loading-75 0.9s linear forwards 1.8s; animation: circular-loading-75 0.9s linear forwards 1.8s;
} }
.circular-progress-percentage-80 { .circular-progress-percentage-80 {
-webkit-animation: circular-loading-80 1.08s linear forwards 1.8s;
animation: circular-loading-80 1.08s linear forwards 1.8s; animation: circular-loading-80 1.08s linear forwards 1.8s;
} }
.circular-progress-percentage-85 { .circular-progress-percentage-85 {
-webkit-animation: circular-loading-85 1.26s linear forwards 1.8s;
animation: circular-loading-85 1.26s linear forwards 1.8s; animation: circular-loading-85 1.26s linear forwards 1.8s;
} }
.circular-progress-percentage-90 { .circular-progress-percentage-90 {
-webkit-animation: circular-loading-90 1.44s linear forwards 1.8s;
animation: circular-loading-90 1.44s linear forwards 1.8s; animation: circular-loading-90 1.44s linear forwards 1.8s;
} }
.circular-progress-percentage-95 { .circular-progress-percentage-95 {
-webkit-animation: circular-loading-95 1.62s linear forwards 1.8s;
animation: circular-loading-95 1.62s linear forwards 1.8s; animation: circular-loading-95 1.62s linear forwards 1.8s;
} }
.circular-progress-percentage-100 { .circular-progress-percentage-100 {
-webkit-animation: circular-loading-100 1.8s linear forwards 1.8s;
animation: circular-loading-100 1.8s linear forwards 1.8s; animation: circular-loading-100 1.8s linear forwards 1.8s;
} }
@-webkit-keyframes circular-loading-50 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(0deg);
}
}
@keyframes circular-loading-50 { @keyframes circular-loading-50 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -194,15 +174,6 @@
} }
} }
@-webkit-keyframes circular-loading-55 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(18deg);
}
}
@keyframes circular-loading-55 { @keyframes circular-loading-55 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -212,15 +183,6 @@
} }
} }
@-webkit-keyframes circular-loading-60 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(36deg);
}
}
@keyframes circular-loading-60 { @keyframes circular-loading-60 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -230,15 +192,6 @@
} }
} }
@-webkit-keyframes circular-loading-65 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(54deg);
}
}
@keyframes circular-loading-65 { @keyframes circular-loading-65 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -248,15 +201,6 @@
} }
} }
@-webkit-keyframes circular-loading-70 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(72deg);
}
}
@keyframes circular-loading-70 { @keyframes circular-loading-70 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -266,15 +210,6 @@
} }
} }
@-webkit-keyframes circular-loading-75 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(90deg);
}
}
@keyframes circular-loading-75 { @keyframes circular-loading-75 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -284,15 +219,6 @@
} }
} }
@-webkit-keyframes circular-loading-80 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(108deg);
}
}
@keyframes circular-loading-80 { @keyframes circular-loading-80 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -302,15 +228,6 @@
} }
} }
@-webkit-keyframes circular-loading-85 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(126deg);
}
}
@keyframes circular-loading-85 { @keyframes circular-loading-85 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -320,15 +237,6 @@
} }
} }
@-webkit-keyframes circular-loading-90 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(144deg);
}
}
@keyframes circular-loading-90 { @keyframes circular-loading-90 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -338,15 +246,6 @@
} }
} }
@-webkit-keyframes circular-loading-95 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(162deg);
}
}
@keyframes circular-loading-95 { @keyframes circular-loading-95 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -356,15 +255,6 @@
} }
} }
@-webkit-keyframes circular-loading-100 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(180deg);
}
}
@keyframes circular-loading-100 { @keyframes circular-loading-100 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -374,15 +264,6 @@
} }
} }
@-webkit-keyframes circular-loading-1 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(180deg);
}
}
@keyframes circular-loading-1 { @keyframes circular-loading-1 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -392,15 +273,6 @@
} }
} }
@-webkit-keyframes circular-loading-2 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(144deg);
}
}
@keyframes circular-loading-2 { @keyframes circular-loading-2 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -410,15 +282,6 @@
} }
} }
@-webkit-keyframes circular-loading-3 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(90deg);
}
}
@keyframes circular-loading-3 { @keyframes circular-loading-3 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -428,15 +291,6 @@
} }
} }
@-webkit-keyframes circular-loading-4 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(36deg);
}
}
@keyframes circular-loading-4 { @keyframes circular-loading-4 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
@@ -446,15 +300,6 @@
} }
} }
@-webkit-keyframes circular-loading-5 {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(126deg);
}
}
@keyframes circular-loading-5 { @keyframes circular-loading-5 {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);
+1 -18
View File
@@ -19,7 +19,7 @@
} }
/* /*
Resolves https://github.com/hossainemruz/toha/issues/70 Resolves https://github.com/hugo-toha/toha/issues/70
fixed attached images use the whole <body> size. On mobile this can get really fixed attached images use the whole <body> size. On mobile this can get really
tall which blows your image out. Setting the attachment back to scroll allows tall which blows your image out. Setting the attachment back to scroll allows
@@ -66,26 +66,9 @@
} }
.bounce { .bounce {
-webkit-animation: bounce 2s infinite;
animation: bounce 2s infinite; animation: bounce 2s infinite;
} }
@-webkit-keyframes bounce {
0%,
20%,
50%,
80%,
100% {
transform: translateY(0);
}
40% {
transform: translateY(-30px);
}
60% {
transform: translateY(-15px);
}
}
@keyframes bounce { @keyframes bounce {
0%, 0%,
20%, 20%,
+147
View File
@@ -0,0 +1,147 @@
.publications-section h1 > span{
margin-top: -55px; /* Size of fixed header */
padding-bottom:55px;
display: block;
}
.publications-section .card {
background: #fff;
border-top: 2px solid #248aaa;
}
.publications-section .card .card-header {
background: none;
border: none;
display: flex;
flex-direction: column;
}
.publications-section .card .card-header .sub-title {
color: #8392a5;
margin-top: 0.4rem;
}
.publications-section .card .sub-title :nth-child(2) {
float: right !important;
}
.publications-section .card .card-body {
padding: 0;
padding-left: 1rem;
padding-right: 1rem;
}
.publications-section .card .card-footer {
background: #fff;
border: none;
padding: 0;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 0.3rem;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.publications-section .card .card-footer .tags {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
}
.publications-section .card .card-footer .tags .badge {
cursor: auto;
}
.filtr-publications {
padding: 1rem !important;
}
.publications-section .btn-group{
justify-content: center;
}
/* ============= Device specific fixes ======= */
/* Large screens such as TV */
@media only screen and (min-width: 1824px) {
}
/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1400px) {
}
@media (max-width: 1200px) {
}
/* IPad Pro */
@media (max-width: 1024px) {
.publications-section {
padding-left: 0;
padding-right: 0;
width: 100%;
}
.publications-section .container {
max-width: 100%;
}
.publicationss-section .filtr-publications {
padding: 0;
}
.publicationss-section .pub-filtr-item {
padding-left: 0.2rem;
padding-right: 0.2rem;
}
}
/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
}
/* Medium devices (tablets, 768px and up) */
@media only screen and (max-width: 768px) {
.publications-section {
padding-left: 0;
padding-right: 0;
width: 100%;
}
.publications-section .container {
max-width: 100%;
}
.publications-section .filtr-publications {
padding: 0;
}
.publications-section .pub-filtr-item {
padding-left: 0.2rem;
padding-right: 0.2rem;
flex: 100%;
}
}
/* Small devices (landscape phones, 576px and up) */
@media only screen and (max-width: 576px) {
.publications-section .btn {
margin-top: 0.3125rem;
}
.publications-section .pub-filtr-item {
flex: 100%;
max-width: 100%;
}
.publications-section .card .card-footer .tags {
flex: 100%;
}
}
/* iPhoneX, iPhone 6,7,8 */
@media only screen and (max-width: 375px) {
}
/* Galaxy S5, Moto G4 */
@media only screen and (max-width: 360px) {
}
/* iPhone 5 or before */
@media only screen and (max-width: 320px) {
}
-1
View File
@@ -1,6 +1,5 @@
.skills-section .card .card-head { .skills-section .card .card-head {
background-color: #f9fafc; background-color: #f9fafc;
height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
height: fit-content; height: fit-content;
padding: 0.7rem; padding: 0.7rem;
+93
View File
@@ -0,0 +1,93 @@
Copyright 2016 The Mulish Project Authors (https://github.com/googlefonts/mulish)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
+79
View File
@@ -0,0 +1,79 @@
Mulish Variable Font
====================
This download contains Mulish as both variable fonts and static fonts.
Mulish is a variable font with this axis:
wght
This means all the styles are contained in these files:
Mulish-VariableFont_wght.ttf
Mulish-Italic-VariableFont_wght.ttf
If your app fully supports variable fonts, you can now pick intermediate styles
that arent available as static fonts. Not all apps support variable fonts, and
in those cases you can use the static font files for Mulish:
static/Mulish-ExtraLight.ttf
static/Mulish-Light.ttf
static/Mulish-Regular.ttf
static/Mulish-Medium.ttf
static/Mulish-SemiBold.ttf
static/Mulish-Bold.ttf
static/Mulish-ExtraBold.ttf
static/Mulish-Black.ttf
static/Mulish-ExtraLightItalic.ttf
static/Mulish-LightItalic.ttf
static/Mulish-Italic.ttf
static/Mulish-MediumItalic.ttf
static/Mulish-SemiBoldItalic.ttf
static/Mulish-BoldItalic.ttf
static/Mulish-ExtraBoldItalic.ttf
static/Mulish-BlackItalic.ttf
Get started
-----------
1. Install the font files you want to use
2. Use your app's font picker to view the font family and all the
available styles
Learn more about variable fonts
-------------------------------
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
https://variablefonts.typenetwork.com
https://medium.com/variable-fonts
In desktop apps
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
Online
https://developers.google.com/fonts/docs/getting_started
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
Installing fonts
MacOS: https://support.apple.com/en-us/HT201749
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
Android Apps
https://developers.google.com/fonts/docs/android
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
License
-------
Please read the full license text (OFL.txt) to understand the permissions,
restrictions and requirements for usage, redistribution, and modification.
You can use them in your products & projects print or digital,
commercial or otherwise.
This isn't legal advice, please consider consulting a lawyer and see the full
license for all details.
+96
View File
@@ -0,0 +1,96 @@
/* vietnamese */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 300;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 300;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 300;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 400;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 500;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 500;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 500;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 600;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 600;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Muli';
font-style: normal;
font-weight: 600;
src: url(/google-fonts/Mulish/Mulish-VariableFont_wght.ttf) format('truetype');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+17 -2
View File
@@ -1,6 +1,6 @@
"use strict"; "use strict";
var projectCards; var projectCards, publicationCards;
(function ($) { (function ($) {
jQuery(document).ready(function () { jQuery(document).ready(function () {
@@ -79,7 +79,22 @@ var projectCards;
var projectCardHolder = document.getElementById("project-card-holder"); var projectCardHolder = document.getElementById("project-card-holder");
if (projectCardHolder != null && projectCardHolder.children.length != 0) { if (projectCardHolder != null && projectCardHolder.children.length != 0) {
projectCards = $(".filtr-projects").filterizr({ layout: 'sameWidth' }); projectCards = $(".filtr-projects").filterizr(
{
layout: 'sameWidth',
controlsSelector: '.project-filtr-control',
});
}
// ================== Publication cards =====================
var publicationCardHolder = document.getElementById("publication-card-holder");
if (publicationCardHolder != null && publicationCardHolder.children.length != 0) {
publicationCards = $(".filtr-publications").filterizr(
{
layout: 'sameWidth',
gridItemsSelector: '.pub-filtr-item',
controlsSelector: '.pub-filtr-control',
});
} }
function showGithubStars() { function showGithubStars() {