Semantic Tableless Calendar

Developer
Size
4,528 Kb
Views
12,144

How do I make an semantic tableless calendar?

A proof of concept for a semantic tableless calendar.. What is a semantic tableless calendar? How do you make a semantic tableless calendar? This script and codes were developed by Altitude on 23 September 2022, Friday.

Semantic Tableless Calendar Previews

Semantic Tableless Calendar - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Semantic Tableless Calendar</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ /* ========= Get Fonts */
@import url(https://fonts.googleapis.com/css?family=Quicksand);
/* ================ Assign Variables */
/* =========================== Setup Mixins/Helper Classes */
.clearfix:after, .calendar ol:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;
}
/* ========== Setup Page */
*, *:before, *:after { box-sizing: border-box;
}
body { padding: 3em; background-image: url(https://subtlepatterns.com/patterns/retina_wood.png); color: grey; font-family: 'Quicksand', sans-serif;
}
/* ================ Calendar Styling */
.calendar { background: white; padding: 3em; border-radius: 10px;
}
.calendar .month { margin-top: 0; font-weight: normal; font-size: 3em; color: #6EB590;
}
.calendar ol { list-style: none; margin: 0; padding: 0;
}
.calendar ol li { float: left; width: 14.28571%;
}
.calendar .day-names { border-bottom: 1px solid #eee;
}
.calendar .day-names li { text-transform: uppercase; margin-bottom: .5em;
}
.calendar .days li { border-bottom: 1px solid #eee; min-height: 8em;
}
.calendar .days li .date { margin: .5em 0;
}
.calendar .days li .event { background: #6EB590; font-size: .75em; padding: 0 .75em; line-height: 2em; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 1em; margin-bottom: 1px;
}
.calendar .days li .event.span-2 { width: 200%;
}
.calendar .days li .event.begin { border-radius: 1em 0 0 1em;
}
.calendar .days li .event.end { border-radius: 0 1em 1em 0;
}
.calendar .days li .event.all-day { background: #9987B5;
}
.calendar .days li .event.clear { background: none;
}
.calendar .days li:nth-child(n+29) { border-bottom: none;
}
.calendar .days li.outside .date { color: #ddd;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="calendar"> <h1 class="month"> December 2013 </h1> <ol class="day-names"> <li> Sunday </li> <li> Monday </li> <li> Tuesday </li> <li> Wednesday </li> <li> Thursday </li> <li> Friday </li> <li> Saturday </li> </ol> <ol class="days"> <li> <div class="date"> 1 </div> <div class="event"> Event with Long Name </div> </li> <li> <div class="date"> 2 </div> </li> <li> <div class="date"> 3 </div> </li> <li> <div class="date"> 4 </div> </li> <li> <div class="date"> 5 </div> </li> <li> <div class="date"> 6 </div> </li> <li> <div class="date"> 7 </div> </li> <li> <div class="date"> 8 </div> </li> <li> <div class="date"> 9 </div> </li> <li> <div class="date"> 10 </div> </li> <li> <div class="date"> 11 </div> </li> <li> <div class="date"> 12 </div> </li> <li> <div class="date"> 13 </div> <div class="event all-day begin span-2"> Event Name </div> </li> <li> <div class="date"> 14 </div> </li> <li> <div class="date"> 15 </div> <div class="event all-day end"> Event Name </div> </li> <li> <div class="date"> 16 </div> </li> <li> <div class="date"> 17 </div> </li> <li> <div class="date"> 18 </div> </li> <li> <div class="date"> 19 </div> </li> <li> <div class="date"> 20 </div> </li> <li> <div class="date"> 21 </div> <div class="event"> Event Name </div> <div class="event"> Event Name </div> </li> <li> <div class="date"> 22 </div> <div class="event span-2"> Event with Longer Name </div> </li> <li> <div class="date"> 23 </div> <div class="event clear"> &nbsp; </div> <div class="event"> Event Name </div> </li> <li> <div class="date"> 24 </div> </li> <li> <div class="date"> 25 </div> </li> <li> <div class="date"> 26 </div> </li> <li> <div class="date"> 27 </div> </li> <li> <div class="date"> 28 </div> </li> <li> <div class="date"> 29 </div> </li> <li> <div class="date"> 30 </div> </li> <li> <div class="date"> 31 </div> </li> <li class="outside"> <div class="date"> 1 </div> </li> <li class="outside"> <div class="date"> 2 </div> </li> <li class="outside"> <div class="date"> 3 </div> </li> <li class="outside"> <div class="date"> 4 </div> </li> </ol>
</div>
</body>
</html>

Semantic Tableless Calendar - Script Codes CSS Codes

/* ========= Get Fonts */
@import url(https://fonts.googleapis.com/css?family=Quicksand);
/* ================ Assign Variables */
/* =========================== Setup Mixins/Helper Classes */
.clearfix:after, .calendar ol:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;
}
/* ========== Setup Page */
*, *:before, *:after { box-sizing: border-box;
}
body { padding: 3em; background-image: url(https://subtlepatterns.com/patterns/retina_wood.png); color: grey; font-family: 'Quicksand', sans-serif;
}
/* ================ Calendar Styling */
.calendar { background: white; padding: 3em; border-radius: 10px;
}
.calendar .month { margin-top: 0; font-weight: normal; font-size: 3em; color: #6EB590;
}
.calendar ol { list-style: none; margin: 0; padding: 0;
}
.calendar ol li { float: left; width: 14.28571%;
}
.calendar .day-names { border-bottom: 1px solid #eee;
}
.calendar .day-names li { text-transform: uppercase; margin-bottom: .5em;
}
.calendar .days li { border-bottom: 1px solid #eee; min-height: 8em;
}
.calendar .days li .date { margin: .5em 0;
}
.calendar .days li .event { background: #6EB590; font-size: .75em; padding: 0 .75em; line-height: 2em; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 1em; margin-bottom: 1px;
}
.calendar .days li .event.span-2 { width: 200%;
}
.calendar .days li .event.begin { border-radius: 1em 0 0 1em;
}
.calendar .days li .event.end { border-radius: 0 1em 1em 0;
}
.calendar .days li .event.all-day { background: #9987B5;
}
.calendar .days li .event.clear { background: none;
}
.calendar .days li:nth-child(n+29) { border-bottom: none;
}
.calendar .days li.outside .date { color: #ddd;
}
Semantic Tableless Calendar - Script Codes
Semantic Tableless Calendar - Script Codes
Home Page Home
Developer Altitude
Username altitudems
Uploaded September 23, 2022
Rating 4.5
Size 4,528 Kb
Views 12,144
Do you need developer help for Semantic Tableless Calendar?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Altitude (altitudems) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!