Skip to content

Commit

Permalink
Use links-without-underline
Browse files Browse the repository at this point in the history
  • Loading branch information
hamoid committed Jun 3, 2024
1 parent 0cae274 commit c41ce4b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<svg class="w-6 h-6" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" stroke="currentColor" viewBox="0 0 24 24"><path d="M4 6h16M4 12h16M4 18h16"></path></svg>
</div>
<!-- <div class="hidden block sm:flex sm:flex-row sm:space-x-12" id="menu"> -->
<div class="hidden sm:flex" id="menu">
<div class="hidden sm:flex links-without-underline" id="menu">
<ul class="sm:flex sm:flex-row sm:space-x-12 list-none">
<li><a href="/events/">events</a></li>
<li><a href="/people/">people</a></li>
Expand Down
16 changes: 12 additions & 4 deletions assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -855,10 +855,6 @@ video {
text-align: center;
}

.text-justify{
text-align: justify;
}

.text-end{
text-align: end;
}
Expand Down Expand Up @@ -900,6 +896,14 @@ video {
color: rgb(255 255 255 / var(--tw-text-opacity));
}

a {
text-decoration: underline;
}

div.links-without-underline a {
text-decoration: none;
}

h1{
text-align: center;
font-family: Outfit;
Expand Down Expand Up @@ -1018,6 +1022,10 @@ figcaption {
width: 650px;
}

.md\:w-\[760px\]{
width: 760px;
}

.md\:columns-2{
-moz-columns: 2;
columns: 2;
Expand Down
6 changes: 3 additions & 3 deletions events.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1>{{ page.title }}</h1>

<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-4 mx-8">
{% for event in site.posts %}
<div class="w-full max-w-64 lg:w-64">
<div class="w-full max-w-64 lg:w-64 links-without-underline">
<a href="{{ event.url }}" class="flex flex-col">
<div class="font-bold font-prachtsaal">{{ event.date | date: "%d.%m.%Y" }}</div>
{% if event.main_image %}
Expand All @@ -41,7 +41,7 @@ <h1>{{ page.portfolio_title }}</h1>

<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-4 mx-8 mb-14">
{% for event in site.posts %}
<div class="w-full max-w-64 lg:w-64">
<div class="w-full max-w-64 lg:w-64 links-without-underline">
<span class="font-bold">{{ event.date | date: "%d.%m.%y" }}</span><br>
<a href="{{ event.url }}">
{% if event.main_image %}
Expand All @@ -54,4 +54,4 @@ <h1>{{ page.portfolio_title }}</h1>
{% endfor %}
</div>
</div>
</div>
</div>
8 changes: 4 additions & 4 deletions people.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>{{ page.title }}</h1>

<div class="flex justify-center mb-28">

<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-1 mx-8">
<div class="grid sm:grid-cols-2 lg:grid-cols-3 gap-1 mx-8 links-without-underline">
{% for member in site.people %}
<div class="w-full max-w-64 lg:w-64">
<!-- {% if member.content %}
Expand All @@ -23,7 +23,7 @@ <h1>{{ page.title }}</h1>
<span class="font-prachtsaal font-bold text-lg">{{ member.full_name }}</span><br />
<span class="font-prachtsaal">{{ member.description }}</span>
{% if member.content or member.website %}
</a>
<!-- </a> -->
{% endif %}
</div>
{% endfor %}
Expand All @@ -36,7 +36,7 @@ <h1 class="min-[460px]:mx-8 mb-28">
</h1>

<div class="flex justify-center mb-28">
<div class="grid sm:grid-cols-3 lg:grid-cols-4 gap-8 mx-8">
<div class="grid sm:grid-cols-3 lg:grid-cols-4 gap-8 mx-8 links-without-underline">
{% for org in site.data.communities %}
<div class="w-full max-w-32 lg:w-32">
<a href="{{ org.website }}" target="_blank">
Expand All @@ -53,4 +53,4 @@ <h1 class="min-[460px]:mx-8 mb-28">
{% endfor %}
</div>
</div>


0 comments on commit c41ce4b

Please sign in to comment.