|
27 | 27 | font-family: 'Quicksand-VariableFont_wght'; |
28 | 28 | src: url(../fonts/Quicksand-VariableFont_wght.ttf); |
29 | 29 | } |
| 30 | + |
| 31 | +@font-face { |
| 32 | + font-family: 'CreteRound-Regular'; |
| 33 | + src: url(../fonts/CreteRound-Regular.ttf); |
| 34 | +} |
30 | 35 | /************End of Font face Formatting************/ |
31 | 36 |
|
32 | 37 | /************Root Formatting************/ |
|
35 | 40 | --primary-font-size: 6.5em;/*Primary font size*/ |
36 | 41 | --secondary-round-font: 'Quicksand-VariableFont_wght';/*Font family for h2 tags*/ |
37 | 42 | --second-font-size: 4em;/*Second font size for h2 tags*/ |
| 43 | + --card-title-font-family: 'CreteRound-Regular';/*Font family for h3 tags in project item titles*/ |
| 44 | + --card-font-size: 4em;/*Font size for h3 tags in project item titles*/ |
38 | 45 | --footer-font-family: monospace;; |
39 | | - --footer-font-size: 3em;/*Font size for footer*/ |
| 46 | + --footer-font-size: 2em;/*Font size for footer*/ |
40 | 47 | } |
41 | 48 | /************End of Root Formatting************/ |
42 | 49 |
|
@@ -76,6 +83,61 @@ section h2 { |
76 | 83 | font-family: var(--secondary-round-font); |
77 | 84 | font-size: var(--second-font-size); |
78 | 85 | } |
| 86 | + |
| 87 | +/**Project section Formatting**/ |
| 88 | +/*Format Project Grid*/ |
| 89 | +.projectGrid { |
| 90 | + display: grid; |
| 91 | + grid-template-columns: 1fr;/*Create a 1 column grid*/ |
| 92 | + gap: 20px; |
| 93 | + padding: 15px; |
| 94 | +} |
| 95 | + |
| 96 | +/*Format Project Grid Items*/ |
| 97 | +.projectGridItem { |
| 98 | + background-image: url(../images/darkcardbg.jpg); |
| 99 | + background-size: cover; |
| 100 | + background-position: center; |
| 101 | + display: flex; |
| 102 | + flex-direction: column; |
| 103 | + align-items: center; |
| 104 | + justify-content: center; |
| 105 | + margin: auto; |
| 106 | + width: 75%; |
| 107 | + border-radius: 10px; |
| 108 | + padding: 50px; |
| 109 | +} |
| 110 | + |
| 111 | +/*Format Project Grid Item Images*/ |
| 112 | +.projectGridItem img { |
| 113 | + width: 100%; |
| 114 | + padding: 20px; |
| 115 | + border-radius: 15px; |
| 116 | +} |
| 117 | + |
| 118 | +/*Format Project Grid Item Titles*/ |
| 119 | +.projectGridItem h3 { |
| 120 | + font-family: var(--card-title-font-family); |
| 121 | + font-size: var(--card-font-size); |
| 122 | + color: white; |
| 123 | + padding: 20px; |
| 124 | +} |
| 125 | + |
| 126 | +/*Format project grid item buttons*/ |
| 127 | +.projectGridItem a { |
| 128 | + margin-top: 10px; |
| 129 | + background-color: #f5f5f5; |
| 130 | + font-size: 4.5em; |
| 131 | + padding: 30px; |
| 132 | + color: black; |
| 133 | + text-decoration: none; |
| 134 | + font-weight: bolder; |
| 135 | + font-family: sans-serif; |
| 136 | + text-transform: uppercase; |
| 137 | + display: inline-block; |
| 138 | + width: 80%; |
| 139 | + border-radius: 10px; |
| 140 | +} |
79 | 141 | /************End of Section Formatting************/ |
80 | 142 |
|
81 | 143 | /************Footer Formatting************/ |
|
0 commit comments