-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from MadridJUG/design_changes
Design changes
- Loading branch information
Showing
10 changed files
with
208 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
{% assign days = "domingo,lunes,martes,miércoles,jueves,viernes,sábado" | split: "," %} | ||
{% assign months = "enero,febrero,marzo,abril,mayo,junio,julio,agosto,septiembre,octubre,noviembre,diciembre" | split: "," %} | ||
|
||
{% assign day_idx = date | date: "%w" | plus: 0 %} | ||
{% assign day_name = days[day_idx] %} | ||
{% assign month_idx = date | date: "%-m" | minus: 1 %} | ||
{% assign month_name = months[month_idx] %} | ||
<div class="page-a-day-calendar"> | ||
<time datetime="{{ date | date: "%Y-%m-%d" }}" class="icon"> | ||
<em>{{ day_name | capitalize }}</em> <!-- Day of the week (e.g., "Wednesday") --> | ||
<strong>{{ month_name | capitalize }}</strong> <!-- Month name (e.g., "October") --> | ||
<span>{{ date | date: "%-d" }}</span> <!-- Day of the month without leading zeros (e.g., "30") --> | ||
<bold>{{ date | date: "%Y" }}</bold> <!-- Year (e.g., "2024") --> | ||
</time> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ | |
|
||
/* Fonts */ | ||
@import "oneflow/fonts"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -281,6 +281,7 @@ body:hover .visually-hidden button { | |
} | ||
|
||
.itr-text { | ||
margin-left: 1em; | ||
flex: 1; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
.page-a-day-calendar { | ||
float:none; | ||
margin: 2em; | ||
} | ||
|
||
time.icon | ||
{ | ||
font-size: 1em; /* change icon size */ | ||
display: block; | ||
position: relative; | ||
width: 6em; | ||
height: 6em; | ||
background-color: #fff; | ||
border-radius: 0.5em; | ||
box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd; | ||
overflow: hidden; | ||
} | ||
|
||
time.icon * | ||
{ | ||
display: block; | ||
width: 100%; | ||
font-size: 1em; | ||
font-weight: bold; | ||
font-style: normal; | ||
text-align: center; | ||
} | ||
|
||
time.icon strong | ||
{ | ||
position: absolute; | ||
top: 0; | ||
padding: 0.2em 0; | ||
font-size: 0.9em; | ||
color: #fff; | ||
background-color: $primary-color; | ||
border-bottom: 1px dashed $primary-color; | ||
box-shadow: $box-shadow; | ||
} | ||
|
||
time.icon em | ||
{ | ||
font-size: 0.7em; | ||
position: absolute; | ||
top: 2.7em; | ||
color: $primary-color; | ||
} | ||
|
||
time.icon span | ||
{ | ||
font-size: 2em; | ||
letter-spacing: -0.05em; | ||
padding-top: 1.1em; | ||
color: #2f2f2f; | ||
} | ||
|
||
time.icon bold { | ||
font-size: 0.8em; | ||
position: absolute; | ||
bottom: 0.2em; | ||
color: $gray | ||
} | ||
|
||
.icon:hover { | ||
background-color: $lighter-gray | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.session-description { | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
|
||
.session-description h3 { | ||
margin-top: 0em; | ||
display: -webkit-box; | ||
-webkit-line-clamp: 1; /* Show only the first few lines */ | ||
-webkit-box-orient: vertical; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
|
||
} | ||
|
||
.session-description p { | ||
display: -webkit-box; | ||
-webkit-line-clamp: 7; /* Show only the first few lines */ | ||
-webkit-box-orient: vertical; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
.page-a-day-calendar { | ||
float:left; | ||
} | ||
|
||
time.icon | ||
{ | ||
font-size: 1em; /* change icon size */ | ||
display: block; | ||
position: relative; | ||
width: 7em; | ||
height: 7em; | ||
background-color: #fff; | ||
border-radius: 0.6em; | ||
box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd; | ||
overflow: hidden; | ||
} | ||
|
||
time.icon * | ||
{ | ||
display: block; | ||
width: 100%; | ||
font-size: 1em; | ||
font-weight: bold; | ||
font-style: normal; | ||
text-align: center; | ||
} | ||
|
||
time.icon strong | ||
{ | ||
position: absolute; | ||
top: 0; | ||
padding: 0.4em 0; | ||
color: #fff; | ||
background-color: $info-color; | ||
border-bottom: 1px dashed #f37302; | ||
box-shadow: 0 2px 0 #fd9f1b; | ||
} | ||
|
||
time.icon em | ||
{ | ||
font-size: 0.8em; | ||
position: absolute; | ||
top: 3.1em; | ||
color: #fd9f1b; | ||
} | ||
|
||
time.icon span | ||
{ | ||
font-size: 2em; | ||
letter-spacing: -0.05em; | ||
padding-top: 1.5em; | ||
color: #2f2f2f; | ||
} | ||
|
||
time.icon bold { | ||
font-size: 0.8em; | ||
position: absolute; | ||
bottom: 0.2em; | ||
color: #bdbdbd | ||
} | ||
|
||
.icon:hover { | ||
background-color: #f2f2f2; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/* Custom stylesheet, add your own styles here */ | ||
/* Custom stylesheet, add your own styles here */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters