desktop header design improvements
This commit is contained in:
		@@ -12,11 +12,11 @@ extra:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% menu() %}
 | 
					{% menu() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##### PURPOSE
 | 
					#### PURPOSE
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% button() %}
 | 
					{% button() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
###### [The Internot](/apage)
 | 
					##### [The Internot](/apage)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Whats wrong with the [internet](/apage)
 | 
					Whats wrong with the [internet](/apage)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -26,7 +26,7 @@ Whats wrong with the [internet](/apage)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% button() %}
 | 
					{% button() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
###### Our Internet
 | 
					##### Our Internet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Vision for the new internet
 | 
					Vision for the new internet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -34,11 +34,11 @@ Vision for the new internet
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
|||
 | 
					|||
 | 
				
			||||||
 | 
					
 | 
				
			||||||
##### ECOSYSTEM
 | 
					#### ECOSYSTEM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% button() %}
 | 
					{% button() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### OurWorld DAO
 | 
					##### OurWorld DAO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Be a part of governance
 | 
					Be a part of governance
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -46,7 +46,7 @@ Be a part of governance
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% button() %}
 | 
					{% button() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Communities
 | 
					##### Communities
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Explore communities in OurWorld
 | 
					Explore communities in OurWorld
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -54,7 +54,7 @@ Explore communities in OurWorld
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% button() %}
 | 
					{% button() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### DAOs
 | 
					##### DAOs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Decentralized autonomous organizations
 | 
					Decentralized autonomous organizations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -62,32 +62,36 @@ Decentralized autonomous organizations
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
|||
 | 
					|||
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### APPLICATIONS
 | 
					#### APPLICATIONS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<br>
 | 
					{% button() %}
 | 
				
			||||||
<br>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### DAPPs
 | 
					##### DAPPs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Decentralized applications
 | 
					Decentralized applications
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<br>
 | 
					{%% end %%}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Projects
 | 
					{% button() %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##### Projects
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Projects in OurWorld
 | 
					Projects in OurWorld
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{%% end %%}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
|||
 | 
					|||
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### FEATURED
 | 
					#### FEATURED
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<br>
 | 
					{% button() %}
 | 
				
			||||||
<br>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### OurWorld is Live
 | 
					##### OurWorld is Live
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Be a part of the new internet
 | 
					Be a part of the new internet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{%% end %%}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% end %}
 | 
					{% end %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- [Join us]("/join-us")
 | 
					- [Join us]("/join-us")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -51,13 +51,13 @@ img[src*="#large"] {
 | 
				
			|||||||
    @apply text-2xl lg:text-4xl font-light;
 | 
					    @apply text-2xl lg:text-4xl font-light;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  h4 {
 | 
					  h4 {
 | 
				
			||||||
    @apply text-lg lg:text-xl font-light;
 | 
					    @apply text-md tracking-widest text-zinc-500 font-semibold;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  h5 {
 | 
					  h5 {
 | 
				
			||||||
    @apply text-base not-italic font-light leading-8;
 | 
					    @apply text-md not-italic font-normal leading-8;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  h6 {
 | 
					  h6 {
 | 
				
			||||||
    @apply text-sm lg:text-sm font-normal;
 | 
					    @apply text-sm lg:text-base font-normal;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  nav p {
 | 
					  nav p {
 | 
				
			||||||
    @apply hidden sm:block md:block lg:block xl:block 2xl:block;
 | 
					    @apply hidden sm:block md:block lg:block xl:block 2xl:block;
 | 
				
			||||||
@@ -73,6 +73,19 @@ img[src*="#large"] {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					button:hover :is(:where(a)) {
 | 
				
			||||||
 | 
					  color: #3b82f6;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					button :is(:where(p)) {
 | 
				
			||||||
 | 
					  color: #3d3b39;
 | 
				
			||||||
 | 
					  font-weight: 400;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					button a {
 | 
				
			||||||
 | 
					  color: black;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
h3 {
 | 
					h3 {
 | 
				
			||||||
  font-size: 1em;
 | 
					  font-size: 1em;
 | 
				
			||||||
  font-style: normal;
 | 
					  font-style: normal;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -82,7 +82,7 @@ a:active {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
h5 a {
 | 
					h5 a {
 | 
				
			||||||
  @apply text-gray-600 font-light;
 | 
					  @apply text-gray-900 font-normal;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -9,6 +9,21 @@ module.exports = {
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  darkMode: false,
 | 
					  darkMode: false,
 | 
				
			||||||
  theme: {
 | 
					  theme: {
 | 
				
			||||||
 | 
					    fontSize: {
 | 
				
			||||||
 | 
					        'xs': '.75rem',
 | 
				
			||||||
 | 
					        'sm': '.875rem',
 | 
				
			||||||
 | 
					        'tiny': '.875rem',
 | 
				
			||||||
 | 
					        'base': '1rem',
 | 
				
			||||||
 | 
					        'md': '1.05rem',
 | 
				
			||||||
 | 
					        'lg': '1.125rem',
 | 
				
			||||||
 | 
					        'xl': '1.25rem',
 | 
				
			||||||
 | 
					        '2xl': '1.5rem',
 | 
				
			||||||
 | 
					        '3xl': '1.875rem',
 | 
				
			||||||
 | 
					        '4xl': '2.25rem',
 | 
				
			||||||
 | 
					        '5xl': '3rem',
 | 
				
			||||||
 | 
					        '6xl': '4rem',
 | 
				
			||||||
 | 
					        '7xl': '5rem',
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
    colors: {
 | 
					    colors: {
 | 
				
			||||||
      transparent: 'transparent',
 | 
					      transparent: 'transparent',
 | 
				
			||||||
      white: '#ffffff',
 | 
					      white: '#ffffff',
 | 
				
			||||||
@@ -16,8 +31,10 @@ module.exports = {
 | 
				
			|||||||
      gray: colors.gray,
 | 
					      gray: colors.gray,
 | 
				
			||||||
      slate: colors.slate,
 | 
					      slate: colors.slate,
 | 
				
			||||||
      stone: colors.stone,
 | 
					      stone: colors.stone,
 | 
				
			||||||
 | 
					      zinc: colors.zinc,
 | 
				
			||||||
      yellow: colors.yellow,
 | 
					      yellow: colors.yellow,
 | 
				
			||||||
      orange: colors.orange,
 | 
					      orange: colors.orange,
 | 
				
			||||||
 | 
					      sky: colors.sky,
 | 
				
			||||||
      blue: {
 | 
					      blue: {
 | 
				
			||||||
        '100': '#bbeeff',
 | 
					        '100': '#bbeeff',
 | 
				
			||||||
        '200': '#00aaff',
 | 
					        '200': '#00aaff',
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,3 +1,3 @@
 | 
				
			|||||||
<button class="border-transparent flex flex-col border-2 w-80 items-start rounded h-24 transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2">
 | 
					<button class="border-transparent flex flex-col border-2 w-80 items-start rounded h-24 transition hover:first:text-gray-500 hover:border-stone-200 hover:bg-stone-100 p-2">
 | 
				
			||||||
    {{ body | trim_start_matches(pat="<p></p>") | safe}}
 | 
					    {{ body | trim_start_matches(pat="<p>") | safe}}
 | 
				
			||||||
</button>
 | 
					</button>
 | 
				
			||||||
@@ -14,18 +14,13 @@ Parameters:
 | 
				
			|||||||
<!-- aligns columns depending on col number-->
 | 
					<!-- aligns columns depending on col number-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
{% set classes = "relative flex flex-col lg:flex-row items-baseline -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20" %}
 | 
					{% set classes = "relative flex flex-col lg:flex-row items-baseline -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-8" %}
 | 
				
			||||||
{% set column_classes = "flex-1 m-4 lg:m-4" %}
 | 
					{% set column_classes = "flex-1 m-8 lg:m-4" %}
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- makes row full screen width and adds background img -->
 | 
					<!-- makes row full screen width and adds background img -->
 | 
				
			||||||
{% set styles = ""  %}
 | 
					 | 
				
			||||||
{% if bgPath %}
 | 
					 | 
				
			||||||
    {% set styles = "background: url('" ~ bgPath ~ "'); background-size: cover"  %}
 | 
					 | 
				
			||||||
    {% set classes = classes ~ "w-screen -mx-8 sm:-mx-12 md:-mx-16 lg:-mx-20 lg:py-40 p-8 sm:p-12 md:p-16 lg:p-20" %}
 | 
					 | 
				
			||||||
{% endif %}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="{{classes}}" style="{{styles}}">
 | 
					<div class="{{classes}}">
 | 
				
			||||||
    {% for column in columns%} 
 | 
					    {% for column in columns%} 
 | 
				
			||||||
        <!-- Hides empty columns if displayed vertically in small screen -->
 | 
					        <!-- Hides empty columns if displayed vertically in small screen -->
 | 
				
			||||||
        {% if column | as_str | length < 10 %} 
 | 
					        {% if column | as_str | length < 10 %} 
 | 
				
			||||||
@@ -40,7 +35,7 @@ Parameters:
 | 
				
			|||||||
        {% else %}
 | 
					        {% else %}
 | 
				
			||||||
            <div class="{{column_classes}}">
 | 
					            <div class="{{column_classes}}">
 | 
				
			||||||
                {{column | split(pat="{% button() %}") | slice(end=1) | first | safe}}
 | 
					                {{column | split(pat="{% button() %}") | slice(end=1) | first | safe}}
 | 
				
			||||||
                <hr>
 | 
					                <hr class="border-t-2 mt-2">
 | 
				
			||||||
                <br/>
 | 
					                <br/>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                <!-- handles mermaid markdown content display -->
 | 
					                <!-- handles mermaid markdown content display -->
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user