确实好用,不过不懂每个参数的意思,请问如果要再加宽的话该怎么弄呢?
wordpress默认主题twentyeleven修改(一):style.css
一直很欣赏wordpress默认主题twentyeleven,它每次都会随着wordpress的升级给我们带来一些新的功能,而且所有的代码都有注释,便于二次改造。但它上下左右留白太多,对于想要尽可能多展示自己网页内容的童鞋们来说,把它进行改造是很有必要的。下面就对该主题的style.css的structure进行简单的修改。
找到第69行 /* =Structure
- 去除body左右空白。 style.css:73 padding:0 2em; padding:0;
- 去除page上下空白。 style.css:76 margin: 2em auto; margin: 0 auto;
- 减少标题高度。 style.css:512 padding: 3.65625em 0 0; padding: 2em 0 0;
- 减少副标题高度。 sytle.css:529 margin: 0 270px 3.65625em 0; margin: 0 270px 2em 0;
- 整体结构改变。
所有的 7.6%改为2%
-26.4%改为-30%
34%改为31%
58.4%改为67%
18.8%改为28%
改完后的CSS如下所示。
/* =Structure
—————body {
padding: 0;
}
#page {
margin: 0 auto;
max-width: 1000px;
}
#branding hgroup {
margin: 0 2%;
}
#access div {
margin: 0 2%;
}
#primary {
float: left;
margin: 0 -30% 0 0;
width: 100%;
}
#content {
margin: 0 31% 0 2%;
width: 67%;
}
#secondary {
float: right;
margin-right: 2%;
width: 28%;
}
除非注明,否则均为芯片版图原创文章,转载必须以链接形式标明本文链接
本文链接:https://www.chiplayout.net/wordpress-themes-twentyeleven-style-modify.html
发表评论
3 replies on “wordpress默认主题twentyeleven修改(一):style.css”
- 浅槽隔离工艺(STI) 15130
- CMOS制作基本步骤 13776
- 关于芯片中的seal ring… 13493
- xbox one要求东方明珠实名认证 13076
- div+css不显示最后一个li标签borde... 12201
- CMOS制造中的轻掺杂漏(LDD)注入工艺 11944
- CMOS制作步骤(一):双阱工艺 11620
- IC封装形式COF介绍 11411
- match of layout(版图中的匹配) 10693
- IC版图设计中电容的基本匹配规则 10103
- Mentor calibre_V2008.1_20_linux_x86 17
- 工艺相关资料合集 13
- skill编写的cadence打label增强程序 13
- calibredrv create reference cell 10
- calibredrv merge GDS file 10
- Cadence Layout Turbo提取PAD坐标 9
- 亲测fedora16安装calibre2008所需... 8
- 博客软件WordPress宣布博客数破5千... 6
- 关于IC版图中的匹配规则 6
- htaccess将多域名301定向到主域名 6
- 关于芯片中的seal ring… 163
- xbox one要求东方明珠实名认证 93
- CMOS制作基本步骤 88
- 关于IC版图中的匹配规则 71
- cadence layoutXL使用简介 68
- 浅槽隔离工艺(STI) 60
- CMOS制造中的轻掺杂漏(LDD)注入工艺 58
- match of layout(版图中的匹配) 58
- IC Layout布局经验 47
- IC版图设计中电阻的匹配基础篇 39
近期评论
- admin posted
- 刘俊杰 posted
- Layout Merge posted
有两个gds(带IO的A.gds和dum.gds)做Layout Merge,能否使合并后的gds仍然保持A.gds的名称呢? 能否指定合并的gds的坐标呢?
- 1054145976 posted
标签
.cdslck
calibre
calibredrv
CMP
ddr
fedora
fedora20
fedora22
gconf-editor
gds
Hercules
ic
ic610
ic5141
icfb
iphone
label
layoutXL
nettran
package
polycide
python
qnap
salicide
SDRAM
seo
skill
spice
TP
transistor
twentytwenty
ubuntu
v2lvs
verilog
virtuoso
windows7
Windows10
wordpress
匹配
半导体
封装
摩尔定律
版图
电梯游戏
集成电路
改完以后,无法生效。不知道为什么