Commit 71713ae4 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

redo positioning of image on home page

parent 0c1ae806
......@@ -507,34 +507,39 @@ ul.resources {
.dynare_home_page_image_container {
position: relative;
text-align: center;
background-image: url(/assets/images/logo/dbkgd.png);
background-repeat: no-repeat;
background-size: 400px;
width: 400px;
height: 174px;
margin: auto;
}
.dynare_home_page_slogan {
position: absolute;
padding-left: 14px;
position: relative;
top: 93%;
left: 51%;
transform: translate(-50%, -50%);
white-space: nowrap;
font-weight: 700;
font-weight: 500;
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: 500px) {
.dynare_home_page_image_container {
background-size: 250px;
width: 250px;
height: 109px;
flex: 100%;
}
}
@media screen and (max-width: 200px) {
.dynare_home_page_slogan {
font-size: 10px;
.dynare_home_page_image_container {
background-size: 175px;
width: 175px;
height: 125px;
flex: 100%;
}
}
......@@ -155,9 +155,9 @@
\begin{document}
\begin{tikzpicture}
\tikzset{
shadowed/.style={preaction={transform canvas={shift={(-.9pt,-.9pt)}},draw=black!25,ultra thick,shade path={left color=black!25, right color=black!0}}},
shadowed/.style={preaction={transform canvas={shift={(-.9pt,-.9pt)}},draw=black!25,ultra thick,shade path={left color=black!25, right color=black!0}, line cap=round}},
}
% irf
\draw [draw=transparent!1, ultra thick, dynareirf, shade path={left color=dynareirf!200, right color=dynareirf!0}, shadowed] plot [smooth] coordinates {(-.47,-.6) (0.19,0.55) (.7,-.4) (.94,-.21) (1.17,-.38) (1.38,-.29) (1.58,-.36) (1.78,-.31) (1.98,-.34) (2.18,-.32) (2.36,-.33)};
\draw [draw=transparent!1, line cap=round, ultra thick, dynareirf, shade path={left color=dynareirf!200, right color=dynareirf!0}, shadowed] plot [smooth] coordinates {(-.47,-.6) (0.19,0.55) (.7,-.4) (.94,-.21) (1.17,-.38) (1.38,-.29) (1.58,-.36) (1.78,-.31) (1.98,-.34) (2.18,-.32) (2.36,-.33)};
\end{tikzpicture}
\end{document}
......@@ -9,7 +9,6 @@ feature_row:
<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 />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment