Skip to content

Commit d10f5aa

Browse files
authored
Merge pull request #87 from spring-io/gh-design
Improve styles
2 parents 0974812 + 8b205bb commit d10f5aa

File tree

78 files changed

+3229
-864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3229
-864
lines changed

package-lock.json

Lines changed: 198 additions & 348 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
"@asciidoctor/core": "~2.2",
2121
"@asciidoctor/tabs": "1.0.0-beta.3",
2222
"@docsearch/js": "3",
23-
"@fontsource/roboto": "~4.5",
24-
"@fontsource/roboto-mono": "~4.5",
2523
"@springio/asciidoctor-extensions": "1.0.0-alpha.8",
2624
"algoliasearch": "4",
2725
"autoprefixer": "~10.4",

preview-src/features/authentication/index.adoc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
url: /features/authentication/index.html
22
component:
33
name: security
4-
version: '6.0.2'
4+
version: '6.1.0'
55
latest:
66
url: '/features/authentication/index.html'
7-
version: '6.0.2'
8-
displayVersion: '6.0.2'
7+
version: '6.1.0'
8+
displayVersion: '6.1.0'
99
title: Spring Security
1010
previous:
1111
content: Quickstart

preview-src/features/exploits/index.adoc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
url: /features/exploits/index.html
22
component:
33
name: security
4-
version: '6.0.2'
4+
version: '6.1.0'
55
latest:
66
url: '/features/exploits/index.html'
7-
version: '6.0.2'
8-
displayVersion: '6.0.2'
7+
version: '6.1.0'
8+
displayVersion: '6.1.0'
99
title: Spring Security
1010
previous:
1111
content: Quickstart

preview-src/features/index.adoc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ url: /features/index.html
22
component:
33
name: security
44
url: '#'
5-
version: '6.0.2'
5+
version: '6.1.0'
66
latest:
77
url: '/features/index.html'
8-
version: '6.0.2'
9-
displayVersion: '6.0.2'
8+
version: '6.1.0'
9+
displayVersion: '6.1.0'
1010
title: Spring Security
1111
previous:
1212
content: Quickstart

preview-src/index.adoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
url: /index.html
22
component:
33
name: security
4-
version: '6.0.3'
4+
version: '6.1.0'
55
latest:
66
url: '/index.html'
77
previous:

preview-src/ui-model.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ site:
1515
versions: &security_versions
1616
- &security_latest_version
1717
url: '/index.html'
18-
version: '6.0.3'
19-
displayVersion: '6.0.3'
18+
version: '6.1.0'
19+
displayVersion: '6.1.0'
2020
title: *component_title
2121
versionSegment: '5.6'
2222
- &security_5_5_version
@@ -48,8 +48,8 @@ shared:
4848
url: '#'
4949
versions:
5050
- url: '/index.html'
51-
version: '6.0.3'
52-
displayVersion: '6.0.3'
51+
version: '6.1.0'
52+
displayVersion: '6.1.0'
5353
title: *component_title
5454
versionSegment: '5.6'
5555
- url: '/5.5/index.html'
@@ -58,8 +58,8 @@ shared:
5858
versionSegment: '5.5'
5959
componentVersion: *security_5_5_version
6060
versions:
61-
- version: '6.0.3'
62-
displayVersion: '6.0.3'
61+
- version: '6.1.0'
62+
displayVersion: '6.1.0'
6363
url: '#'
6464
versionSegment: '5.6'
6565
- version: '5.5.9'
@@ -78,7 +78,7 @@ shared:
7878
url: '#'
7979
- content: Protection Against Exploits
8080
url: '#'
81-
6.0.3:
81+
6.1.0:
8282
home: true
8383
title: Spring Security
8484
relativeSrcPath: index.adoc
@@ -89,8 +89,8 @@ shared:
8989
versions: *security_versions
9090
componentVersion: *security_latest_version
9191
versions:
92-
- version: '6.0.3'
93-
displayVersion: '6.0.3'
92+
- version: '6.1.0'
93+
displayVersion: '6.1.0'
9494
url: '#'
9595
versionSegment: '5.6'
9696
- version: '5.5.9'

