diff options
Diffstat (limited to 'assets/style.css')
-rw-r--r-- | assets/style.css | 78 |
1 files changed, 78 insertions, 0 deletions
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; +} |