关于此风格
瑞士风格(Swiss Style),也称为国际主义排版风格(International Typographic Style),是一种强调清晰、客观、易读性和秩序感的图形设计和排版方法。它起源于 20 世纪 40-50 年代的瑞士。
主要特点:
- 网格系统 (Grid System): 严格使用网格来组织页面元素,创造结构感和一致性。
- 无衬线字体 (Sans-serif Typefaces): 偏爱清晰、简洁的无衬线字体,如 Helvetica, Univers, Akzidenz-Grotesk。
- 非对称布局 (Asymmetrical Layout): 布局通常是不对称的,但仍然保持平衡和动态感。
- 左对齐,右不齐 (Flush Left, Ragged Right): 文本块通常采用左对齐、右边自然形成不规则边缘的方式。
- 客观性与清晰度: 追求信息的清晰传达,避免过多的装饰和主观情感表达。
- 摄影优于插画: 倾向于使用高质量、客观的黑白或彩色摄影。
- 有限的色彩: 通常使用有限的、有时是醒目的颜色(如红色)作为强调,并与黑白灰搭配。
- 排版层级: 通过字体大小、粗细、间距等建立清晰的信息层级。
这种风格对现代主义平面设计和网页设计产生了深远影响,至今仍在许多领域被广泛应用,尤其是在需要清晰传达信息和建立专业形象的场合。
示例 AI Prompt
Create a website layout in the Swiss Style for a design conference. Use a strict grid, Helvetica or Univers font, strong typographic hierarchy (different weights/sizes), maybe one bold accent color (like red), and black/white photography.
(中文解释:为设计会议创建一个瑞士风格的网站布局。使用严格的网格,Helvetica 或 Univers 字体,强烈的排版层级(不同粗细/大小),或许使用一种醒目的强调色(如红色),以及黑白摄影。)
主题 CSS 代码片段
以下是将瑞士风格应用为全局主题的核心 CSS 代码 (body.theme-swiss-style):
/* Swiss Style Theme */
body.theme-swiss-style {
--page-bg: #ffffff; /* White background */
--page-bg-gradient: none;
--text-color: #000000; /* Black text */
--heading-color: #000000; /* Black headings */
--link-color: #e60000; /* Accent red links */
--link-hover-color: #b30000; /* Dark red link hover */
--border-color: #e0e0e0; /* Light gray border */
--card-bg: #ffffff; /* White card background */
--card-shadow: none; /* No card shadow */
--card-hover-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Slight hover shadow */
--header-bg: #000000; /* Black header background */
--header-text-color: #ffffff; /* White header text */
--header-shadow: none; /* No header shadow */
--footer-text-color: #555555; /* Dark gray footer text */
--footer-bg: #ffffff; /* White footer background */
--button-bg: #e60000; /* Red button background */
--button-text-color: white; /* White button text */
--button-hover-bg: #b30000; /* Dark red button hover */
--button-border: none; /* No button border */
--button-secondary-bg: #333; /* Dark gray secondary button */
--button-secondary-text-color: white; /* White secondary button text */
--button-secondary-hover-bg: #000; /* Black secondary button hover */
--button-secondary-border: none; /* No secondary button border */
--prompt-bg: #f5f5f5; /* Light gray prompt background */
--prompt-text-color: #333; /* Dark gray prompt text */
--base-font: var(--font-helvetica); /* Use Helvetica font */
--heading-font: var(--font-helvetica); /* Headings also use Helvetica */
--card-border-radius: 0px; /* No border radius */
--button-border-radius: 0px; /* No border radius */
}
/* Swiss Style specific element adjustments */
body.theme-swiss-style h1,
body.theme-swiss-style h2,
body.theme-swiss-style h3 {
font-weight: 700; /* Bold headings */
text-transform: lowercase; /* Lowercase headings (common feature) */
}
body.theme-swiss-style .btn {
text-transform: uppercase; /* Uppercase button text */
font-size: 0.85em; /* Slightly smaller font size */
letter-spacing: 0.5px; /* Slight letter spacing */
}
body.theme-swiss-style .card {
border: 1px solid var(--border-color); /* Ensure cards have a border */
}
/* More grid-based layout styles can be added here, but this is usually implemented in the specific page structure */
注意:这只是核心主题 CSS。实际应用中可能还需要在特定页面结构中结合网格系统来实现完整的瑞士风格布局。
资源下载 (示例)
下载包含此风格更完整 CSS 定义(可能包括特定组件样式、字体文件引用等)的压缩包。
下载 swiss-style.zip