6
6
< title >
7
7
Border Radius / Themes / Docs / TACHYONS
8
8
</ title >
9
- < meta name ="author " content ="@mrmrs ">
9
+ < meta name ="author " content ="@mr3rs ">
10
10
< meta name ="description " content ="CSS ">
11
11
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
12
12
< link rel ="stylesheet " href ="/css/tachyons.css ">
13
13
</ head >
14
14
< body class ="w-100 sans-serif ">
15
- < header class ="bg-dark-gray white pbl ">
16
- < div class ="bb b--mid-gray phm phl-ns pvl ">
17
- < h1 class ="f4 ttu mtn heavy tracked "> < a class ="white link dim " href ="/ "> Tachyons</ a > </ h1 >
18
- < h2 class ="f4 mvn semibold dib prxs "> < a class ="lightest-blue link dim " href ="/docs/ "> Docs</ a > </ h2 >
19
- < span class ="thin white-40 "> /</ span >
20
- < h3 class ="f4 mvn semibold dib prxs "> < a class ="lightest-blue link dim " href ="/docs/#themes "> Themes</ a > </ h3 >
21
- < span class ="thin white-40 "> /</ span >
22
- < h4 class ="f4 mvn semibold dib "> Border Radius</ h4 >
23
- < div class ="mtl ">
24
- < dl class ="white-60 prm light dib mrm ">
25
- < dt class ="db "> Version</ dt >
26
- < dd class ="f2 f1-ns b db pln mln "> < %= moduleVersion %> </ dd >
27
- </ dl >
28
- < dl class ="white-60 light dib mrm ">
29
- < dt class ="db "> Filesize</ dt >
30
- < dd class ="f2 f1-ns b db pln mln "> < %= moduleSize %> </ dd >
31
- </ dl >
32
- < div class ="cf ">
33
- < dl class ="white-60 dib mrm mtn ">
34
- < dt class ="db "> Declarations </ dt >
35
- < dd class ="db pln mln f2 f1-ns b "> < %= moduleObj.declarations.total %> </ span > </ dd >
15
+ < %= siteHeader %>
16
+ < main class ="">
17
+ < article class ="bg-near-white bt b--black-10 ph3 pt3 ph5-ns ">
18
+ < h4 class ="f4 mv0 fw6 dib mr4 "> < %= name %> </ h4 >
19
+ < span class ="f4 b dib pl0 ml0 mr4 "> v< %= moduleVersion %> </ span >
20
+ < span class ="f4 b dib pl0 ml0 mr4 "> < %= moduleSize %> </ span >
21
+ < div >
22
+ < dl class ="dib mr4 mt0 ">
23
+ < dt class ="f6 db "> Declarations </ dt >
24
+ < dd class ="db pl0 ml0 f4 f2-ns b "> < %= moduleObj.declarations.total %> </ span > </ dd >
36
25
</ dl >
37
- < dl class ="white-60 dib mrm ">
38
- < dt class ="db prs "> Selectors </ dt >
39
- < dd class ="db pln mln f2 f1 -ns b "> < %= moduleObj.selectors.total %> </ dd >
26
+ < dl class ="dib mr4 ">
27
+ < dt class ="f6 db pr2 "> Selectors </ dt >
28
+ < dd class ="db pl0 ml0 f4 f2 -ns b "> < %= moduleObj.selectors.total %> </ dd >
40
29
</ dl >
41
- < dl class ="white-60 dib mrm ">
42
- < dt class ="db prs "> Max. Specificity Score </ dt >
43
- < dd class ="db pln mln f2 f1 -ns b "> < %= moduleObj.selectors.specificity.max %> </ dd >
30
+ < dl class ="dib mr4 ">
31
+ < dt class ="f6 db pr2 "> Max. Specificity Score </ dt >
32
+ < dd class ="db pl0 ml0 f4 f2 -ns b "> < %= moduleObj.selectors.specificity.max %> </ dd >
44
33
</ dl >
45
- < dl class ="white-60 dib mrm ">
46
- < dt class ="db prs "> Size of Avg. Rule </ dt >
47
- < dd class ="db pln mln f2 f1 -ns b "> < %= moduleObj.rules.size.average %> </ dd >
34
+ < dl class ="dib mr4 ">
35
+ < dt class ="f6 db pr2 "> Size of Avg. Rule </ dt >
36
+ < dd class ="db pl0 ml0 f4 f2 -ns b "> < %= moduleObj.rules.size.average %> </ dd >
48
37
</ dl >
49
- </ div >
50
38
</ div >
51
- </ div >
52
- < div class ="phm phl-ns pvm ">
53
- < p class ="measure f3 lh-copy ">
54
- There is a five step scale for border radius in addition to a utility
55
- that sets border radius to 100%, which when combined with an explicit
56
- height and width will produce a circle.
57
- </ p >
58
-
59
- </ div >
60
- </ header >
61
- < main class ="">
62
- < div class ="phm phl-ns ptl pbxl ">
39
+ </ article >
40
+ < div class ="ph3 ph5-ns pt4 pb5 ">
63
41
< h2 class ="f3 bold "> Examples</ h2 >
64
- < h3 class ="f5 book ptl caps "> Border Radius</ h3 >
65
- < div class ="mbm phs pvl white bg-dark-gray br1 ">
42
+ < h3 class ="f5 book pt4 caps "> Border Radius</ h3 >
43
+ < div class ="mbm phs pv4 white bg-dark-gray br1 ">
66
44
1st step in border-radius scale
67
45
</ div >
68
- < div class ="mbm phs pvl white bg-dark-gray br2 ">
46
+ < div class ="mbm phs pv4 white bg-dark-gray br2 ">
69
47
2nd step in border-radius scale
70
48
</ div >
71
- < div class ="mbm phs pvl white bg-dark-gray br3 ">
49
+ < div class ="mbm phs pv4 white bg-dark-gray br3 ">
72
50
3rd step in border-radius scale
73
51
</ div >
74
52
< div class ="mbm phs pvxl white bg-dark-gray br4 ">
@@ -82,44 +60,34 @@ <h3 class="f5 book ptl caps">Border Radius</h3>
82
60
circle with fixed height & width
83
61
</ div >
84
62
</ div >
85
- < div class ="mtxl cf ">
86
- < div class ="dib mrl ">
87
- < h1 class ="f4 ttu tracked semibold "> Previous</ h1 >
88
- < a href ="/docs/themes/borders/ " class ="link semibold blue dim "> Borders</ a >
63
+ < div class ="mt5 cf ">
64
+ < div class ="dib mr4 ">
65
+ < h1 class ="f4 ttu tracked fw6 "> Previous</ h1 >
66
+ < a href ="/docs/themes/borders/ " class ="link fw6 blue dim "> Borders</ a >
89
67
</ div >
90
68
< div class ="dib ">
91
- < h1 class ="f4 ttu tracked semibold "> Next</ h1 >
92
- < a href ="/docs/debug/ " class ="link semibold blue dim "> Debugging</ a >
69
+ < h1 class ="f4 ttu tracked fw6 "> Next</ h1 >
70
+ < a href ="/docs/debug/ " class ="link fw6 blue dim "> Debugging</ a >
93
71
</ div >
94
72
</ div >
95
- < div class ="mtxl ">
96
- < h1 class ="f4 ttu tracked semibold "> Reference</ h1 >
97
- < a href ="https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius " class ="link semibold blue dim "> MDN - Border Radius</ a >
73
+ < div class ="mt5 ">
74
+ < h1 class ="f4 ttu tracked fw6 "> Reference</ h1 >
75
+ < a href ="https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius " class ="link fw6 blue dim "> MDN - Border Radius</ a >
98
76
</ div >
99
77
</ div >
100
- < section class ="bg-dark-gray white ptl pbxl ">
101
- < header class ="phm phl -ns ptl ">
78
+ < section class ="bg-dark-gray white pt4 pb5 ">
79
+ < header class ="ph3 ph5 -ns pt4 ">
102
80
< kbd class ="yellow "> src/_border-radius.css</ kbd >
103
81
</ header >
104
- < pre class ="phm phl -ns ">
105
- < code class ="small ">
82
+ < pre class ="ph3 ph5 -ns ">
83
+ < code class ="code " style =" font-size: .75rem; ">
106
84
< %= srcCSS %>
107
85
</ code >
108
86
</ pre >
109
87
</ section >
110
88
< %= navDocs %>
111
89
</ main >
112
- < %= siteFooter %>
113
-
114
- < script >
115
- ( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
116
- ( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
117
- m = s . getElementsByTagName ( o ) [ 0 ] ; a . async = 1 ; a . src = g ; m . parentNode . insertBefore ( a , m )
118
- } ) ( window , document , 'script' , '//www.google-analytics.com/analytics.js' , 'ga' ) ;
119
-
120
- ga ( 'create' , 'UA-55773803-1' , 'auto' ) ;
121
- ga ( 'send' , 'pageview' ) ;
122
-
123
- </ script >
90
+ < %= siteFooter %>
91
+ < %= googleAnalytics %>
124
92
</ body >
125
93
</ html >
0 commit comments