File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.card {
2+ box-sizing : border-box;
3+
24 width : 7in ;
35 height : 4in ;
4- box-sizing : border-box;
56 padding : .52in .44in .21in .22in ;
67
78 background : var (--card-background );
2021 text-align : center;
2122 }
2223
23- .card__company-title {
24- font-weight : bold;
25- }
26-
2724 .card__company-subtitle {
2825 font-size : .65em ;
2926 }
3027
3128 .card__surname {
32- font-weight : bold;
3329 text-transform : uppercase;
3430 }
3531
4743 .card__title {
4844 font-size : .9em ;
4945 text-transform : capitalize;
50- font-weight : bold;
5146 }
5247
5348 .card__address {
5449 font-size : .7em ;
55- font-weight : bold;
5650 text-align : center;
5751 }
5852
124118.card_typography .card__title {
125119 letter-spacing : .055em ;
126120}
121+
122+ @media only screen and (min-width : 761px ) {
123+ .card__title ,
124+ .card__address ,
125+ .card__surname ,
126+ .card__company-title {
127+ font-weight : bold;
128+ }
129+ }
130+
131+ @media only screen and (max-width : 760px ) {
132+ .card {
133+ width : 3.5in ;
134+ height : 2in ;
135+ padding : .26in .22in .105in .11in ;
136+ font-size : 10pt ;
137+ }
138+ }
Original file line number Diff line number Diff line change 22< html >
33< head >
44 < meta charset ="utf-8 "/>
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
56 < title > Mikhail Menshikov</ title >
67 < link rel ="preload " type ="font/woff2 " as ="font " href ="css/fonts/Sillian%20Rail%20Regular.woff2 "/>
78 < link rel ="stylesheet " type ="text/css " href ="css/index.css "/>
Original file line number Diff line number Diff line change 22< html >
33< head >
44 < meta charset ="utf-8 "/>
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
56 < title > Patrick Bateman</ title >
67 < link rel ="preload " type ="font/woff2 " as ="font " href ="css/fonts/Sillian%20Rail%20Regular.woff2 "/>
78 < link rel ="stylesheet " type ="text/css " href ="css/index.css "/>
You can’t perform that action at this time.
0 commit comments