From ddb8d2035a2385d9fed4838ee3c4ef5c790f617f Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sat, 3 Aug 2024 17:37:27 -0600 Subject: modified: moved css and img to assets --- assets/style.css | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 assets/style.css (limited to 'assets/style.css') diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..9b493d6 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,78 @@ +body { + font-family: sans-serif ; + font-size: 16pt; + background: #fdfdfd; + color: #1d1d1d; +} + +main { + max-width: 1280px ; + margin: auto ; +} + +img { + max-width: 100% ; +} + +header h1 { + text-align: center ; +} + +footer { + text-align: center ; + clear: both ; +} + +/* For TAGLIST.HTML */ +.taglist { + text-align: center ; + clear: both ; +} + +/* For NEXTPREV.HTML */ +#nextprev { + /* The container for both the previous and next articles. */ +} +#prevart { + float: left ; + text-align: left ; +} +#nextart { + float: right ; + text-align: right ; +} +#nextart,#prevart { + max-width: 33% ; +} + +h1 { + text-align: center; +} + +.majors{ + text-align: center; + align-content: center; + justify-content: center; + display: flex; + max-width: 1280px; + list-style: none; + flex-wrap: wrap; + gap: 10px; +} + +.majors > li{ + min-height: 600px; + max-width: 300px; + display: flex; + flex-direction: column; + justify-content: space-between; +} + +#read-more { + font-weight: bold; + background-color: red; + padding: 4px; + border-radius: 6px; + justify-content: center; + margin: 0 auto; +} -- cgit v1.2.3