Difference between revisions of "WangYue.css"
(48 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
display: flex; | display: flex; | ||
justify-content: center; | justify-content: center; | ||
− | width: | + | width: 100%; |
height: auto; | height: auto; | ||
margin: auto; | margin: auto; | ||
Line 8: | Line 8: | ||
flex-direction: column; | flex-direction: column; | ||
font-family: "Brush Script MT"; | font-family: "Brush Script MT"; | ||
+ | background-color: #F7F6f4; | ||
} | } | ||
Line 23: | Line 24: | ||
.header-title { | .header-title { | ||
width: 94%; | width: 94%; | ||
− | font-size: | + | font-size: 70px; |
letter-spacing: 2px; | letter-spacing: 2px; | ||
word-spacing: 2px; | word-spacing: 2px; | ||
− | |||
font-weight: 700; | font-weight: 700; | ||
text-decoration: none; | text-decoration: none; | ||
Line 32: | Line 32: | ||
font-variant: normal; | font-variant: normal; | ||
text-transform: none; | text-transform: none; | ||
+ | } | ||
+ | |||
+ | .quote { | ||
+ | font-size: 30px; | ||
+ | text-align: center; | ||
} | } | ||
Line 37: | Line 42: | ||
width: 30%; | width: 30%; | ||
height: auto; | height: auto; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
font-size:1.7em; | font-size:1.7em; | ||
} | } | ||
Line 60: | Line 60: | ||
height: auto; | height: auto; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
+ | } | ||
+ | |||
+ | .hr-image { | ||
+ | width 100px; | ||
+ | height: auto; | ||
+ | text-align: center; | ||
} | } | ||
.info-table { | .info-table { | ||
margin: auto; | margin: auto; | ||
− | width: | + | width: 30%; |
padding: 0 1em; | padding: 0 1em; | ||
} | } | ||
Line 72: | Line 78: | ||
width: 50%; | width: 50%; | ||
} | } | ||
− | + | ||
.icon { | .icon { | ||
display: flex; | display: flex; | ||
− | + | margin-left: auto; | |
− | + | margin-right: auto; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | margin- | ||
} | } | ||
Line 106: | Line 93: | ||
.center { | .center { | ||
text-align: center; | text-align: center; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 119: | Line 99: | ||
font-size: 1.7em; | font-size: 1.7em; | ||
font-weight: 600; | font-weight: 600; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.hooks-container { | .hooks-container { | ||
− | |||
− | |||
width: 94%; | width: 94%; | ||
padding: 1em 3%; | padding: 1em 3%; | ||
Line 138: | Line 110: | ||
.hooks-container, .contacts-container .label { | .hooks-container, .contacts-container .label { | ||
− | + | margin-bottom: 1em; | |
} | } | ||
.contacts-container, .gallery-container, .logs-container { | .contacts-container, .gallery-container, .logs-container { | ||
− | |||
− | |||
width: 94%; | width: 94%; | ||
padding: 1em 3%; | padding: 1em 3%; | ||
+ | font-size: 1.7em; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
Line 160: | Line 131: | ||
.hook-table-label { | .hook-table-label { | ||
− | |||
font-weight: 600; | font-weight: 600; | ||
padding-left: 0.5em; | padding-left: 0.5em; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
.contacts-container, .gallery-container { | .contacts-container, .gallery-container { | ||
− | |||
− | |||
width: 94%; | width: 94%; | ||
padding: 1em 3%; | padding: 1em 3%; | ||
+ | font-size: 1.7em; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
Line 188: | Line 144: | ||
.contacts-container a { | .contacts-container a { | ||
− | + | color: blue | |
} | } | ||
.contacts-container a:visited { | .contacts-container a:visited { | ||
− | + | color: purple | |
} | } | ||
.contacts-container a:hover { | .contacts-container a:hover { | ||
− | + | color: darkred | |
} | } | ||
.logs-container { | .logs-container { | ||
− | + | margin: 0 1em; | |
+ | font-size: 1.7em; | ||
} | } | ||
.logs-container a { | .logs-container a { | ||
− | + | color: blue | |
} | } | ||
.logs-container a:visited { | .logs-container a:visited { | ||
− | + | color: purple | |
} | } | ||
.logs-container a:hover { | .logs-container a:hover { | ||
− | + | color: darkred | |
} | } | ||
− | .gallery-content | + | .gallery-content { |
− | + | display: flex; | |
− | + | flex-wrap: wrap; | |
− | + | justify-content: center; | |
− | + | font-family: Arial; | |
+ | font-size: 15px; | ||
+ | text-align: center; | ||
} | } | ||
.gallery-content img { | .gallery-content img { | ||
height: 240px; | height: 240px; | ||
− | width: | + | width: auto; |
− | |||
} | } | ||
.gallery-content a { | .gallery-content a { | ||
− | + | color: blue | |
} | } | ||
.gallery-content a:visited { | .gallery-content a:visited { | ||
− | + | color: purple | |
} | } | ||
.gallery-content a:hover { | .gallery-content a:hover { | ||
− | + | color: darkred | |
} | } |
Revision as of 17:30, 8 November 2024
.container { display: flex; justify-content: center; width: 100%; height: auto; margin: auto; display: flex; flex-direction: column; font-family: "Brush Script MT"; background-color: #F7F6f4; }
.top-section { display: flex; }
.header-container { width: 100%; display: flex; justify-content: center; padding: 2em 0; }
.header-title { width: 94%; font-size: 70px; letter-spacing: 2px; word-spacing: 2px; font-weight: 700; text-decoration: none; font-style: normal; font-variant: normal; text-transform: none; }
.quote { font-size: 30px; text-align: center; }
.left-panel { width: 30%; height: auto; font-size:1.7em; }
.right-panel { width: 70%; display: flex; flex-direction: column; justify-content: center; }
.portrait-image { width: 100%; }
.portrait-image img { width: 100%; height: auto; margin-bottom: 1em; }
.hr-image { width 100px; height: auto; text-align: center; }
.info-table { margin: auto; width: 30%; padding: 0 1em; }
.info-table-label { font-weight: 600; width: 50%; }
.icon { display: flex; margin-left: auto; margin-right: auto; }
.biography-container { width: 94%; padding: 1em 3%; font-size: 1.7em; }
.center { text-align: center; }
.label { margin: 0.2em 0; font-size: 1.7em; font-weight: 600; }
.hooks-container { width: 94%; padding: 1em 3%; font-size: 1.7em; display: flex; flex-direction: column; }
.hooks-container, .contacts-container .label { margin-bottom: 1em; }
.contacts-container, .gallery-container, .logs-container { width: 94%; padding: 1em 3%; font-size: 1.7em; display: flex; flex-direction: column; }
.hooks-content { width: 100%; display: flex; }
.hooks-table { width: 70%; }
.hook-table-label { font-weight: 600; padding-left: 0.5em; }
.contacts-container, .gallery-container { width: 94%; padding: 1em 3%; font-size: 1.7em; display: flex; flex-direction: column; }
.contacts-container a { color: blue }
.contacts-container a:visited { color: purple }
.contacts-container a:hover { color: darkred }
.logs-container { margin: 0 1em; font-size: 1.7em; }
.logs-container a { color: blue }
.logs-container a:visited { color: purple }
.logs-container a:hover { color: darkred }
.gallery-content { display: flex; flex-wrap: wrap; justify-content: center; font-family: Arial; font-size: 15px; text-align: center; }
.gallery-content img { height: 240px; width: auto; }
.gallery-content a { color: blue }
.gallery-content a:visited { color: purple }
.gallery-content a:hover { color: darkred }