Skip to content

Commit 6e73608

Browse files
committed
doc: Rearrange and update styles for video-label elements
* doc/index.html (gptel):
1 parent eefa872 commit 6e73608

File tree

1 file changed

+6
-24
lines changed

1 file changed

+6
-24
lines changed

doc/index.html

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,13 @@
7676
}
7777
.video-label {
7878
writing-mode: horizontal-tb;
79-
text-align: left;
79+
text-align: center;
80+
font-size: 1.3em;
81+
font-weight: bold;
8082
margin-bottom: 3px; /* space under label in 1-col mode */
8183
padding: 0px 0 5px 0;
84+
margin-bottom: 12px;
85+
padding: 6px 12px;
8286
min-width: 0;
8387
}
8488
.video-section {
@@ -107,29 +111,7 @@
107111
background: var(--body-bg);
108112
padding: 2em 0;
109113
}
110-
.video-label {
111-
writing-mode: vertical-rl;
112-
text-orientation: mixed;
113-
text-align: center;
114-
font-size: 1.3em;
115-
font-weight: bold;
116-
color: #2e901e;
117-
letter-spacing: 0.1em;
118-
border-radius: 12px;
119-
padding: 10px 3px;
120-
min-width: 32px;
121-
flex-shrink: 0;
122-
}
123-
@media (max-width: 1200px) {
124-
.video-label {
125-
writing-mode: horizontal-tb;
126-
text-align: left;
127-
margin-bottom: 12px;
128-
padding: 6px 12px;
129-
min-width: 0;
130-
}
131-
}
132-
114+
}
133115
</style>
134116
</head>
135117
<body>

0 commit comments

Comments
 (0)