File tree Expand file tree Collapse file tree 3 files changed +83
-8
lines changed Expand file tree Collapse file tree 3 files changed +83
-8
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,44 @@ header {
42
42
margin-left : 1vw ;
43
43
}
44
44
45
+ .search {
46
+ font-size : 2rem ;
47
+ position : relative;
48
+ padding : 1rem ;
49
+ margin-left : -1rem ;
50
+ }
51
+
52
+ .search [open ] {
53
+ background : black;
54
+ color : white;
55
+ }
56
+ .search [open ] summary {
57
+ content : "Close Search" ;
58
+ }
59
+
60
+ .search form {
61
+ position : absolute;
62
+ top : 0 ;
63
+ left : 100% ;
64
+ width : 100% ;
65
+ height : 4rem ;
66
+ }
67
+
68
+ .search input : nth-of-type (1 ) {
69
+ border : 0 ;
70
+ display : inline;
71
+ width : 80% ;
72
+ height : 4rem ;
73
+ }
74
+
75
+ .search input : nth-of-type (2 ) {
76
+ width : 15% ;
77
+ }
78
+
79
+ form {
80
+ background : white;
81
+ }
82
+
45
83
header ul li {
46
84
margin-bottom : 1rem ;
47
85
max-width : 14vw ;
Original file line number Diff line number Diff line change 18
18
<li ><a href =" https://techcrunch.com/" ><object data =" assets/logo.svg" title =" Tech Crunch logo" type =" image/svg+xml" ></object ></a ></li >
19
19
<li ><a href =" https://oidc.techcrunch.com/login/?prompt=login&dest=https%3A%2F%2Ftechcrunch.com%2F" >Login</a ></li >
20
20
<li >
21
- <details >
21
+ <details class = " search " >
22
22
<summary >Search</summary >
23
23
24
24
<form action =" https://search.techcrunch.com/search" >
You can’t perform that action at this time.
0 commit comments