mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-30 08:21:15 +02:00
kss - Fixing menu links
This commit is contained in:
564
doc/styleguide/section-landings-and-portfolio.html
Normal file
564
doc/styleguide/section-landings-and-portfolio.html
Normal file
@@ -0,0 +1,564 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>WebSlides - Documentation 1.5.0</title>
|
||||
|
||||
<meta name="description" content="">
|
||||
<meta name="generator" content="kss-node">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
|
||||
<link rel="stylesheet" href="kss-assets/kss.css">
|
||||
<link rel="stylesheet" href="../../static/css/webslides.css">
|
||||
|
||||
</head>
|
||||
<body id="kss-node" >
|
||||
<header class="kss-header">
|
||||
<h1 class="kss-doc-title"><img src="../../static/images/favicons/favicon.svg" alt="WebSlides - Documentation 1.5.0" /></h1>
|
||||
<nav class="kss-header-nav">
|
||||
<ul>
|
||||
<li><a href="../../index.html" target="_blank" class="">WebSlides</a></li>
|
||||
<li><a href="./" target="_blank" class="kss-menu-active">Documentation</a></li>
|
||||
<li><a href=".../demos/index.html" target="_blank" class="">Demos</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="kss-sub-header">
|
||||
<p>WebSlides - Documentation 1.5.0</p>
|
||||
</div>
|
||||
<div class="kss-container">
|
||||
<div class="kss-sidebar kss-style">
|
||||
<nav class="kss-nav">
|
||||
<ul class="kss-nav__menu">
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link " href="./">
|
||||
<span class="kss-nav__name">Introduction</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-architecture.html">
|
||||
<span class="kss-nav__name">Architecture</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-contents.html">
|
||||
<span class="kss-nav__name">Contents</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-forms.html">
|
||||
<span class="kss-nav__name">Forms</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link kss-nav__menu-link-active" href="section-landings-and-portfolio.html">
|
||||
<span class="kss-nav__name">Landings and portfolio</span>
|
||||
</a>
|
||||
<ul class="kss-nav__menu-child">
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-badgets">
|
||||
<span class="kss-nav__name">Badges</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-buttons">
|
||||
<span class="kss-nav__name">Buttons</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-cards">
|
||||
<span class="kss-nav__name">Cards</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-cta">
|
||||
<span class="kss-nav__name">Call to action</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-cta-cover">
|
||||
<span class="kss-nav__name">Covers</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-quotes">
|
||||
<span class="kss-nav__name">Quotes & Cites</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item">
|
||||
<a class="kss-nav__menu-link kss-nav__ref " href="section-landings-and-portfolio.html#kssref-landings-and-portfolio-toc">
|
||||
<span class="kss-nav__name">Table of contents</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-layout.html">
|
||||
<span class="kss-nav__name">Layout</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-longforms.html">
|
||||
<span class="kss-nav__name">Longform</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-media.html">
|
||||
<span class="kss-nav__name">Media</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-multipurpose-blocks.html">
|
||||
<span class="kss-nav__name">Multipurpose blocks</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="kss-nav__menu-item kss-nav-has-children">
|
||||
<a class="kss-nav__menu-link " href="section-typography.html">
|
||||
<span class="kss-nav__name">Typography</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<div role="main" class="kss-main">
|
||||
|
||||
<div id="kssref-landings-and-portfolio" class="kss-section kss-section--depth-1 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h1 class="kss-title kss-title--level-1">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio">
|
||||
Landings and portfolio
|
||||
</a>
|
||||
</h1>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-badgets" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-badgets">
|
||||
Badges
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
<div class="kss-description">
|
||||
<p>App Store Badges. Change width and height: 216x64px, 162x48px, 135x40...</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Example
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<p class="badge-android">Google Play</p>
|
||||
<p class="badge-ios">App Store</p>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"><p class="badge-android">Google Play</p>
|
||||
<p class="badge-ios">App Store</p></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_badges.scss</code>, line 1
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-buttons" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-buttons">
|
||||
Buttons
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Examples
|
||||
</div>
|
||||
|
||||
<div class="kss-modifier__default-name kss-style">
|
||||
Default styling
|
||||
</div>
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<a href="#" class="button ">Download</a>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
<div class="kss-modifier__name kss-style">
|
||||
.radius
|
||||
</div>
|
||||
<div class="kss-modifier__description kss-style">
|
||||
Rounded corners
|
||||
</div>
|
||||
<div class="kss-modifier__example">
|
||||
<a href="#" class="button radius">Download</a>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"><a href="#" class="button [modifier class]">Download</a></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_button.scss</code>, line 1
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-cards" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-cards">
|
||||
Cards
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
<div class="kss-description">
|
||||
<p>Different sizes: .card-30, .card-40, .card-50, .card-60, .card-70, .card-80</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Example
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<div class="card-50">
|
||||
<figure><img class="aligncenter" src="/static/images/iphone.png" alt="iPhone"></figure>
|
||||
<div class="flex-content">
|
||||
<h2>iPhone 7</h2>
|
||||
<p class="text-intro">3D Touch, 12MP photos, and 4K video.</p>
|
||||
<p>Every iPhone they have made was built on the same belief. That a phone should be more than a collection of features. That, above all, a phone should be absolutely simple, beautiful, and magical to use.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"> <div class="card-50">
|
||||
<figure><img class="aligncenter" src="/static/images/iphone.png" alt="iPhone"></figure>
|
||||
<div class="flex-content">
|
||||
<h2>iPhone 7</h2>
|
||||
<p class="text-intro">3D Touch, 12MP photos, and 4K video.</p>
|
||||
<p>Every iPhone they have made was built on the same belief. That a phone should be more than a collection of features. That, above all, a phone should be absolutely simple, beautiful, and magical to use.</p>
|
||||
</div>
|
||||
</div></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_cards.scss</code>, line 1
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-cta" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-cta">
|
||||
Call to action
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Example
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<div class="cta">
|
||||
<div class="number">
|
||||
<p><span><sup>$</sup>40</span></p>
|
||||
</div>
|
||||
<div class="benefit">
|
||||
<h2>Watch TV shows anytime, anywhere</h2>
|
||||
<p>Lorem ipsum</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"><div class="cta">
|
||||
<div class="number">
|
||||
<p><span><sup>$</sup>40</span></p>
|
||||
</div>
|
||||
<div class="benefit">
|
||||
<h2>Watch TV shows anytime, anywhere</h2>
|
||||
<p>Lorem ipsum</p>
|
||||
</div>
|
||||
</div></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_promos.scss</code>, line 1
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-cta-cover" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-cta-cover">
|
||||
Covers
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Example
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<div class="cta-cover">
|
||||
<h1><strong>HTML Presentations</strong> Made Easy</h1>
|
||||
<p class="alignright">
|
||||
<a class="button" href="https://webslides.tv/webslides-latest.zip" title="Download WebSlides">
|
||||
WebSlides
|
||||
</a>
|
||||
<span class="try"><a href="/demos/" title="WebSlides Demos">Demos</a> · <a href="https://github.com/webslides/webslides" title="Github">Github</a></span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"><div class="cta-cover">
|
||||
<h1><strong>HTML Presentations</strong> Made Easy</h1>
|
||||
<p class="alignright">
|
||||
<a class="button" href="https://webslides.tv/webslides-latest.zip" title="Download WebSlides">
|
||||
WebSlides
|
||||
</a>
|
||||
<span class="try"><a href="/demos/" title="WebSlides Demos">Demos</a> · <a href="https://github.com/webslides/webslides" title="Github">Github</a></span>
|
||||
</p>
|
||||
</div></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_promos.scss</code>, line 75
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-quotes" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-quotes">
|
||||
Quotes & Cites
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Example
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<blockquote>
|
||||
<p>"I feel guilty as a web designer when I have to use PowerPoint and Keynote. So I made #WebSlides."</p>
|
||||
</blockquote>
|
||||
<cite> <img class="avatar-40" src="http://webslides.tv/static/images/avatar.jpg" alt="Avatar"> <a href="http://twitter.com/jlantunez/">@jlantunez</a></cite>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"><blockquote>
|
||||
<p>"I feel guilty as a web designer when I have to use PowerPoint and Keynote. So I made #WebSlides."</p>
|
||||
</blockquote>
|
||||
<cite> <img class="avatar-40" src="http://webslides.tv/static/images/avatar.jpg" alt="Avatar"> <a href="http://twitter.com/jlantunez/">@jlantunez</a></cite></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_quotes.scss</code>, line 1
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div id="kssref-landings-and-portfolio-toc" class="kss-section kss-section--depth-2 ">
|
||||
|
||||
<div class="kss-style">
|
||||
<h2 class="kss-title kss-title--level-2">
|
||||
<a class="kss-title__permalink" href="#kssref-landings-and-portfolio-toc">
|
||||
Table of contents
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__wrapper">
|
||||
<div class="kss-modifier__heading kss-style">
|
||||
Example
|
||||
</div>
|
||||
|
||||
|
||||
<div class="kss-modifier__example">
|
||||
<div class="toc">
|
||||
<ol>
|
||||
<li>
|
||||
<a href="#" title="Go to Learning to see">
|
||||
<span class="chapter">Prologue: Learning to See</span>
|
||||
<span class="toc-page">01</span>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="#" title="Go to What is Design?"><span class="chapter">What is Design?</span>
|
||||
<span class="toc-page">04</span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" title="Go to What is Beauty?"><span class="chapter">What is Beauty?</span>
|
||||
<span class="toc-page">08</span></a>
|
||||
<ol>
|
||||
<li><a href="#" title="Go to Harmony"><span class="chapter">Harmony</span>
|
||||
<span class="toc-page">12</span></a>
|
||||
</li>
|
||||
<li><a href="#" title="Go to Simplicity vs. Clarity"><span class="chapter">Simplicity vs. Clarity</span>
|
||||
<span class="toc-page">14</span></a>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="kss-modifier__example-footer"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<details class="kss-markup kss-style">
|
||||
<summary>
|
||||
Markup
|
||||
</summary>
|
||||
<pre class="prettyprint linenums lang-html"><code data-language="html"><div class="toc">
|
||||
<ol>
|
||||
<li>
|
||||
<a href="#" title="Go to Learning to see">
|
||||
<span class="chapter">Prologue: Learning to See</span>
|
||||
<span class="toc-page">01</span>
|
||||
</a>
|
||||
</li>
|
||||
<li><a href="#" title="Go to What is Design?"><span class="chapter">What is Design?</span>
|
||||
<span class="toc-page">04</span></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" title="Go to What is Beauty?"><span class="chapter">What is Beauty?</span>
|
||||
<span class="toc-page">08</span></a>
|
||||
<ol>
|
||||
<li><a href="#" title="Go to Harmony"><span class="chapter">Harmony</span>
|
||||
<span class="toc-page">12</span></a>
|
||||
</li>
|
||||
<li><a href="#" title="Go to Simplicity vs. Clarity"><span class="chapter">Simplicity vs. Clarity</span>
|
||||
<span class="toc-page">14</span></a>
|
||||
</li>
|
||||
</ol>
|
||||
</li>
|
||||
</ol>
|
||||
</div></code></pre>
|
||||
</details>
|
||||
|
||||
<div class="kss-source kss-style">
|
||||
Source: <code>modules/_toc.scss</code>, line 1
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- SCRIPTS -->
|
||||
<script src="kss-assets/kss.js"></script>
|
||||
<script src="kss-assets/scrollspy.js"></script>
|
||||
<script src="kss-assets/prettify.js"></script>
|
||||
<script src="kss-assets/kss-fullscreen.js"></script>
|
||||
<script src="kss-assets/kss-guides.js"></script>
|
||||
<script src="kss-assets/kss-markup.js"></script>
|
||||
<script>
|
||||
prettyPrint();
|
||||
var spy = new ScrollSpy('#kss-node', {
|
||||
nav: '.kss-nav__menu-child > li > a',
|
||||
className: 'is-in-viewport'
|
||||
});
|
||||
var kssFullScreen = new KssFullScreen({
|
||||
idPrefix: 'kss-fullscreen-',
|
||||
bodyClass: 'kss-fullscreen-mode',
|
||||
elementClass: 'is-fullscreen'
|
||||
});
|
||||
var kssGuides = new KssGuides({
|
||||
bodyClass: 'kss-guides-mode'
|
||||
});
|
||||
var kssMarkup = new KssMarkup({
|
||||
bodyClass: 'kss-markup-mode',
|
||||
detailsClass: 'kss-markup'
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<!-- Automatically built using <a href="https://github.com/kss-node/kss-node">kss-node</a>. -->
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user