mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Add bootstrap comparison page
This commit is contained in:
parent
61683eb6a7
commit
db006fba23
@ -47,6 +47,9 @@
|
||||
<div class="column is-3">
|
||||
<div id="about" class="content">
|
||||
<strong xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">Bulma</strong> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://jgthms.com" property="cc:attributionName" rel="cc:attributionURL">Jeremy Thomas</a>.
|
||||
<p id="alternative">
|
||||
<a href="{{ site.url }}/alternative-to-bootstrap/">An alternative to <strong>Bootstrap</strong></a>
|
||||
</p>
|
||||
{% unless site.env == "development" %}
|
||||
<div class="twitter-container">
|
||||
<a href="{{ site.twitter }}" class="twitter-follow-button" data-show-count="true" data-lang="en" data-size="large">@jgthms</a>
|
||||
|
17
docs/_sass/bootstrap.sass
Normal file
17
docs/_sass/bootstrap.sass
Normal file
@ -0,0 +1,17 @@
|
||||
$bootstrap: #6f5499
|
||||
$bootstrap-invert: #fff
|
||||
|
||||
.bootstrap
|
||||
.hero
|
||||
background-color: $bootstrap
|
||||
color: $bootstrap-invert
|
||||
.title,
|
||||
.subtitle
|
||||
color: currentColor
|
||||
.subtitle
|
||||
color: rgba($bootstrap-invert, 0.5)
|
||||
.subtitle a
|
||||
border-bottom: 1px solid currentColor
|
||||
color: currentColor
|
||||
&:hover
|
||||
color: $bootstrap-invert
|
@ -64,3 +64,10 @@
|
||||
#tsp
|
||||
small
|
||||
display: block
|
||||
|
||||
#alternative
|
||||
font-size: 0.875rem
|
||||
a
|
||||
color: $text-light
|
||||
&:hover
|
||||
text-decoration: underline
|
74
docs/alternative-to-bootstrap.html
Normal file
74
docs/alternative-to-bootstrap.html
Normal file
@ -0,0 +1,74 @@
|
||||
---
|
||||
---
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
||||
|
||||
<title>Bulma: an alternative to Bootstrap</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ site.fontawesome }}">
|
||||
<link rel="stylesheet" href="{{ site.url }}/css/bulma-docs.css">
|
||||
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.url }}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}">
|
||||
|
||||
<meta property="og:url" content="{{site.url}}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="{{site.title}}">
|
||||
<meta property="og:image" content="{{site.url}}/images/bulma-banner.png">
|
||||
<meta property="og:image:type" content="image/png">
|
||||
<meta property="og:image:width" content="1200">
|
||||
<meta property="og:image:height" content="630">
|
||||
<meta property="og:description" content="{{site.description}}">
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:site" content="@jgthms">
|
||||
<meta name="twitter:creator" content="@jgthms">
|
||||
<meta name="twitter:title" content="{{site.title}}">
|
||||
<meta name="twitter:image" content="{{site.url}}/images/bulma-banner.png">
|
||||
<meta name="twitter:description" content="{{site.description}}">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{site.url}}/favicons/apple-touch-icon.png?v=201701041855">
|
||||
<link rel="icon" type="image/png" href="{{site.url}}/favicons/favicon-32x32.png?v=201701041855" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="{{site.url}}/favicons/favicon-16x16.png?v=201701041855" sizes="16x16">
|
||||
<link rel="manifest" href="{{site.url}}/favicons/manifest.json?v=201701041855">
|
||||
<link rel="mask-icon" href="{{site.url}}/favicons/safari-pinned-tab.svg?v=201701041855" color="#00d1b2">
|
||||
<link rel="shortcut icon" href="{{site.url}}/favicons/favicon.ico?v=201701041855">
|
||||
<meta name="msapplication-config" content="{{site.url}}/favicons/browserconfig.xml?v=201701041855">
|
||||
<meta name="theme-color" content="#00d1b2">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
{% include navbar.html id="Documentation" %}
|
||||
</div>
|
||||
|
||||
<main class="bootstrap">
|
||||
<section class="hero is-medium">
|
||||
<div class="hero-body">
|
||||
<div class="container">
|
||||
<div class="columns is-vcentered">
|
||||
<div class="column">
|
||||
<h1 class="title">
|
||||
Bulma: an alternative to Bootstrap
|
||||
</h1>
|
||||
<p class="subtitle">
|
||||
Learn how Bulma can become a replacement for <a href="http://getbootstrap.com/" target="_blank">Bootstrap</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column is-narrow">
|
||||
{% include carbon.html %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
@ -18,6 +18,7 @@ $twitter: #55acee
|
||||
@import "./_sass/twitter"
|
||||
@import "./_sass/expo"
|
||||
@import "./_sass/love"
|
||||
@import "./_sass/bootstrap"
|
||||
|
||||
\:root
|
||||
--primary: #{$primary}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user