1
0
Fork 0
forked from github/pelican
Commit graph

47 commits

Author SHA1 Message Date
Chris Rose
271f4dd68f Strip trailing whitespace 2023-10-29 22:19:44 +01:00
Ben Sturmfels
991cebf95d Update notmyidea theme to scale down to smaller screens
The aim here is to make the theme work respectably on mobile devices
with only modest changes. Providing different layouts at multiple
breakpoints is beyond the scope of this change.

The changes here are:

1. `base.html`: Add a `<meta name="viewport"` element

2. `main.css`:
  * Use "max-width" instead of "width"
  * Set "line-height" on the banner and adjust vertical spacing to match
  * Remove fixed height on the nav bar and force it to contain its
    child elements
2021-09-28 14:03:05 +02:00
Nam Nguyen
b12443f48a
Use a top (instead of bottom) border in hentry.
`hentry` uses `clear: both` with the intention of placing a separator line (1px border) between each entry. However, it is wrongly using `border-bottom` instead of `border-top` to make that separator. CSS `clear` makes space to clear the **preceding** floats. Hence a `border-bottom` won't enjoy that `clear` effect.
2021-01-05 10:40:31 -08:00
Kurt McKee
7bbd3dc6fb
Update links to HTTPS and current 301 redirects in docs/templates/themes (#2661)
This also updates the Tumblr API to use HTTPS as documented in the
current Tumblr API docs.
2020-04-12 16:38:35 +02:00
Kurt McKee
4db9b944a2 Remove CSS references to the non-existent digg.png icon 2020-04-12 10:19:27 +02:00
Justin Mayer
021f15256a Add CSS classes for reStructuredText figures
Fixes #2113
2019-07-23 16:37:09 +02:00
Peter Dave Hello
0dc175434f Optimize PNG images losslessly using Google zopflipng 2017-12-25 01:43:34 +08:00
Jorge Maldonado Ventura
9ce09c0715 Store fonts of notmyidea theme locally
Used google-font-download ((commit ecc521e894c55e83773351264fe5bbef99ae70ad))
to download the fonts.
  font-download -f 'woff woff2' -l 'latin' 'Yanone Kaffeesatz:400'
2017-07-30 17:47:47 +02:00
Jorge Maldonado Ventura
9495a6c3df Remove trailing whitespaces from notmyidea 2017-07-30 17:41:32 +02:00
Justin Mayer
940eb76b7f Load external resources via HTTPS when available
This replaces all `http://` and `//:` links with `https:`. The protocol-
relative URL scheme is now deemed to be an anti-pattern. There are
security advantages to using HTTPS, and there are no significant
performance concerns.

In short, if the asset we need is available via HTTPS, then that asset
should always be loaded via HTTPS.

Fixes #1736
2015-06-02 08:35:12 -07:00
Kyle Fuller
173beecd17 Merge pull request #1478 from areyoutoo/new-twitter-icon
Update notmyidea's embedded Twitter icon
2015-01-26 21:49:32 +00:00
Robert Utter
4310296648 Update notmyidea's embedded Twitter icon
Twitter's logo has been a bird since 2010. The old T-icon is outdated.
2014-09-24 16:19:24 -07:00
Quentin Pradet
6ac06b28b1 Unify bottom margins of lists and paragraphs 2014-08-20 17:07:01 +02:00
Colin Dunklau
81e44ed2de Use absolute size for github mark 2014-02-09 21:20:02 +01:00
Colin Dunklau
df21315a24 32px Github logo and CSS shinker 2014-02-09 21:17:39 +01:00
Colin Dunklau
70a690650d Updated github mark for notmyidea
The smallest mark GitHub provides in the bundle is 32x32. Since they
explicitly say don't resize the mark, I asked them to provide a 16x16
so we could use it. I received the 16x16 in this commit from GitHub
support.

However, they suggested we use the 32x32 and use CSS rules to adjust
the size:

"...we use the 32px for both and employ css background and background-
size rules to handle retina displays. I recommend that technique,
since retina users will see a mess of pixels for icons that small."

This sounds like reasonable advice. Should we consider migrating the
notmyidea social icons to 32x32, with appropriate CSS to adjust the
sizes?
2014-02-09 20:23:12 +01:00
Andrew Ma
298151237e Adding stackoverflow to social icons 2013-07-03 22:36:52 -07:00
Justin Mayer
679d4aa801 Main CSS file uses tabs, not spaces 2013-04-10 17:14:19 -07:00
Justin Mayer
45dc17f41f Current default theme design is MIT licensed 2013-04-10 16:58:25 -07:00
Alexis Metaireau
932407f153 Merge pull request #780 from georgevreilly/master
Updated social icons
2013-03-22 00:40:03 -07:00
Justin Mayer
9eda0f79bd External resources should be scheme-independent
By using "//" instead of "http://" when referring to external resources
such as fonts (e.g., from within CSS files), warnings about "insecure"
content can be avoided.
2013-03-18 17:36:35 -07:00
George V. Reilly
d4b41bd11d Multiple Social icons
aboutme, bitbucket, google-groups, hackernews, reddit,
slideshare, speakerdeck, vimeo, youtube

Also, fix spacing below a line-block.

Try this in resT::

	| First line
	| Second line
	| Third line

	New paragraph.

	Another paragraph.

Notice how the line-block runs into the first paragraph without the new CSS.
2013-03-15 19:02:44 -07:00
Joseph Reagle
168d713df8 ul/li have no top/bottom margins, but list do 2013-03-03 22:35:56 -08:00
Joseph Reagle
9ed4e77049 improve spacing of p and nested lists 2013-03-03 22:35:03 -08:00
David Beitey
121bc0ad5e Optimize social icons 2012-11-04 12:49:05 +10:00
David Beitey
9fdd378687 Add Google+ social icon 2012-11-04 12:25:02 +10:00
David Beitey
41d3a1e8dd Merge branch 'github-social-icon' into improved-icons
Conflicts:
	docs/changelog.rst
2012-11-04 12:09:28 +10:00
David Beitey
705ab7b0f8 Improve linkedin icon 2012-11-03 22:27:33 +10:00
David Beitey
4afc32c425 GitHub icon also works for git.io addresses in social 2012-11-03 22:21:02 +10:00
David Beitey
868ef2079c Add GitHub social icon support in default theme
Conflicts:
	docs/changelog.rst
2012-11-03 22:13:26 +10:00
Alexis Métaireau
cce962f3f0 Change the background color of the code-blocks on the default theme. Fix #511 2012-10-12 23:01:51 +02:00
Ian Cordasco
b911972716 Add Gittip to social icons.
This allows someone to include their gittip link so people can donate to them.
2012-08-31 23:12:09 -04:00
Alexis Metaireau
d5f1747993 we don't need to have a max size for the title on the default theme 2012-07-23 18:56:47 +02:00
Alexis Metaireau
0494cd1406 remove the selection color in the default theme 2012-07-23 18:56:21 +02:00
Marcel Hellkamp
63cff4c9a0 Fixed left and right aligned images in main.css 2012-07-15 23:41:07 +03:00
Ian Cordasco
ddb345897e Add gitorious icon to default theme.
See ametaireau/pelican-themes#38 and ametaireau/pelican-themes#39 for
references.
2012-06-14 10:29:44 -04:00
Alexis Metaireau
419a2159e6 Merge remote-tracking branch 'muffinresearch/master'
Conflicts:
	docs/settings.rst
	tests/test_generators.py
2012-05-11 16:17:47 +02:00
Matt Bowcock
5e6945d380 Added facebook icon to default theme. 2012-04-10 12:51:16 -04:00
Alexis Metaireau
373ccdebf2 Add style for the note marker. Fix #257 2012-04-01 13:42:28 +02:00
Justin Mayer
8819d02600 Allow for serving feeds from a separate domain.
This (indirectly) enables support for FeedBurner. Added docs for
FeedBurner configuration. Clarify how defining the SITEURL attribute
affects URL structure. Closes #177.
2012-03-16 20:27:26 -07:00
Alexis Metaireau
cfd050b0f2 Add a CSS file for typogrify on the notmyidea theme 2012-03-11 03:02:12 +01:00
Alexis Metaireau
bf314fde6b Remove an useless css background image. Fix #209 2012-02-20 13:36:41 +01:00
Skami18
a5d4027c80 Removed the bug #122 and a lone closing tag 2011-06-01 19:00:56 +02:00
Alexis Metaireau
55da03ad2f Fix notmyidea layout. This fixes #54 2011-01-12 19:08:29 +01:00
Freeculture
8cca3d8f01 Original theme force image alignment on the right. Removed it to choose it with a markup langage. 2010-12-06 06:09:19 -08:00
Freeculture
9bdb5b8a88 A large image causes problem in article excerpt. It comes on following excerpt area. I think the best thing to do is to disable display of images in excerpt. 2010-12-03 09:28:40 -08:00
Alexis Metaireau
090a02a9e3 Change the output directory structure and a bit the templates structure as well.
--HG--
rename : pelican/themes/martyalchin/css/style.css => pelican/themes/martyalchin/static/css/style.css
rename : pelican/themes/notmyidea/css/main.css => pelican/themes/notmyidea/static/css/main.css
rename : pelican/themes/notmyidea/css/pygment.css => pelican/themes/notmyidea/static/css/pygment.css
rename : pelican/themes/notmyidea/css/reset.css => pelican/themes/notmyidea/static/css/reset.css
rename : pelican/themes/notmyidea/css/wide.css => pelican/themes/notmyidea/static/css/wide.css
rename : pelican/themes/notmyidea/images/icons/delicious.png => pelican/themes/notmyidea/static/images/icons/delicious.png
rename : pelican/themes/notmyidea/images/icons/lastfm.png => pelican/themes/notmyidea/static/images/icons/lastfm.png
rename : pelican/themes/notmyidea/images/icons/linkedin.png => pelican/themes/notmyidea/static/images/icons/linkedin.png
rename : pelican/themes/notmyidea/images/icons/rss.png => pelican/themes/notmyidea/static/images/icons/rss.png
rename : pelican/themes/notmyidea/images/icons/twitter.png => pelican/themes/notmyidea/static/images/icons/twitter.png
2010-11-21 01:49:37 +00:00