File tree Expand file tree Collapse file tree 1 file changed +42
-39
lines changed
Expand file tree Collapse file tree 1 file changed +42
-39
lines changed Original file line number Diff line number Diff line change 7878 width : 100% ;
7979 }
8080
81- nav ul {
82- display : none;
83- flex-direction : column;
84- position : absolute;
85- top : 60px ;
86- left : 0 ;
87- width : 100% ;
88- background : # 0A4D68 ;
89- padding : 20px ;
90- }
91-
92- nav ul .active {
93- display : flex;
94- }
95-
96- .hamburger {
97- display : block;
98- }
99-
100- header h1 {
101- font-size : 2.5rem ;
102- }
103-
104- header p {
105- font-size : 1.2rem ;
106- }
107-
108- .cta-button {
109- padding : 10px 20px ;
110- font-size : 1rem ;
111- }
112-
113- section h2 {
114- font-size : 1.8rem ;
115- }
116-
117- .screenshots {
118- grid-template-columns : repeat (auto-fit, minmax (200px , 1fr ));
119- }
12081 }
12182
12283 nav ul {
438399 }
439400
440401 /* Responsive Design */
402+ @media (max-width : 768px ) {
403+ nav ul {
404+ display : none;
405+ flex-direction : column;
406+ position : absolute;
407+ top : 60px ;
408+ left : 0 ;
409+ width : 100% ;
410+ background : # 0A4D68 ;
411+ padding : 20px ;
412+ }
413+
414+ nav ul .active {
415+ display : flex;
416+ }
417+
418+ .hamburger {
419+ display : block;
420+ }
421+
422+ header h1 {
423+ font-size : 2.5rem ;
424+ }
425+
426+ header p {
427+ font-size : 1.2rem ;
428+ }
429+
430+ .cta-button {
431+ padding : 10px 20px ;
432+ font-size : 1rem ;
433+ }
434+
435+ section h2 {
436+ font-size : 1.8rem ;
437+ }
438+
439+ .screenshots {
440+ grid-template-columns : repeat (auto-fit, minmax (200px , 1fr ));
441+ }
442+ }
443+
441444 @media (max-width : 480px ) {
442445 header h1 {
443446 font-size : 2rem ;
You can’t perform that action at this time.
0 commit comments