redesign with shadows

This commit is contained in:
Dmitry Belyaev 2019-08-22 15:18:38 +03:00
parent 987593a48d
commit 39fdf46037
Signed by: b4tman
GPG Key ID: 41A00BF15EA7E5F3
3 changed files with 11 additions and 15 deletions

View File

@ -6,20 +6,17 @@
<!-- <h1>{{ id }}</h1> --> <!-- <h1>{{ id }}</h1> -->
<div class="content-block"> <div class="content-block">
<div id="question" class="content-block-inner"> <div id="question" class="content-block-inner">
<p><font color="#544669"> <p>
<h4> {{ description }} </h4> <h4 class="text-muted"> {{ description }} </h4>
</font>
</p> </p>
</div> </div>
</div><br /> </div><br />
<div class="content-block"> <div class="content-block">
<div id="answer" class="content-block-inner"> <div id="answer" class="content-block-inner">
<hr/> <div class="mt-2 px-2 py-1 shadow rounded">
<p> <!-- <h2> Ответ: </h2> -->
<!-- <h2> Ответ: </h2> --> <h1 class="display-4 d-flex justify-content-center text-center">{{ answer }}</h1>
<h1 class="d-flex justify-content-center text-center">{{ answer }}</h1> </div><br><br/><details>
</p>
<hr/><br><br/><details>
<div id="details"> <div id="details">
{% if comment | length or comment1 | length %} {% if comment | length or comment1 | length %}
<p><span>Комментарии:</span> <p><span>Комментарии:</span>

View File

@ -8,20 +8,19 @@
<title>{% block title %}{% endblock title %}</title> <title>{% block title %}{% endblock title %}</title>
</head> </head>
<body> <body>
<header> <header class="shadow-sm rounded-bottom">
<nav class="navbar navbar-expand-sm container sticky-top navbar-light justify-content-center"> <nav class="navbar navbar-expand-sm container sticky-top navbar-light justify-content-center">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
{% include "nav" %} {% include "nav" %}
{% block nav %}{% endblock nav %} {% block nav %}{% endblock nav %}
</ul> </ul>
</nav><hr/> </nav>
</header> </header>
<article class="mb-5 pb-5"> <article class="mb-5 pb-5">
<div id="content" class="container">{% block content %}{% endblock content %}</div> <div id="content" class="container">{% block content %}{% endblock content %}</div>
</article> </article>
<footer class="footer fixed-bottom"> <footer class="footer fixed-bottom shadow-lg rounded-top">
<hr/> <p class="my-0 py-0 text-secondary">Источник: <a class="text-secondary" href="https://db.chgk.info/">db.chgk.info</a></p>
<p class="text-secondary">Источник: <a class="text-secondary" href="https://db.chgk.info/">db.chgk.info</a></p>
</footer> </footer>
<!-- Yandex.Metrika counter --> <script type="text/javascript" > (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter48214757 = new Ya.Metrika2({ id:48214757, clickmap:true, trackLinks:true, accurateTrackBounce:true, trackHash:true, ut:"noindex" }); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = "https://mc.yandex.ru/metrika/tag.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks2"); </script> <noscript><div><img src="https://mc.yandex.ru/watch/48214757?ut=noindex" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> <!-- Yandex.Metrika counter --> <script type="text/javascript" > (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter48214757 = new Ya.Metrika2({ id:48214757, clickmap:true, trackLinks:true, accurateTrackBounce:true, trackHash:true, ut:"noindex" }); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = "https://mc.yandex.ru/metrika/tag.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks2"); </script> <noscript><div><img src="https://mc.yandex.ru/watch/48214757?ut=noindex" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter -->
</body> </body>

View File

@ -13,7 +13,7 @@
<br/> <br/>
<br/><details> <br/><details>
<summary>Ответ</summary><br/> <summary>Ответ</summary><br/>
<a class="btn btn-dark" href="/q/{{ num }}/a/">Показать ответ</a> <a class="btn btn-dark shadow" href="/q/{{ num }}/a/">Показать ответ</a>
</details> </details>
{% endblock content %} {% endblock content %}