11.content {
2- display : flex;
2+ display : grid;
3+ grid-template-columns : auto auto auto 1fr auto;
4+ grid-template-areas : 'logo headline subText link close' ;
35 align-items : center;
4- justify-content : space-between ;
6+ gap : 8 px ;
57 margin : 0 auto;
8+ width : 100% ;
69 max-width : 1440px ;
710
811 padding : 8px 16px ;
1114.logo {
1215 height : 36px ;
1316 width : 36px ;
14- margin : auto;
1517 grid-area : logo;
1618}
1719
1820.content a {
1921 color : inherit;
2022}
2123
22- .wrapper {
23- display : flex;
24- flex-direction : row;
25- gap : 8px ;
26- align-items : center;
27- justify-content : center;
28- }
29-
3024.headline {
3125 font-size : 16px ;
32- grid-area : headline;
3326 text-wrap : nowrap;
27+ grid-area : headline;
3428}
3529
3630p .subText {
@@ -48,12 +42,18 @@ a.link {
4842 display : flex;
4943 flex-direction : row;
5044 align-items : center;
45+ justify-content : center;
5146 gap : 6px ;
5247 font-size : 14px ;
5348 padding : 4px 12px ;
5449 border : 1px solid var (--swm-navy-light-100 );
5550 background-color : var (--swm-navy-light-100 );
56- transition : all 0.2s ease-in-out;
51+ transition :
52+ border 0.2s ease-in-out,
53+ background-color 0.2s ease-in-out;
54+ grid-area : link;
55+ margin-left : auto;
56+ margin-right : 64px ;
5757}
5858
5959.linkTitle {
@@ -86,32 +86,44 @@ a.link {
8686 align-items : center;
8787}
8888
89- @media screen and (max-width : 996px ) {
89+ .close {
90+ opacity : 1 ;
91+ grid-area : close;
92+ }
93+
94+ .close svg g {
95+ stroke : var (--swm-navy-light-100 );
96+ stroke-width : 2 ;
97+ }
98+
99+ @media screen and (max-width : 1200px ) {
90100 .content {
91- gap : 12px ;
92- }
93- .wrapper {
94- display : grid;
95- grid-template-columns : 50px 1fr ;
101+ grid-template-columns : auto 1fr 1fr auto;
96102 grid-template-areas :
97- 'logo headline'
98- 'logo subText' ;
99- gap : 0 ;
100- align-items : center;
103+ 'logo headline link close'
104+ 'logo subText link close' ;
105+ }
106+ .link {
107+ margin : auto;
101108 }
102109}
103110
104- @media screen and (max-width : 768 px ) {
111+ @media screen and (max-width : 600 px ) {
105112 .content {
106- flex-direction : column;
107- align-items : flex-start;
108- padding : 8px 16px ;
113+ grid-template-columns : auto 1fr auto;
114+ grid-template-areas :
115+ 'logo headline close'
116+ 'logo subText close'
117+ 'link link link' ;
109118 }
110- }
111-
112- @media screen and (max-width : 450px ) {
113119 .link {
114- width : 100% ;
115- justify-content : center;
120+ margin : 0 ;
121+ }
122+ .logo {
123+ margin-bottom : auto;
124+ }
125+ .close {
126+ padding : 8px !important ;
127+ margin-bottom : auto;
116128 }
117129}
0 commit comments