Fix about page icon styles

This commit is contained in:
Andreas Nedbal 2020-05-07 15:09:55 +02:00
parent d607a8790b
commit 633f69c163
3 changed files with 8 additions and 3 deletions

View File

@ -82,6 +82,7 @@
"components/comments", "components/comments",
"components/container", "components/container",
"components/entry", "components/entry",
"components/icons",
"components/inbox-entry", "components/inbox-entry",
"components/jumbotron", "components/jumbotron",
"components/locales", "components/locales",

View File

@ -0,0 +1,4 @@
.icon--showcase {
text-align: center;
font-size: 5rem;
}

View File

@ -13,13 +13,13 @@
%p= t('views.about.links.desc', app_title: APP_CONFIG['site_name']) %p= t('views.about.links.desc', app_title: APP_CONFIG['site_name'])
.col-md-4.col-sm-6 .col-md-4.col-sm-6
%a{href: "https://twitter.com/retrospring"} %a{href: "https://twitter.com/retrospring"}
.icon-showcase .icon--showcase
%i.fa.fa-twitter %i.fa.fa-twitter
%h4.heading-about.text-center %h4.heading-about.text-center
Twitter Twitter
.col-md-4.col-sm-6 .col-md-4.col-sm-6
%a{href: help_faq_path} %a{href: help_faq_path}
.icon-showcase .icon--showcase
%i.fa.fa-question %i.fa.fa-question
%h4.heading-about.text-center %h4.heading-about.text-center
FAQ FAQ
@ -32,7 +32,7 @@
%p= raw t('views.about.opensource.desc', app_title: APP_CONFIG['site_name'], github: link_to(t('views.about.opensource.github'), "https://github.com/Retrospring/retrospring"), bugtracker: link_to(t('views.about.opensource.bugtracker'), "https://github.com/Retrospring/retrospring/issues")) %p= raw t('views.about.opensource.desc', app_title: APP_CONFIG['site_name'], github: link_to(t('views.about.opensource.github'), "https://github.com/Retrospring/retrospring"), bugtracker: link_to(t('views.about.opensource.bugtracker'), "https://github.com/Retrospring/retrospring/issues"))
.col-md-4 .col-md-4
%a{href: "https://github.com/Retrospring/retrospring"} %a{href: "https://github.com/Retrospring/retrospring"}
.icon-showcase .icon--showcase
%i.fa.fa-github %i.fa.fa-github
%h4.heading-about.text-center= t 'views.about.repository.title' %h4.heading-about.text-center= t 'views.about.repository.title'
%p.text-center %p.text-center