Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
website
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sébastien Villemot
website
Commits
0318f702
Commit
0318f702
authored
Oct 18, 2018
by
Houtan Bastani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rework positioning of logo on home page
parent
edf09158
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
5 deletions
+40
-5
_sass/dynare.scss
_sass/dynare.scss
+34
-0
index.md
index.md
+6
-5
No files found.
_sass/dynare.scss
View file @
0318f702
...
...
@@ -485,3 +485,37 @@ ul.resources {
margin
:
0px
0px
0px
0px
!
important
;
padding
:
0px
0px
0px
0px
!
important
;
}
.dynare_home_page_image_container
{
position
:
relative
;
text-align
:
center
;
}
.dynare_home_page_slogan
{
position
:
absolute
;
top
:
93%
;
left
:
51%
;
transform
:
translate
(
-50%
,
-50%
);
white-space
:
nowrap
;
font-weight
:
700
;
margin
:
auto
;
}
@media
screen
and
(
min-width
:
400px
)
{
.dynare_home_page_slogan
{
font-size
:
20px
;
}
}
@media
screen
and
(
max-width
:
300px
)
{
.dynare_home_page_slogan
{
font-size
:
15px
;
}
}
@media
screen
and
(
max-width
:
200px
)
{
.dynare_home_page_slogan
{
font-size
:
10px
;
}
}
index.md
View file @
0318f702
...
...
@@ -6,12 +6,13 @@ feature_row:
btn_label
:
"
Download"
btn_class
:
"
btn--inverse"
---
<br><img
src=
"/assets/images/logo/dbkgd.png"
alt=
"Dynare logo"
width=
"150"
/>
{: .text-center}
The macroeconomic modeling solution
{: .text-center}
<br
/>
<div
class=
"dynare_home_page_image_container"
>
<img
src=
"/assets/images/logo/dbkgd.png"
alt=
"Dynare"
style=
"width:400px;"
>
<div
class=
"dynare_home_page_slogan"
>
The macroeconomic modeling solution
</div>
</div>
<br
/>
<a
href=
"download"
class=
"home_page_button"
>
Download v{{ site.dynare_stable_version }}
</a>
<a
href=
"http://www.dynare.org/manual/"
class=
"home_page_button"
>
Documentation
</a>
{: .text-center}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment