Browse Source

More styles

imwald
Nuša Pukšič 3 months ago
parent
commit
d4e73cf690
  1. 8
      assets/styles/03-components/button.css
  2. 6
      assets/styles/03-components/nip05-badge.css
  3. 4
      templates/components/UserMenu.html.twig
  4. 1
      templates/event/index.html.twig
  5. 3
      templates/layout.html.twig
  6. 2
      templates/pages/editor.html.twig
  7. 11
      templates/static/unfold.html.twig

8
assets/styles/03-components/button.css

@ -46,13 +46,15 @@ a.btn, a.btn:hover, a.btn:active { @@ -46,13 +46,15 @@ a.btn, a.btn:hover, a.btn:active {
}
.btn.btn-secondary {
color: var(--color-secondary);
background-color: var(--color-secondary);
border: 2px solid var(--color-bg);
color: var(--color-text);
background-color: transparent;
border: 2px solid var(--color-secondary);
text-decoration: none;
}
.btn.btn-secondary:hover {
background-color: var(--color-secondary);
color: var(--color-text-contrast);
border: 2px solid var(--color-secondary);
text-decoration: none;
}

6
assets/styles/03-components/nip05-badge.css

@ -21,9 +21,3 @@ @@ -21,9 +21,3 @@
white-space: nowrap;
}
@media (max-width: 640px) {
.nip05-identifier {
max-width: 150px;
}
}

4
templates/components/UserMenu.html.twig

@ -11,9 +11,7 @@ @@ -11,9 +11,7 @@
</ul>
{% endif %}
<ul class="user-nav">
<li>
<a href="{{ path('editor-create') }}">Write Article</a>
</li>
{# <li>#}
{# <a href="{{ path('reading_list_index') }}">Compose List</a>#}
{# </li>#}

1
templates/event/index.html.twig

@ -257,6 +257,7 @@ @@ -257,6 +257,7 @@
.source-label {
font-weight: 600;
color: #495057;
flex-shrink: 0;
}
.source-link {

3
templates/layout.html.twig

@ -11,6 +11,9 @@ @@ -11,6 +11,9 @@
<li>
<a href="{{ path('newsstand') }}">Newsstand</a>
</li>
<li>
<a href="{{ path('editor-create') }}">Write Article</a>
</li>
{# <li>#}
{# <a href="{{ path('lists') }}">Lists</a>#}
{# </li>#}

2
templates/pages/editor.html.twig

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
<div class="w-container">
{% if not is_granted('ROLE_USER') %}
<div class="notice info">
<p>Log in is required to post articles.</p>
<p>Login is required to post articles.</p>
</div>
{% endif %}
<div {{ stimulus_controller('nostr-publish', {

11
templates/static/unfold.html.twig

@ -53,5 +53,16 @@ @@ -53,5 +53,16 @@
</div>
</section>
<section class="d-flex gap-3 center">
<div class="container mt-5">
<h1>Newsstand</h1>
<p class="eyebrow">for the digital age</p>
</div>
<div class="mb-5">
<div class="cta-row">
<a class="btn btn--primary" href="{{ path('newsstand') }}">Browse Magazines</a>
</div>
</div>
</section>
{% endblock %}

Loading…
Cancel
Save