|
| 1 | +:root{ |
| 2 | + --purple: #7B6079; |
| 3 | + --orange:#DE8971; |
| 4 | + --beige: #FFE9D6; |
| 5 | + --transparent-light:rgba(0, 0, 0, 0.2); |
| 6 | + --transparent-dark: rgba(0, 0, 0, 0.5); |
| 7 | + |
| 8 | +} |
| 9 | + |
| 10 | + |
1 | 11 | body { |
2 | | - background: rgb(51, 55, 55); |
| 12 | + background-image: url("img/background.png"); |
3 | 13 | font-family: raleway; |
| 14 | + margin: 0; |
| 15 | + box-sizing: border-box; |
| 16 | + |
| 17 | + |
4 | 18 | } |
5 | 19 |
|
6 | 20 | h1 { |
7 | | - color:bisque |
| 21 | + margin-top: 0; |
| 22 | + text-align: center; |
| 23 | + font-size: 34px; |
| 24 | + line-height: 40px; |
| 25 | + font-weight: 500; |
| 26 | + margin-block-end:0.4em; |
| 27 | + color: var(--orange); |
8 | 28 | } |
9 | 29 |
|
10 | 30 | h2 { |
11 | 31 | color:black; |
| 32 | + margin-top: 0; |
| 33 | + text-align: center; |
| 34 | + font-size: 34px; |
| 35 | + line-height: 40px; |
| 36 | + font-weight: 500; |
| 37 | +} |
| 38 | + |
| 39 | + |
| 40 | +header{ |
| 41 | + background-color: rgba(255, 255, 255, 0.564); |
| 42 | +} |
| 43 | + |
| 44 | +.img-logo{ |
| 45 | + width: 50px; |
| 46 | + |
12 | 47 | } |
13 | 48 |
|
14 | 49 | .main-container{ |
15 | | - max-width: 320px; |
16 | 50 | display: flex; |
| 51 | + flex-direction: column; |
| 52 | + margin: 0 auto; |
| 53 | + padding: 2vh; |
| 54 | + box-sizing: border-box; |
| 55 | +} |
| 56 | + |
| 57 | +.first-column{ |
17 | 58 | margin: 0 auto; |
18 | 59 | } |
| 60 | +.header-image{ |
| 61 | + width: 100%; |
| 62 | + align-self: center; |
| 63 | +} |
| 64 | +.profile-img{ |
| 65 | + width: 100%; |
| 66 | + align-self: center; |
| 67 | + border-radius: 50%; |
| 68 | + border: 5px solid var(--orange); |
| 69 | + margin: 1vh 0; |
| 70 | + margin: 0 auto; |
| 71 | + box-sizing: border-box; |
| 72 | +} |
| 73 | +.info-square{ |
| 74 | + background: rgba(255, 255, 255, 0.831); |
| 75 | + border-radius: 10pt; |
| 76 | + padding: 2vh; |
| 77 | + width: 100%; |
| 78 | + margin: 1vh 0; |
| 79 | + box-sizing: border-box; |
| 80 | +} |
| 81 | + |
| 82 | + |
| 83 | +.chart-container{ |
| 84 | + display: flex; |
| 85 | + width: 100%; |
| 86 | + background-color: rgba(255, 255, 255, 0.831);; |
| 87 | + border-radius: 10pt; |
| 88 | + margin: 2vh 0; |
| 89 | +} |
| 90 | + |
| 91 | + |
19 | 92 |
|
20 | 93 | .projects-grid { |
21 | 94 | display: flex; |
|
25 | 98 | } |
26 | 99 |
|
27 | 100 | .project{ |
28 | | - background-color: antiquewhite; |
| 101 | + background-color: rgba(255, 255, 255, 0.831);; |
29 | 102 | border: 1px solid rebeccapurple; |
30 | 103 | flex-direction: column; |
31 | 104 | justify-content: left; |
32 | 105 | align-items: flex-start; |
33 | 106 | align-items: center; |
34 | 107 | padding: 1rem; |
35 | 108 | border-radius: 12px; |
36 | | - margin: 0.5rem 0.5rem 0 0.5rem; |
| 109 | + margin: 2vh 0; |
| 110 | + box-sizing: border-box; |
| 111 | + width:100%; |
| 112 | + border-left: 4px solid var(--orange); |
| 113 | + border-right: 4px solid var(--orange); |
37 | 114 | } |
38 | 115 |
|
39 | | -.profile-img{ |
40 | | - width: 100%; |
41 | | - align-self: center; |
42 | | - border-radius: 50%; |
43 | | - border: 2px solid black; |
44 | | -} |
45 | 116 |
|
46 | | -.info-square{ |
47 | | - background: bisque; |
| 117 | +a{ |
| 118 | + text-decoration: none; |
| 119 | + color: black; |
48 | 120 | } |
49 | 121 |
|
| 122 | +a:hover { |
| 123 | + color: var(--orange); |
| 124 | + font-size: larger; |
| 125 | +} |
50 | 126 |
|
51 | | -.chart-container{ |
52 | | - display: flex; |
53 | | - width: 50%; |
54 | | - background-color: bisque; |
| 127 | +footer{ |
| 128 | + box-sizing: border-box; |
| 129 | + width: 100%; |
| 130 | + background-color: rgba(255, 255, 255, 0.564); |
| 131 | + height: auto; |
| 132 | + padding: 2vh; |
| 133 | + display: absolute; |
| 134 | + bottom: 0; |
55 | 135 |
|
56 | 136 | } |
57 | 137 |
|
58 | | -@media (min-width: 768px){ |
| 138 | +@media (min-width: 900px){ |
59 | 139 |
|
60 | 140 | .main-container { |
61 | 141 | max-width: 768px; |
| 142 | + display: grid; |
| 143 | + grid-template-columns: 1fr 4fr; |
| 144 | + margin: 0 auto; |
62 | 145 | } |
63 | 146 |
|
64 | 147 | .first-column{ |
65 | | - display: grid; |
66 | | - grid-template-rows: 3; |
| 148 | + display: flex; |
| 149 | + flex-direction: column; |
| 150 | + min-height: 100vh; |
67 | 151 | } |
68 | 152 |
|
69 | | -.profile-img{ |
| 153 | +/* .profile-img{ |
70 | 154 | width: 100%; |
71 | 155 | grid-column: 1/1; |
72 | 156 | grid-row: 1/3; |
73 | | -} |
| 157 | +} */ |
74 | 158 |
|
75 | | -.chart-container{ |
76 | | - background-color: grey; |
| 159 | +/* .chart-container{ |
| 160 | + background-color: rgba(255, 255, 255, 0.831);; |
77 | 161 | grid-column: 1/2; |
78 | 162 | grid-row: 3/4; |
79 | 163 | width: 100%; |
80 | 164 |
|
81 | 165 |
|
82 | | -} |
| 166 | +} */ |
83 | 167 |
|
84 | 168 | .projects-grid { |
85 | 169 | display: grid; |
|
0 commit comments