User:VZP10224(WjpUG)/Banner001
Appearance
<style>
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-full-banner {
display: grid;
grid-template-columns: min-content 1fr min-content;
grid-template-rows: repeat(3, 1fr);
grid-auto-columns: min-content;
width: 100%;
height: 100%;
box-sizing: border-box;
text-decoration: none;
overflow: hidden;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a.cnotice {
position: relative;
box-sizing: border-box;
width: 100%;
overflow: hidden;
height: 180px;
background-color: var(--background-color-neutral-subtle);
border-radius: 2px;
border: 1px solid var(--border-color-base);
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1 {
all: revert;
white-space: pre-wrap;
text-align: center;
line-height: 1em;
box-sizing: border-box;
text-wrap: wrap;
font-style: normal;
color: var(--color-base);
font-family: sans-serif;
font-weight: 700;
text-decoration: none;
font-size: 14px;
letter-spacing: 0.01em;
text-transform: none;
grid-row: 1;
align-self: start;
grid-column: 2;
justify-self: center;
min-width: 200px;
max-width: 95%;
min-height: 18px;
max-height: 100%;
margin-top: 5px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
opacity: 1;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-tablet,
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-desktop {
display: none;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-toggle-box {
box-sizing: border-box;
width: fit-content;
border: 0;
opacity: 1;
background-color: var(--background-color-backdrop-dark);
border-radius: 999px;
position: absolute;
top: 0;
right: 0;
margin-top: 4px;
margin-right: 4px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 4px;
padding-right: 6px;
padding-bottom: 4px;
padding-left: 6px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-toggle-box-icon {
box-sizing: border-box;
stroke: var(--color-inverted);
stroke-width: 2;
width: 10px;
height: 10px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-container {
box-sizing: border-box;
overflow: hidden;
min-width: fit-content;
max-width: fit-content;
min-height: fit-content;
max-height: fit-content;
position: absolute;
top: 60px;
left: 5px;
margin: 0px;
padding: 0px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-images {
display: flex;
position: relative;
gap: 0px;
--gallery-gap: 0px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-images__duplicates {
display: flex;
position: absolute;
top: 0;
gap: 0px;
left: calc( 100% + 0px );
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-image {
display: block;
flex: 0 0 auto;
min-width: 285px;
max-width: 285px;
min-height: 110px;
max-height: 110px;
object-position: bottom;
object-fit: cover;
}
@media screen and (min-width: 640px) {
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a.cnotice {
all: revert;
position: relative;
box-sizing: border-box;
width: 100%;
overflow: hidden;
height: 100px;
background-color: var(--background-color-neutral-subtle);
border-radius: 2px;
border: 1px solid var(--border-color-base);
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1 {
all: revert;
white-space: pre-wrap;
text-align: center;
line-height: 1em;
box-sizing: border-box;
text-wrap: wrap;
font-style: normal;
color: var(--color-base);
font-family: sans-serif;
font-weight: 700;
text-decoration: none;
font-size: 16px;
letter-spacing: 0.01em;
text-transform: none;
position: absolute;
top: 20px;
left: 250px;
min-width: 200px;
max-width: 100%;
min-height: 16px;
max-height: 100%;
margin-top: 0px;
margin-right: 20px;
margin-bottom: 0px;
margin-left: 20px;
opacity: 0.9;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-mobile,
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-desktop {
display: none;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-tablet .cnotice-text-1-run-1 {
box-sizing: border-box;
text-wrap: wrap;
font-size: 18px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-tablet .cnotice-text-1-run-2 {
box-sizing: border-box;
text-wrap: wrap;
font-size: 14px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-toggle-box {
all: revert;
box-sizing: border-box;
width: fit-content;
border: 0;
opacity: 1;
background-color: var(--background-color-backdrop-dark);
border-radius: 999px;
position: absolute;
top: 0;
right: 0;
margin-top: 8px;
margin-right: 8px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 8px;
padding-right: 8px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-toggle-box-icon {
all: revert;
box-sizing: border-box;
stroke: var(--color-inverted);
stroke-width: 2;
width: 12px;
height: 12px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-container {
all: revert;
box-sizing: border-box;
overflow: hidden;
width: 200px;
height: 100px;
position: absolute;
top: 0px;
left: 0px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-images {
all: revert;
display: flex;
position: relative;
gap: 2px;
--gallery-gap: 2px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-images__duplicates {
all: revert;
display: flex;
position: absolute;
top: 0;
gap: 2px;
left: calc( 100% + 2px );
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-image {
all: revert;
display: block;
flex: 0 0 auto;
width: 200px;
height: 100px;
object-position: bottom;
object-fit: cover;
}
}
@media screen and (min-width: 1024px) {
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a.cnotice {
all: revert;
position: relative;
box-sizing: border-box;
width: 100%;
overflow: hidden;
height: 100px;
background-color: var(--background-color-neutral-subtle);
border-radius: 2px;
margin: 0px;
padding: 0px;
border: 1px solid var(--border-color-base);
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1 {
all: revert;
white-space: pre-wrap;
text-align: left;
line-height: 1em;
box-sizing: border-box;
text-wrap: wrap;
font-style: normal;
color: var(--color-base);
font-family: sans-serif;
font-weight: 700;
text-decoration: none;
font-size: 18px;
letter-spacing: 0.01em;
text-transform: capitalize;
position: absolute;
top: 20px;
left: 280px;
min-width: 200px;
max-width: 100%;
min-height: 16px;
max-height: 100%;
margin: 0px;
padding: 0px;
opacity: 1;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-mobile,
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-tablet {
display: none;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-desktop .cnotice-text-1-run-1 {
box-sizing: border-box;
text-wrap: wrap;
font-size: 14px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-text-1-desktop .cnotice-text-1-run-2 {
box-sizing: border-box;
text-wrap: wrap;
font-size: 14px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-toggle-box {
all: revert;
box-sizing: border-box;
width: fit-content;
border: 0;
opacity: 1;
background-color: var(--background-color-backdrop-dark);
border-radius: 999px;
position: absolute;
top: 0;
right: 0;
margin-top: 8px;
margin-right: 8px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 8px;
padding-right: 8px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-toggle-box-icon {
all: revert;
box-sizing: border-box;
stroke: var(--color-inverted);
stroke-width: 2;
width: 12px;
height: 12px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-container {
all: revert;
box-sizing: border-box;
overflow: hidden;
width: fit-content;
height: fit-content;
position: absolute;
top: 0px;
left: 0px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-images {
all: revert;
display: flex;
position: relative;
gap: 2px;
--gallery-gap: 2px;
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-images__duplicates {
all: revert;
display: flex;
position: absolute;
top: 0;
gap: 2px;
left: calc( 100% + 2px );
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a .cnotice-gallery-image {
all: revert;
display: block;
flex: 0 0 auto;
width: 250px;
height: 100px;
object-position: bottom;
object-fit: cover;
}
}
#cn-7b48fca6-6df2-4313-9982-aa3f0c1b8e5a.cnotice:hover .cnotice-gallery-images {
animation:cnotice-gallery-scroll-right 5s linear infinite
}
@keyframes cnotice-gallery-scroll-right {
0% {
transform:translateX(0%)
}
100% {
transform:translateX(calc(-100% - var(--gallery-gap, 0px)))
}
}
</style>
<a class="cnotice-full-banner" href="https://meta.wikimedia.org/wiki/Wikimedians_of_Japan_User_Group/events/Japan_Wikimedia_Conference_2026">
Japan Wikimedia Conference 2026 2026年12月6日(日) 東京・慶応義塾大学 参加登録はこちら
Japan Wikimedia Conference 2026 2026年12月6日(日) 東京・慶応義塾大学 参加登録はこちら
Japan Wikimedia Conference 2026 2026年12月6日(日) 東京・慶応義塾大学 参加登録はこちら
<img class="cnotice-gallery-image" src="//upload.wikimedia.org/wikipedia/commons/7/79/Old_Keio_University_Library_3.jpg" alt="" aria-hidden="true" />
</a> <button class="cnotice-toggle-box" type="button" aria-label="Hide" title="Hide" onclick="mw.centralNotice.hideBanner();">
<svg
class="cnotice-toggle-box-icon" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M14.3642 1.63672L8.00019 8.00068M8.00019 8.00068L1.63623 14.3646M8.00019 8.00068L14.3642 14.3646M8.00019 8.00068L1.63623 1.63672" stroke-linecap="round" /> </svg>
</button>