Skip to content
Snippets Groups Projects
Commit 849023c4 authored by OndraRehounek's avatar OndraRehounek
Browse files

main: minor css trims

parent 137c01b7
No related branches found
No related tags found
2 merge requests!642Release,!641Feature/misc updates and fixes main
Pipeline #10168 passed
...@@ -3040,7 +3040,7 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s ...@@ -3040,7 +3040,7 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s
display: block; display: block;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
min-width: 150px; min-width: 200px;
} }
.footer-collapsible__toggle{ .footer-collapsible__toggle{
...@@ -3536,6 +3536,10 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s ...@@ -3536,6 +3536,10 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s
margin-top: 6rem; margin-top: 6rem;
} }
.mb-0{
margin-bottom: 0px;
}
.mt-16{ .mt-16{
margin-top: 4rem; margin-top: 4rem;
} }
...@@ -3604,10 +3608,6 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s ...@@ -3604,10 +3608,6 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s
height: 15rem; height: 15rem;
} }
.h-12{
height: 3rem;
}
.h-fit{ .h-fit{
height: -webkit-fit-content; height: -webkit-fit-content;
height: -moz-fit-content; height: -moz-fit-content;
...@@ -3903,10 +3903,6 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s ...@@ -3903,10 +3903,6 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s
padding: 1.75rem; padding: 1.75rem;
} }
.p-3{
padding: 0.75rem;
}
.px-1{ .px-1{
padding-left: 0.25rem; padding-left: 0.25rem;
padding-right: 0.25rem; padding-right: 0.25rem;
...@@ -3977,6 +3973,10 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s ...@@ -3977,6 +3973,10 @@ div.twitter-carousel .slick-arrow.slick-disabled:before, div.twitter-carousel .s
padding-top: 1rem; padding-top: 1rem;
} }
.pl-3{
padding-left: 0.75rem;
}
.pt-20{ .pt-20{
padding-top: 5rem; padding-top: 5rem;
} }
...@@ -4539,6 +4539,10 @@ a.icon-link:hover span{ ...@@ -4539,6 +4539,10 @@ a.icon-link:hover span{
margin-bottom: 0px; margin-bottom: 0px;
} }
.sm\:mr-0{
margin-right: 0px;
}
.sm\:mb-2{ .sm\:mb-2{
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
} }
...@@ -4571,6 +4575,10 @@ a.icon-link:hover span{ ...@@ -4571,6 +4575,10 @@ a.icon-link:hover span{
flex-direction: column; flex-direction: column;
} }
.sm\:items-center{
align-items: center;
}
.sm\:pt-0{ .sm\:pt-0{
padding-top: 0px; padding-top: 0px;
} }
...@@ -4579,6 +4587,10 @@ a.icon-link:hover span{ ...@@ -4579,6 +4587,10 @@ a.icon-link:hover span{
padding-right: 0px; padding-right: 0px;
} }
.sm\:text-center{
text-align: center;
}
.sm\:text-3xl{ .sm\:text-3xl{
font-size: 1.875rem; font-size: 1.875rem;
} }
......
<a href="#" class="mb-5 p-4 w-full flex flex-col items-center justify-between text-center border border-grey-100 sm:mb-0 hover:no-underline"> <a href="#" class="mb-5 p-4 w-full flex flex-col items-center justify-between text-center border border-grey-100 sm:mb-0 hover:no-underline">
<div> <div>
<div class="flex flex-row sm:flex-col items-center"> <div class="flex flex-row sm:flex-col items-start sm:items-center">
<img class="rounded-full shadow-sm w-12 h-12 mb-4 sm:mb-2" src="https://randomuser.me/api/portraits/women/56.jpg" <img
alt="user image"/> class="rounded-full shadow-sm w-12 mr-2 sm:mr-0 mb-0 sm:mb-2"
src="https://randomuser.me/api/portraits/women/56.jpg"
alt="user image"
/>
<div class="flex flex-col sm:flex-col"> <div class="flex flex-col sm:flex-col">
<h5 class="font-alt text-xl mb-2 sm:text-base">Tomáš Marný</h5> <h5 class="font-alt text-xl mb-2 sm:text-base text-left sm:text-center">
<small class="mb-4 text-turquoise-400">@pirat.tomas.marny</small> Tomáš Marný
</h5>
<small class="mb-4 text-turquoise-400 text-left sm:text-center">
@pirat.tomas.marny
</small>
</div> </div>
</div> </div>
<p class="text-small sm:text-base leading-6 mb-2"> <p class="text-small sm:text-base leading-6 mb-2">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
class="main-menu grid-content-with-right-side grid justify-between items-center shadow-2xl xl:shadow-none xl:py-6"> class="main-menu grid-content-with-right-side grid justify-between items-center shadow-2xl xl:shadow-none xl:py-6">
<!-- Hamburger Icon --> <!-- Hamburger Icon -->
<input class="hidden" type="checkbox" id="menuToggle"/> <input class="hidden" type="checkbox" id="menuToggle"/>
<label class="p-3 z-50 hamb mr-3 text-white col-start-2 xl:mr-0 xl:hidden" for="menuToggle"> <label class="pl-3 py-3 z-50 hamb mr-1 mr-sm-3 text-white col-start-2 xl:mr-0 xl:hidden" for="menuToggle">
<span class="container"> <span class="container">
<span class="bar1"></span> <span class="bar1"></span>
<span class="bar2"></span> <span class="bar2"></span>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
display: block; display: block;
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
min-width: 150px; min-width: 200px;
} }
} }
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="main-menu grid-content-with-right-side grid justify-between items-center shadow-2xl xl:shadow-none xl:py-6"> <div class="main-menu grid-content-with-right-side grid justify-between items-center shadow-2xl xl:shadow-none xl:py-6">
<!-- Hamburger Icon --> <!-- Hamburger Icon -->
<input class="hidden" type="checkbox" id="menuToggle"/> <input class="hidden" type="checkbox" id="menuToggle"/>
<label class="p-3 z-50 hamb mr-3 text-white col-start-2 xl:mr-0 xl:hidden" for="menuToggle"> <label class="pl-3 py-3 z-50 hamb mr-sm-3 text-white col-start-2 xl:mr-0 xl:hidden" for="menuToggle">
<span class="container"> <span class="container">
<span class="bar1"></span> <span class="bar1"></span>
<span class="bar2"></span> <span class="bar2"></span>
......
...@@ -6,17 +6,17 @@ ...@@ -6,17 +6,17 @@
class="mb-5 p-4 w-full flex flex-col items-center justify-between text-center border border-grey-100 sm:mb-0 hover:no-underline" class="mb-5 p-4 w-full flex flex-col items-center justify-between text-center border border-grey-100 sm:mb-0 hover:no-underline"
> >
<div> <div>
<div class="flex flex-row sm:flex-col items-center"> <div class="flex flex-row sm:flex-col items-start sm:items-center">
<img <img
class="rounded-full shadow-sm w-12 mb-2" class="rounded-full shadow-sm w-12 mr-2 sm:mr-0 mb-0 sm:mb-2"
src="{{ tweet.author_img_url }}" src="{{ tweet.author_img_url }}"
alt="user image" alt="user image"
/> />
<div class="flex flex-col sm:flex-col"> <div class="flex flex-col sm:flex-col">
<h5 class="font-alt text-xl mb-2 sm:text-base"> <h5 class="font-alt text-xl mb-2 sm:text-base text-left sm:text-center">
{{ tweet.author_name }} {{ tweet.author_name }}
</h5> </h5>
<small class="mb-4 text-turquoise-400"> <small class="mb-4 text-turquoise-400 text-left sm:text-center">
{{ tweet.author_username }} {{ tweet.author_username }}
</small> </small>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment