Skip to content

Instantly share code, notes, and snippets.

@huanle0610
Last active December 17, 2015 12:09
Show Gist options
  • Save huanle0610/5608184 to your computer and use it in GitHub Desktop.
Save huanle0610/5608184 to your computer and use it in GitHub Desktop.
基于Bartik创建子主题 bartik2.info
name = Bartik2
description = A flexible, recolorable theme with many regions.
core = 7.x
;定义父主题
base theme = bartik
;添加新样式表
stylesheets[all][] = css/bartik2.css
;覆盖样式, 不创建此文件或为空白文件 则意义同于 禁用该样式表
stylesheets[all][] = css/style.css
;可以使用颜色选择器,需要复制color文件夹
stylesheets[all][] = css/color.css
regions[header] = Header
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
regions[highlighted] = Highlighted
regions[featured] = Featured
regions[content] = Content
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second
regions[triptych_first] = Triptych first
regions[triptych_middle] = Triptych middle
regions[triptych_last] = Triptych last
regions[footer_firstcolumn] = Footer first column
regions[footer_secondcolumn] = Footer second column
regions[footer_thirdcolumn] = Footer third column
regions[footer_fourthcolumn] = Footer fourth column
regions[footer] = Footer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment