Started Developing a New Blog, Retro Metro Style, Plus a Little JS Diss
emmm My original blog was built with WordPress. Back when Qiniu Cloud was still free I used it as a CDN, but now it charges, and keeping up with my current blog traffic would cost quite a bit every month, so I had to shut Qiniu Cloud down = =. That also meant a lot of images on my blog couldn't be accessed, and the page layout broke too. I didn't want to mess with it anymore, and WordPress never quite felt right to use anyway, so I might as well build one myself~ Plan I've been learning Spring Boot and such lately, and originally wanted to build a blog with Spring Boot
目录6 个章节
emmm
My original blog was built with WordPress. Back when Qiniu Cloud was still free I used it as a CDN, but now it charges, and keeping up with my current blog traffic would cost quite a bit every month, so I had to shut Qiniu Cloud down = =. That also meant a lot of images on my blog couldn't be accessed, and the page layout broke too. I didn't want to mess with it anymore, and WordPress never quite felt right to use anyway, so I might as well build one myself~
Plan
I've been learning Spring Boot and such lately, and originally wanted to build a blog with Spring Boot, but then I thought about it and there's really no need. My blog barely uses a database anyway (ever seen a blog based on md files?), that's right, I just want to make a GitPage-like blog~
So I still want to use Python for the backend. After all, it doesn't seem like I need much of a backend anyway—just render markdown into HTML, then use JS to buff up the pages and make them look good~ So none of this has much to do with what the backend is, it's mainly about the frontend = =. For a blog directory based on file structure, Java feels really tedious to work with. I'll stick with Python. Life is short, I use Python. (When I work on DataAcq v2 later I'll try how it feels to do it in Java)
Design Language
I spent all of last night thinking about how to design the pages, and looked at a lot of blog templates, but didn't find one I liked. Then it occurred to me: "no design is the best design," hahaha (just a casual cop-out)
So I went with the most minimal Metro design language, flat design, cool-toned colors (I think I ran off to Google and stole their Material Design color palette = =)
Metro style, see the image below:

Metro intro: (from Wikipedia)
Metro is based on the design principles of Swiss graphic design, principles that were previously reflected in Windows XP's Windows Media Center, which is conducive to text-centric interface navigation. In 2006, Zune began using a Metro-like design style. Microsoft's designers planned to redesign existing user interfaces with cleaner typography and fewer accents to make them easier for users.<sup>[7]</sup> Zune's companion PC application also used clean typography and design different from the previous Portable Media Center user interface.
Design philosophy:
Metro, as a typography-based design, generally uses the standard typeface Microsoft designed for WP: "Segoe WP". Compared with other UI design styles it also places more emphasis on type, and it has been continuously evolving, because one of Metro's design principles is "content before chrome", which roughly translates to "content over decoration". So this design style focuses more on the application's content itself (typically presented as text and line drawings), rather than on "Graphic" (graphics) in the traditional design sense. That was also the main reason it amazed everyone when it first appeared on Lumia.

These design principles based on Swiss graphic design are conducive to designing text-centric navigation interfaces. Airport and subway signage inspired Microsoft's design team; the style makes heavy use of large type that can grab the viewer's attention. Microsoft believed the Metro design theme should be: "smooth, fast, modern" (Simple.Clean.Modern), so the Metro icon design you see now is also different from Android and iOS, even though it still has quite a few icons in the traditional sense.

To be honest though, what I've made so far is just a budget version of Metro, like Win10 compared to Win8 = =.
I still quite like Metro Design. Pity Microsoft has already abandoned it and started doing Fluent Design, see Microsoft's official site: https://www.microsoft.com/design/fluent/#/

Feels like this Fluent is leaning a bit toward Google's Material Design, starting to emphasize a sense of depth, and they even brought in Aero-style frosted glass~


Right now only the homepage is done, but the other pages will be quick too. Once I'm finished I'll post another blog introducing the blog design.
The Biggest Problem
I think the biggest problem is still motion design. Because I've been learning a lot of CSS3 animation lately, my head is full of fancy tricks and I always want to make things flashy, but I also have to follow the design guidelines and can't just throw animations around. It's really a headache = =.
Better tone it down on the animations, don't go overboard = =
A Little JS Diss!
Coming from other languages I just can't get used to for in being a trap. After making a few mistakes I looked it up and found that JS's for in is pretty much useless = =. Who even goes around iterating over objects for no reason~
Switching to for of felt much better~
For the four kinds of for loops in JS, you can check out this article: https://juejin.im/entry/5a1654e951882554b8373622
ps: I'm out. Can only diss a little; any more and I'll get beaten up. JS is actually pretty nice to use, dog-head for protection (fleeing
Feel Free to Chat With Me
- Coding livestream: https://live.bilibili.com/11883038
- WeChat official account: DealiAxy
- Zhihu: https://www.zhihu.com/people/dealiaxy
- Blog: https://blog.deali.cn
- Jianshu: https://www.jianshu.com/u/965b95853b9f
_EOF_
Started Developing a New Blog, Retro Metro Style, Plus a Little JS Diss
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
视频中台解决方案:组织树组件+多路视频直播界面开发
这种国产粗犷风格的项目居然能用?16路视频播放界面倒是简单直接,但现场配置和设备管理流程真是够折腾的。WVP和mpegts.js?B站开源的尿性,细节全靠蒙。
2025-07-04 · Web前端 · 约 1 分钟
使用JS模拟按键输入的踩坑记录
坑 一开始在Google搜索了一番,找到了用jQuery的方案,代码量很少,看起来很美好很不错,结果,根本没用…… 我反复试了这几个版本: var e = $.Event('keyup') e.keyCode = 49 $('#btn').trigger(e) // 就是把 keycode 换成 which $('#btn').trigger($.Event('keyup', { which: 4
2021-12-18 · Web前端 · 约 1 分钟
魔改了一下bootstrap-treeview组件,发布个NPM包体验一下
前言 之前在这篇文章 基于.NetCore开发博客项目 StarBlog - (8) 分类层级结构展示 中说到,我为了让文章分类列表支持层级结构,用了一个树形组件,不过这个组件太老了,使用的Bootstrap版本居然是3.x的,但又找不到更好的,只能硬着头皮用。 但实际效果有很多我不满意的,人家作者直接放弃了,在GitHub上标记项目为Archive状态,没辙。 感谢开源,我直接fork一份代码来
2022-05-27 · Web前端 · 约 1 分钟
Vue2.x项目整合ExceptionLess监控
前言 一直以来我们都是用Sentry做项目监控,不过前段时间我们的Sentry坏掉了~~(我搞坏的)~~ 但监控又是很有必要的,在sentry修好之前,我想先寻找一个临时的替代方案,同时发现网上关于ExceptionLess的资料少得可怜,ExceptionLess官方的文档也不是很完善,翻了好久文档和源码,于是有了本文…… 关于ExceptionLess 写.NetCore的同学应该不会陌生,这
2022-03-23 · Web前端 · 约 1 分钟
讨论
共 0 条加载评论中…