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 许可协议。转载请注明出处!
相关文章
主流 nodejs 包管理器 pnpm vs bun vs npm vs yarn 简单横评
pnpm还真是会玩空间魔术?单项目里它领先优势就这么点?Node.js 20把npm喂肥了,现在谁还敢说npm是废物?这测试结果真是让人摸不着头脑。
2025-08-27 · Web前端 · 约 1 分钟
魔改了一下bootstrap-treeview组件,发布个NPM包体验一下
前言 之前在这篇文章 基于.NetCore开发博客项目 StarBlog - (8) 分类层级结构展示 中说到,我为了让文章分类列表支持层级结构,用了一个树形组件,不过这个组件太老了,使用的Bootstrap版本居然是3.x的,但又找不到更好的,只能硬着头皮用。 但实际效果有很多我不满意的,人家作者直接放弃了,在GitHub上标记项目为Archive状态,没辙。 感谢开源,我直接fork一份代码来
2022-05-27 · Web前端 · 约 1 分钟
在Next.js中集成swagger文档
Next.js 本来就不能直接用 Swagger,非要用还得自己折腾 API Routes?自动生成工具?手动写 Spec?这简直是在侮辱开发者。手动注释?这操作简直是在挑战耐心极限。
2025-09-01 · Web前端 · 约 1 分钟
使用 swagger-typescript-api 在前端项目里生成请求代码
swagger-typescript-api?文档写得像草稿,还得自己摸索。那些花哨的模块化选项除了报错还能干嘛?老老实实生成单文件,配个客户端封装,省得每次折腾。
2025-11-03 · Web前端 · 约 1 分钟
讨论
共 0 条加载评论中…