Template:Portal.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Greek -> English) |
||
Line 2: | Line 2: | ||
display:none; | display:none; | ||
} | } | ||
# | #portal_header { | ||
background: linear-gradient(to bottom, #fff, #e8f2f8); | background: linear-gradient(to bottom, #fff, #e8f2f8); | ||
border-bottom: solid 1px #a8d7fc; | border-bottom: solid 1px #a8d7fc; | ||
margin-bottom: 1rem; | margin-bottom: 1rem; | ||
} | } | ||
# | #portal_ribbon { | ||
background: url("https://upload.wikimedia.org/wikipedia/commons/e/e9/Greek_Roman_Laurel_wreath_vector.svg") no-repeat -55px -05px; | background: url("https://upload.wikimedia.org/wikipedia/commons/e/e9/Greek_Roman_Laurel_wreath_vector.svg") no-repeat -55px -05px; | ||
background-size: 300px 300px; | background-size: 300px 300px; | ||
Line 13: | Line 13: | ||
font-family: 'Open Sans', Sans-serif; | font-family: 'Open Sans', Sans-serif; | ||
} | } | ||
# | #portal_block-title { | ||
display: inline-block; | display: inline-block; | ||
margin-left: 14rem; | margin-left: 14rem; | ||
Line 21: | Line 21: | ||
color: #457; | color: #457; | ||
} | } | ||
# | #portal_block-title > h2 { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
Line 30: | Line 30: | ||
color: #457; | color: #457; | ||
} | } | ||
# | #portal_block-title > p { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
font-size: 95%; | font-size: 95%; | ||
} | } | ||
# | #portal_block-link { | ||
text-align: center; | text-align: center; | ||
font-size: 90%; | font-size: 90%; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
# | #portal_block-link-mobile { | ||
margin-bottom: 1rem; | margin-bottom: 1rem; | ||
} | } | ||
# | #portal_content:after { | ||
clear: both; | clear: both; | ||
display: table; | display: table; | ||
Line 51: | Line 51: | ||
} | } | ||
. | .portal_frame { | ||
box-shadow: 0 0 0.3rem #999; | box-shadow: 0 0 0.3rem #999; | ||
border-radius: 0.2rem; | border-radius: 0.2rem; | ||
Line 58: | Line 58: | ||
} | } | ||
. | .portal_frame h2 { | ||
letter-spacing: 0.01em; | letter-spacing: 0.01em; | ||
border-bottom: solid 0.2rem #bdd8fb; | border-bottom: solid 0.2rem #bdd8fb; | ||
margin: -0.4rem 0 0.5rem; | margin: -0.4rem 0 0.5rem; | ||
} | } | ||
. | .portal_frame-dummyh2 { | ||
font-family: 'Linux Libertine','Georgia','Times',serif; | font-family: 'Linux Libertine','Georgia','Times',serif; | ||
font-size: 1.3em; | font-size: 1.3em; | ||
Line 70: | Line 70: | ||
margin: -0.4rem 0 0.5rem; | margin: -0.4rem 0 0.5rem; | ||
} | } | ||
. | .portal_footer { | ||
padding: 1.3em 0 0; | padding: 1.3em 0 0; | ||
font-size: 85%; | font-size: 85%; | ||
Line 81: | Line 81: | ||
@media (min-width: 982px) { | @media (min-width: 982px) { | ||
# | #portal_content { | ||
display: flex; | display: flex; | ||
} | } | ||
# | #portal_content .portal-left, | ||
# | #portal_content .portal-right { | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
# | #portal_content .portal-right { | ||
min-width:40%; | min-width:40%; | ||
} | } | ||
. | .portal_frame:nth-child(1) { | ||
flex-grow: 1; | flex-grow: 1; | ||
} | } | ||
. | .portal_frame:nth-child(2) { | ||
flex-grow: 2; | flex-grow: 2; | ||
} | } | ||
. | .portal_frame:nth-child(3) { | ||
flex-grow: 3; | flex-grow: 3; | ||
} | } | ||
. | .portal-left .portal_frame { | ||
margin-right:1rem; | margin-right:1rem; | ||
} | } | ||
} | } |
Latest revision as of 11:08, 25 July 2022
#firstHeading {
display:none;
}
#portal_header {
background: linear-gradient(to bottom, #fff, #e8f2f8);
border-bottom: solid 1px #a8d7fc;
margin-bottom: 1rem;
}
#portal_ribbon {
background: url("https://upload.wikimedia.org/wikipedia/commons/e/e9/Greek_Roman_Laurel_wreath_vector.svg") no-repeat -55px -05px;
background-size: 300px 300px;
padding: 1.5rem 1rem 1rem;
font-family: 'Open Sans', Sans-serif;
}
#portal_block-title {
display: inline-block;
margin-left: 14rem;
margin-bottom: 1rem;
text-align: left;
line-height: 1.6;
color: #457;
}
#portal_block-title > h2 {
margin: 0;
padding: 0;
border: none;
font-size: 200%;
font-weight: bold;
font-family: 'Open Sans', Sans-serif;
color: #457;
}
#portal_block-title > p {
margin: 0;
padding: 0;
font-size: 95%;
}
#portal_block-link {
text-align: center;
font-size: 90%;
font-weight: bold;
}
#portal_block-link-mobile {
margin-bottom: 1rem;
}
#portal_content:after {
clear: both;
display: table;
content: '';
}
.portal_frame {
box-shadow: 0 0 0.3rem #999;
border-radius: 0.2rem;
padding: 1.2rem;
margin-bottom: 1rem;
}
.portal_frame h2 {
letter-spacing: 0.01em;
border-bottom: solid 0.2rem #bdd8fb;
margin: -0.4rem 0 0.5rem;
}
.portal_frame-dummyh2 {
font-family: 'Linux Libertine','Georgia','Times',serif;
font-size: 1.3em;
letter-spacing: 0.01em;
border-bottom: solid 0.15rem #bdd8fb;
margin: -0.4rem 0 0.5rem;
}
.portal_footer {
padding: 1.3em 0 0;
font-size: 85%;
text-align: right;
}
.infomain {
background-color:#f6fafd;
}
@media (min-width: 982px) {
#portal_content {
display: flex;
}
#portal_content .portal-left,
#portal_content .portal-right {
display: flex;
flex-direction: column;
}
#portal_content .portal-right {
min-width:40%;
}
.portal_frame:nth-child(1) {
flex-grow: 1;
}
.portal_frame:nth-child(2) {
flex-grow: 2;
}
.portal_frame:nth-child(3) {
flex-grow: 3;
}
.portal-left .portal_frame {
margin-right:1rem;
}
}