src/css/breadcrumbs.css

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
.breadcrumbs {
2-
display: none;
32
flex: 1 1;
43
padding: 0 0.5rem 0 0.75rem;
54
line-height: var(--nav-line-height);
65
}
76

8-
@media screen and (min-width: 1024px) {
9-
.breadcrumbs {
10-
display: block;
11-
}
12-
}
13-
147
a + .breadcrumbs {
158
padding-left: 0.05rem;
169
}

src/css/doc.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,3 +770,14 @@ h1.page + aside.toc.embedded {
770770
html.dark-theme .doc img {
771771
filter: invert();
772772
}
773+
774+
.doc .breadcrumbs,
775+
.doc .breadcrumbs ul {
776+
padding: 0;
777+
margin: 0;
778+
}
779+
780+
.doc .breadcrumbs {
781+
padding: 1.5rem 0 1rem;
782+
color: var(--doc-font-color);
783+
}

src/css/fonts.css

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
/* stylelint-disable */
2+
3+
@font-face {
4+
font-family: "Metropolis";
5+
src: url("../font/metropolis-regular-webfont.woff2") format("woff2"),
6+
url("../font/metropolis-regular-webfont.woff") format("woff");
7+
font-style: normal;
8+
font-weight: normal;
9+
font-display: swap;
10+
}
11+
@font-face {
12+
font-family: "Metropolis";
13+
src: url("../font/metropolis-bold-webfont.woff2") format("woff2"),
14+
url("../font/metropolis-bold-webfont.woff") format("woff");
15+
font-weight: 500;
16+
font-style: normal;
17+
font-display: swap;
18+
}
19+
@font-face {
20+
font-family: "Metropolis";
21+
src: url("../font/metropolis-extrabold-webfont.woff2") format("woff2"),
22+
url("../font/metropolis-extrabold-webfont.woff") format("woff");
23+
font-weight: 600;
24+
font-style: normal;
25+
font-display: swap;
26+
}
27+
/* open-sans-regular - latin */
28+
@font-face {
29+
font-family: "Open Sans";
30+
font-style: normal;
31+
font-weight: 400;
32+
src: url("../font/open-sans-v17-latin-regular.eot"); /* IE9 Compat Modes */
33+
src: url("../font/open-sans-v17-latin-regular.eot?#iefix")
34+
format("embedded-opentype"),
35+
/* IE6-IE8 */ url("../font/open-sans-v17-latin-regular.woff2")
36+
format("woff2"),
37+
/* Super Modern Browsers */ url("../font/open-sans-v17-latin-regular.woff")
38+
format("woff"),
39+
/* Modern Browsers */ url("../font/open-sans-v17-latin-regular.ttf")
40+
format("truetype"),
41+
/* Safari, Android, iOS */
42+
url("../font/open-sans-v17-latin-regular.svg#OpenSans") format("svg"); /* Legacy iOS */
43+
font-display: swap;
44+
}
45+
/* open-sans-italic - latin */
46+
@font-face {
47+
font-family: "Open Sans";
48+
font-style: italic;
49+
font-weight: 400;
50+
src: url("../font/open-sans-v17-latin-italic.eot"); /* IE9 Compat Modes */
51+
src: url("../font/open-sans-v17-latin-italic.eot?#iefix")
52+
format("embedded-opentype"),
53+
/* IE6-IE8 */ url("../font/open-sans-v17-latin-italic.woff2")
54+
format("woff2"),
55+
/* Super Modern Browsers */ url("../font/open-sans-v17-latin-italic.woff")
56+
format("woff"),
57+
/* Modern Browsers */ url("../font/open-sans-v17-latin-italic.ttf")
58+
format("truetype"),
59+
/* Safari, Android, iOS */
60+
url("../font/open-sans-v17-latin-italic.svg#OpenSans") format("svg"); /* Legacy iOS */
61+
font-display: swap;
62+
}
63+
/* open-sans-600 - latin */
64+
@font-face {
65+
font-family: "Open Sans";
66+
font-style: normal;
67+
font-weight: 600;
68+
src: url("../font/open-sans-v17-latin-600.eot"); /* IE9 Compat Modes */
69+
src: url("../font/open-sans-v17-latin-600.eot?#iefix")
70+
format("embedded-opentype"),
71+
/* IE6-IE8 */ url("../font/open-sans-v17-latin-600.woff2") format("woff2"),
72+
/* Super Modern Browsers */ url("../font/open-sans-v17-latin-600.woff")
73+
format("woff"),
74+
/* Modern Browsers */ url("../font/open-sans-v17-latin-600.ttf")
75+
format("truetype"),
76+
/* Safari, Android, iOS */
77+
url("../font/open-sans-v17-latin-600.svg#OpenSans") format("svg"); /* Legacy iOS */
78+
font-display: swap;
79+
}
80+
/* open-sans-700 - latin */
81+
@font-face {
82+
font-family: "Open Sans";
83+
font-style: normal;
84+
font-weight: 700;
85+
src: url("../font/open-sans-v17-latin-700.eot"); /* IE9 Compat Modes */
86+
src: url("../font/open-sans-v17-latin-700.eot?#iefix")
87+
format("embedded-opentype"),
88+
/* IE6-IE8 */ url("../font/open-sans-v17-latin-700.woff2") format("woff2"),
89+
/* Super Modern Browsers */ url("../font/open-sans-v17-latin-700.woff")
90+
format("woff"),
91+
/* Modern Browsers */ url("../font/open-sans-v17-latin-700.ttf")
92+
format("truetype"),
93+
/* Safari, Android, iOS */
94+
url("../font/open-sans-v17-latin-700.svg#OpenSans") format("svg"); /* Legacy iOS */
95+
font-display: swap;
96+
}
97+
/* work-sans-regular - latin */
98+
@font-face {
99+
font-family: "Work Sans";
100+
font-style: normal;
101+
font-weight: 400;
102+
src: url("../font/work-sans-v5-latin-regular.eot"); /* IE9 Compat Modes */
103+
src: url("../font/work-sans-v5-latin-regular.eot?#iefix")
104+
format("embedded-opentype"),
105+
/* IE6-IE8 */ url("../font/work-sans-v5-latin-regular.woff2")
106+
format("woff2"),
107+
/* Super Modern Browsers */ url("../font/work-sans-v5-latin-regular.woff")
108+
format("woff"),
109+
/* Modern Browsers */ url("../font/work-sans-v5-latin-regular.ttf")
110+
format("truetype"),
111+
/* Safari, Android, iOS */
112+
url("../font/work-sans-v5-latin-regular.svg#WorkSans") format("svg"); /* Legacy iOS */
113+
font-display: swap;
114+
}
115+
/* work-sans-700 - latin */
116+
@font-face {
117+
font-family: "Work Sans";
118+
font-style: normal;
119+
font-weight: 700;
120+
src: url("../font/work-sans-v5-latin-700.eot"); /* IE9 Compat Modes */
121+
src: url("../font/work-sans-v5-latin-700.eot?#iefix")
122+
format("embedded-opentype"),
123+
/* IE6-IE8 */ url("../font/work-sans-v5-latin-700.woff2") format("woff2"),
124+
/* Super Modern Browsers */ url("../font/work-sans-v5-latin-700.woff")
125+
format("woff"),
126+
/* Modern Browsers */ url("../font/work-sans-v5-latin-700.ttf")
127+
format("truetype"),
128+
/* Safari, Android, iOS */
129+
url("../font/work-sans-v5-latin-700.svg#WorkSans") format("svg"); /* Legacy iOS */
130+
font-display: swap;
131+
}

0 commit comments

Comments
 (0)