File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ V/* Reset */
99body {
1010 font-family : Arial, Helvetica, sans-serif;
1111 background-color : # f4f4f4 ;
12- color : # 333 ;
12+ color : black ;
1313 line-height : 1.6 ;
1414}
1515
1616/* Header */
1717header {
18- background : # 222 ;
19- color : # fff ;
18+ background : # f4f4f1 ;
19+ color : black ;
2020 padding : 2rem 1rem ;
2121 text-align : center;
2222}
@@ -26,7 +26,27 @@ header p {
2626 margin : 0 auto;
2727}
2828
29- /* Main container */
29+
30+ a {
31+ color : # 007BFF ;
32+ text-decoration : none;
33+ }
34+
35+ .button {
36+ display : inline-block;
37+ padding : 10px 20px ;
38+ background-color : # 0056b3 ;
39+ color : # ffffff ;
40+ border-radius : 5px ;
41+ text-decoration : none;
42+ font-weight : bold;
43+ transition : background-color 0.3s ;
44+ }
45+
46+ .button : hover {
47+ background-color : # 0056b3 ;
48+ }
49+
3050main {
3151 max-width : 1100px ;
3252 margin : 2rem auto;
@@ -46,14 +66,20 @@ section article:first-child {
4666 grid-column : 1 / -1 ;
4767}
4868
49- /* Article styling */
69+ article img {
70+ width : 100% ;
71+ max-width : 200px ;
72+ height : auto;
73+ display : block;
74+ margin : 0 auto;
75+ }
76+
5077article {
51- background : # fff ;
78+ background-color : # f4f6f8 ;
5279 padding : 1.5rem ;
53- border : 1px solid # ccc ;
54- border-radius : 6px ;
5580}
5681
82+
5783/* Images */
5884article img {
5985 width : 100% ;
@@ -86,8 +112,8 @@ footer {
86112 color : black;
87113 left : 45% ;
88114 padding : 1rem ;
89- position : fixed;
90- bottom : 0 ;
115+ position : fixed;
116+ bottom : 0 ;
91117}
92118
93119/* MOBILE: stack everything */
You can’t perform that action at this time.
0 commit comments