File tree Expand file tree Collapse file tree 2 files changed +37
-11
lines changed Expand file tree Collapse file tree 2 files changed +37
-11
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,12 @@ <h1>Projects</h1>
6363
6464 < div class ="wrapper ">
6565 < div class ="box ">
66+ < div class ="project-title-box ">
67+ < h3 class ="project-item project-title "> Djupviks Hamn</ h3 >
68+ </ div >
6669 < div class ="project-top ">
6770 < img class ="project-image " src ="djupvik.png " alt ="">
6871 < div class ="flex-col ">
69- < h3 class ="project-item project-title "> Djupviks Hamn</ h3 >
7072 < p class ="project-item "> Tech: HTML, CSS, Javascript</ p >
7173 < p class ="project-item "> Website with responsive CSS and JS-navbar.</ p >
7274 </ div >
@@ -77,12 +79,16 @@ <h3 class="project-item project-title">Djupviks Hamn</h3>
7779 </ div >
7880 </ div >
7981 < div class ="box ">
82+ < div class ="project-title-box ">
83+ < h3 class ="project-item project-title "> seaxwi.github.io</ h3 >
84+ </ div >
8085 < div class ="project-top ">
86+
8187 < img class ="project-image " src ="seaxwi.png " alt ="">
8288 < div class ="flex-col ">
83- < h3 class =" project-item project-title " > seaxwi.github.io </ h3 >
84- < p class ="project-item "> Tech: HTML, CSS</ p >
85- < p class ="project-item "> Personal webpage built mainly in pure HTML/CSS with some JS-enhancements.</ p >
89+
90+ < p class ="project-item "> Tech: HTML, CSS</ p >
91+ < p class ="project-item "> Personal webpage built mainly in pure HTML/CSS with some JS-enhancements.</ p >
8692 </ div >
8793 </ div >
8894 < div class ="project-bottom ">
Original file line number Diff line number Diff line change 2020h1 {
2121 text-align : center;
2222 color : white;
23- font-size : 300 % ;
23+ font-size : 3 em ;
2424 margin : 0em ;
2525 margin-top : 1em ;
2626 margin-bottom : 1em ;
2929# name {
3030 text-align : center;
3131 color : white;
32- font-size : 300 % ;
32+ max-width : 100 vw ;
3333 margin-top : 4em ;
3434}
3535
@@ -169,7 +169,9 @@ div.contact-box {
169169.wrapper {
170170 display : grid;
171171 grid-gap : 1em ;
172- grid-template-columns : repeat (auto-fit, minmax (450px , 500px ));
172+ /* grid-auto-columns: minmax(450px, auto); */
173+ grid-template-columns : repeat (auto-fit, minmax (350px , auto) );
174+
173175 color : # 444 ;
174176 margin : auto;
175177 padding : 0em 0em ;
@@ -182,6 +184,7 @@ div.contact-box {
182184 border-radius : 5px ;
183185 padding : 20px ;
184186 font-size : 120% ;
187+ /* max-width: 100vw; */
185188}
186189
187190.flex-col {
@@ -197,14 +200,30 @@ div.contact-box {
197200
198201.project-item {
199202 margin-bottom : 0.5em ;
203+
204+ word-wrap : break-word;
205+
206+ font-size : 80% ;
207+
208+ /* break long words */
200209 /*
201- display: flex;
202- flex-wrap: wrap;
210+ overflow-wrap: break-word;
211+ word-wrap: break-word;
212+ word-break: break-all;
213+ word-break: break-word;
214+ hyphens: auto;
203215 */
204216}
205217
206218.project-title {
207- font-size : 150% ;
219+ font-size : 180% ;
220+ font-family : monospace;
221+ margin-bottom : 0.8em ;
222+ }
223+
224+ .project-title-box {
225+ text-align : center;
226+ margin : auto;
208227}
209228
210229.project-info {
@@ -219,7 +238,8 @@ div.contact-box {
219238 display : flex;
220239 flex-direction : row;
221240 justify-content : flex-start;
222-
241+ max-width : 400px ;
242+ word-wrap : break-word;
223243 /* float: left; */
224244}
225245
You can’t perform that action at this time.
0 commit comments