File tree Expand file tree Collapse file tree 2 files changed +65
-2
lines changed Expand file tree Collapse file tree 2 files changed +65
-2
lines changed Original file line number Diff line number Diff line change 14
14
< div id ="loading "> </ div >
15
15
16
16
< header role ="banner ">
17
-
17
+ < h1 > JS.Next Reference </ h1 >
18
18
</ header >
19
19
20
20
< main role ="main ">
23
23
</ main >
24
24
25
25
< footer role ="contentinfo ">
26
-
26
+
27
27
</ footer >
28
28
29
29
< script src ="./scripts/jquery.min.js "> </ script >
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ html {
10
10
body {
11
11
background : rgb (46 , 46 , 44 );
12
12
color : rgb (248 , 220 , 61 );
13
+ border-top : 1em solid rgb (248 , 220 , 61 );
14
+ }
15
+
16
+ ::selection {
17
+ color : white;
18
+ background : rgb (248 , 220 , 61 );
13
19
}
14
20
15
21
# loading {
@@ -20,6 +26,63 @@ body {
20
26
background-size : 100% 100% ;
21
27
}
22
28
29
+ [role = "banner" ] h1 ,
30
+ [role = "main" ] h2 {
31
+ font-weight : 700 ;
32
+ text-transform : uppercase;
33
+ }
34
+
35
+ [role = "banner" ] {
36
+ margin : 0 auto;
37
+ max-width : 1500px ;
38
+ text-align : center;
39
+ }
40
+
41
+ [role = "banner" ] h1 {
42
+ font-size : 2.8em ;
43
+ letter-spacing : -0.03em ;
44
+ line-height : 0.9 ;
45
+ text-transform : uppercase;
46
+ color : white;
47
+ text-transform : uppercase;
48
+ background : -webkit-linear-gradient (white, rgb (248 , 220 , 61 ));
49
+ -webkit-background-clip : text;
50
+ -webkit-text-fill-color : transparent;
51
+
52
+ transition : font-size 0.5s ;
53
+ }
54
+
55
+ @media (min-width : 320px ) {
56
+ [role = "banner" ] h1 {
57
+ font-size : 3.6em ;
58
+ }
59
+ }
60
+
61
+ @media (min-width : 420px ) {
62
+ [role = "banner" ] h1 {
63
+ font-size : 4.8em ;
64
+ }
65
+ }
66
+
67
+ @media (min-width : 580px ) {
68
+ [role = "banner" ] h1 {
69
+ font-size : 5.6em ;
70
+ }
71
+ }
72
+
73
+ @media (min-width : 650px ) {
74
+ [role = "banner" ] h1 {
75
+ font-size : 6.2em ;
76
+ }
77
+ }
78
+
79
+
80
+ @media (min-width : 850px ) {
81
+ [role = "banner" ] h1 {
82
+ font-size : 7.5em ;
83
+ }
84
+ }
85
+
23
86
[role = "main" ] {
24
87
margin : 0 auto;
25
88
max-width : 850px ;
You can’t perform that action at this time.
0 commit comments