hexo-theme-amane/source/css/_variables.styl

66 lines
1.6 KiB
Stylus
Raw Normal View History

2015-03-19 14:25:53 +00:00
// Config
support-for-ie = false
vendor-prefixes = webkit moz ms official
// Colors
color-default = #565a5f
color-grey = #999
color-border = #eceff2
color-link = #38b7ea
color-background = #f5f8f9
color-sidebar-text = #777
color-sidebar-text-dark = #333
color-widget-background = #ddd
color-widget-border = #ccc
color-mobile-nav-background = #191919
color-twitter = #00aced
color-facebook = #3b5998
color-pinterest = #cb2027
color-google = #dd4b39
// Fonts
2015-03-20 02:25:44 +00:00
font-sans = "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif
2015-03-19 14:25:53 +00:00
font-serif = Georgia, "Times New Roman", serif
font-mono = "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace
font-size = 14px
line-height = 1.6em
line-height-title = 1.1em
// Header
logo-size = 40px
header-height = 64px
header-sub-height = 48px
logo-url = "images/logo.svg"
// Sidebar
sidebar = hexo-config("sidebar")
thumbnail-default-small = 'css/images/thumb-default-small.png'
// Profile
profile-avatar-size = 128px
// Layout
block-margin = 40px
article-padding = 20px
mobile-nav-width = 280px
profile-column = 3
sidebar-column = 3
2015-03-20 02:25:44 +00:00
sidebar-column-tablet = 4
main-column = 7
main-column-tablet = 9
2015-03-19 14:25:53 +00:00
if sidebar and sidebar isnt bottom
_sidebar-column = sidebar-column
else
_sidebar-column = 0
// Grids
column-width = 80px
gutter-width = 20px
columns = main-column + _sidebar-column + profile-column
// Media queries
2015-03-20 02:25:44 +00:00
mq-mini = "screen and (max-width: 559px)"
mq-mobile = "screen and (min-width: 560px) and (max-width: 799px)"
mq-tablet = "screen and (min-width: 800px) and (max-width: 1199px)"
mq-normal = "screen and (min-width: 1200px)"