@@ -67,14 +67,15 @@ section.place {
67
67
display : grid ;
68
68
font-size : 0.625rem ;
69
69
70
- grid-template-areas : " pong pong pong " " no space note" ;
70
+ grid-template-areas : " pong cta " " no note" ;
71
71
height : var (--top-banner-height );
72
72
margin : 0 auto ;
73
73
width : 100% ;
74
+ align-items : center ;
74
75
75
76
@media screen and (min-width : $screen-md ) {
76
- grid-template-areas : " pong cta cta " " pong no note " ;
77
- grid-template-columns : 1 fr 10 rem 4 rem ;
77
+ grid-template-areas : " pong cta note " " pong cta no " ;
78
+ grid-template-columns : fit-content ( 100 % ) auto fit-content ( 100 % ) ;
78
79
}
79
80
80
81
.pong-box {
@@ -86,7 +87,6 @@ section.place {
86
87
color : var (--place-top-color );
87
88
flex-direction : row ;
88
89
grid-area : pong;
89
- max-width : 30rem ;
90
90
padding : 0.125rem ;
91
91
text-decoration : none ;
92
92
@@ -110,25 +110,35 @@ section.place {
110
110
color : var (--place-top-cta-color );
111
111
font-size : var (--type-smaller-font-size );
112
112
grid-area : cta;
113
- margin : 0.125rem auto ;
114
113
padding : 0.25rem 1rem ;
115
114
text-align : center ;
116
- width : 100% ;
115
+ height : fit-content ;
116
+ margin-right : auto ;
117
117
}
118
118
119
119
.pong-note {
120
- color : var (--place-top-color );
121
120
grid-area : note;
122
- margin : auto 0.5rem 0 auto ;
123
- width : 4rem ;
124
- width : auto ;
121
+ border : 1px solid var (--border-primary );
122
+ border-top : none ;
123
+ padding : 0 0.5rem 0.125rem ;
124
+ margin : 0 0 auto auto ;
125
+ color : var (--background-secondary );
126
+ background-color : var (--text-primary );
127
+ border-radius : 0 0 0.5rem 0.5rem ;
128
+ text-decoration : none ;
129
+
130
+ & :hover ,
131
+ & :focus ,
132
+ & :active {
133
+ text-decoration : underline ;
134
+ }
125
135
}
126
136
}
127
137
128
138
.no-pong {
129
- color : var (--place-top-color );
130
139
grid-area : no;
131
- margin : auto 0.5rem 0 ;
140
+ color : var (--place-top-color );
141
+ margin : auto 0 0 2rem ;
132
142
}
133
143
}
134
144
}
0 commit comments