Difference between revisions of "WangYue.css"

From City of Hope MUSH
Jump to navigation Jump to search
(15 intermediate revisions by the same user not shown)
Line 35: Line 35:
  
 
.quote {
 
.quote {
width: 94%;
 
 
font-size: 30px;
 
font-size: 30px;
text-decoration: none;
+
text-align: center;
font-style: normal;
 
font-variant: normal;
 
text-transform: none;
 
justify-content: center;
 
 
}
 
}
 
 
Line 86: Line 81:
 
.icon {
 
.icon {
 
display: flex;
 
display: flex;
justify-content: center;
+
margin-left: auto;
}
+
margin-right: auto;
 
.photo-banner {
 
width: 100%;
 
}
 
 
.photo-banner img {
 
width: 100%;
 
height: auto;
 
}
 
 
.mid-banner {
 
margin-bottom: -1em;
 
 
}
 
}
 
 
Line 116: Line 99:
 
font-size: 1.7em;
 
font-size: 1.7em;
 
font-weight: 600;
 
font-weight: 600;
font-style: italic;
 
}
 
 
.white {
 
color: lightgray;
 
border-color: lightgray;
 
 
}
 
}
 
 
Line 133: Line 110:
 
 
 
.hooks-container, .contacts-container .label {
 
.hooks-container, .contacts-container .label {
margin-bottom: 1em;
+
margin-bottom: 1em;
 
}
 
}
 
 
Line 139: Line 116:
 
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 155: Line 133:
 
font-weight: 600;
 
font-weight: 600;
 
padding-left: 0.5em;
 
padding-left: 0.5em;
}
 
 
.anim-gif {
 
width: 30%;
 
display: flex;
 
flex-direction: column;
 
justify-content: center;
 
}
 
 
.anim-gif img {
 
width: 100%;
 
height: auto;
 
border-radius: 30%;
 
 
}
 
}
 
 
Line 173: Line 138:
 
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 178: Line 144:
 
 
 
.contacts-container a {
 
.contacts-container a {
  color: blue
+
color: blue
 
}
 
}
 
 
 
.contacts-container a:visited {
 
.contacts-container a:visited {
  color: purple
+
color: purple
 
}
 
}
 
 
 
.contacts-container a:hover {
 
.contacts-container a:hover {
  color: darkred
+
color: darkred
 
}
 
}
 
 
 
.logs-container {
 
.logs-container {
  margin: 0 1em;
+
margin: 0 1em;
 +
font-size: 1.7em;
 
}
 
}
 
 
 
.logs-container a {
 
.logs-container a {
  color: blue
+
color: blue
 
}
 
}
 
 
 
.logs-container a:visited {
 
.logs-container a:visited {
  color: purple
+
color: purple
 
}
 
}
 
 
 
.logs-container a:hover {
 
.logs-container a:hover {
  color: darkred
+
color: darkred
 
}
 
}
 
 
.gallery-content ul {
+
.gallery-content {
  display: flex;
+
display: flex;
  flex-wrap: wrap;
+
flex-wrap: wrap;
  list-style-type: none;
+
justify-content: center;
  justify-content: center;
+
font-family: Arial;
 +
font-size: 15px;
 +
text-align: center;
 
}
 
}
 
 
 
.gallery-content img {
 
.gallery-content img {
 
height: 240px;
 
height: 240px;
width: 100%;
+
width: auto;
max-width: 100%;
 
 
}
 
}
 
 
 
.gallery-content a {
 
.gallery-content a {
  color: blue
+
color: blue
 
}
 
}
 
 
 
.gallery-content a:visited {
 
.gallery-content a:visited {
  color: purple
+
color: purple
 
}
 
}
 
 
 
.gallery-content a:hover {
 
.gallery-content a:hover {
  color: darkred
+
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 }