Skip to content
#

stylish

Here are 162 public repositories matching this topic...

moonflame
moonflame commented Oct 15, 2019

微博默认布局:
logo - 搜索框 - 用户名和功能按钮;

weibo_v6 修改 css 后的布局是:
logo - 用户名和功能按钮 - 搜索框,

所以造成用户名和功能按钮不能根据 logo 的尺寸来自动对齐的后果,因此咱就使用户名区域从左边开始固定一些像素的方法……
当 logo 更新节日版,这个对齐方式理所当然就挂了……

几种解决方案:

  • 那片区域直接左边缩进 100 多 px,就像我改的那个版本和目前的“节日版”一样,节日 logo 不会重叠,日常 logo 空着就空着吧。
  • 那片区域靠右对齐到搜索框,因为搜索框宽度是自己定义的,对齐应该不成问题。
  • 恢复成搜索框在左,那片区域靠右的形式,对齐就容易了。

我有闲心就新建个文件夹来存放以上提到的某些修改吧。

  • Stylus 也可以使用在扩展栏点开就能调整的设置界面!如果有空

Improve this page

Add a description, image, and links to the stylish topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the stylish topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.