Skip to content
Snippets Groups Projects
Commit 85ed7364 authored by Alexa Valentová's avatar Alexa Valentová
Browse files

unify button styling

parent d6428a5e
No related branches found
No related tags found
1 merge request!29Feat/redesign
Pipeline #19768 passed
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{% if color_classes %} {% if color_classes %}
{{ color_classes }} {{ color_classes }}
{% else %} {% else %}
text-black bg-yellow-500 hover:bg-yellow-600 text-black bg-white hover:bg-pirati-yellow
{% endif %} {% endif %}
px-4 py-2 duration-200 hover:no-underline px-4 py-2 duration-200 hover:no-underline
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{% else %} {% else %}
<div <div
{% endif %} {% endif %}
class="hover:no-underline mb-12 flex gap-3 max-w-4xl" class="hover:no-underline mb-12 flex gap-3"
> >
{% if icon %} {% if icon %}
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<h3 class="font-alt mb-4 text-4xl"> <h3 class="font-alt mb-4 text-4xl">
{{ title }} {{ title }}
</h3> </h3>
<div class="prose [&>div.content-block>p:first-child]:mt-0"> <div class="prose max-w-none [&>div.content-block>p:first-child]:mt-0">
<div class="content-block"> <div class="content-block">
<p> <p>
{{ text }} {{ text }}
......
...@@ -20,7 +20,7 @@ context: ...@@ -20,7 +20,7 @@ context:
name: 'Aktuality' name: 'Aktuality'
url: '#' url: '#'
- -
name: 'Progran' name: 'Program'
url: '#' url: '#'
- -
name: 'Kdo jsme' name: 'Kdo jsme'
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<div class="container--wide flex flex-col mt-20 mb-4 xl:mb-20"> <div class="container--wide flex flex-col mt-20 mb-4 xl:mb-20">
{% if program.perex %} {% if program.perex %}
<div class="mb-12"> <div class="mb-12">
<div class="prose"> <div class="prose max-w-none">
{# BEGIN Cast generovana Majakem #}<div class="content-block"> {# BEGIN Cast generovana Majakem #}<div class="content-block">
<p> <p>
{{ program.perex }} {{ program.perex }}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@apply px-5 text-lg flex justify-between items-center cursor-pointer duration-150 hover:bg-grey-150; @apply px-5 text-lg flex justify-between items-center cursor-pointer duration-150 hover:bg-grey-150;
&.popout__toggle-wrapper--active { &.popout__toggle-wrapper--active {
@apply bg-yellow-500; @apply bg-pirati-yellow;
} }
} }
......
...@@ -11,15 +11,15 @@ ...@@ -11,15 +11,15 @@
} }
.switch__item { .switch__item {
@apply bg-yellow-500 text-black; @apply bg-white text-black;
&:hover { &:hover {
@apply no-underline bg-yellow-600; @apply no-underline bg-pirati-yellow;
} }
&.switch__item--active, &.switch__item--active,
&.switch__item--active:hover { &.switch__item--active:hover {
@apply bg-grey-150; @apply bg-pirati-yellow;
} }
} }
......
...@@ -189,7 +189,7 @@ module.exports = { ...@@ -189,7 +189,7 @@ module.exports = {
'700': '#7d347d', '700': '#7d347d',
}, },
'pirati': { 'pirati': {
'yellow': '#fec900' 'yellow': '#f2c700'
} }
}, },
container: { container: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment