Skip to content

Commit 7a43d50

Browse files
committed
deploy: 3dc1fc1
1 parent 314098e commit 7a43d50

File tree

5 files changed

+152
-119
lines changed

5 files changed

+152
-119
lines changed

0fc63e9fc93cce2e07ed.jpg

49.4 KB
Loading

10517428305efc409ee0.png

6.98 KB
Loading

index.css

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,6 @@ video {
428428
--tw-backdrop-saturate: ;
429429
--tw-backdrop-sepia: ;
430430
}
431-
.visible{
432-
visibility: visible;
433-
}
434-
.static{
435-
position: static;
436-
}
437431
.fixed{
438432
position: fixed;
439433
}
@@ -449,21 +443,9 @@ video {
449443
.block{
450444
display: block;
451445
}
452-
.inline-block{
453-
display: inline-block;
454-
}
455-
.inline{
456-
display: inline;
457-
}
458446
.flex{
459447
display: flex;
460448
}
461-
.table{
462-
display: table;
463-
}
464-
.contents{
465-
display: contents;
466-
}
467449
.hidden{
468450
display: none;
469451
}
@@ -476,9 +458,6 @@ video {
476458
.resize{
477459
resize: both;
478460
}
479-
.border{
480-
border-width: 1px;
481-
}
482461
.pb-5{
483462
padding-bottom: 1.25rem;
484463
}
@@ -492,10 +471,6 @@ video {
492471
.font-bold{
493472
font-weight: 700;
494473
}
495-
.blur{
496-
--tw-blur: blur(8px);
497-
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
498-
}
499474
.filter{
500475
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
501476
}
@@ -684,3 +659,50 @@ body {
684659
width: 30px;
685660
height: 30px;
686661
}
662+
663+
/** 動画 */
664+
.movieBox {
665+
overflow: hidden;
666+
position: relative;
667+
}
668+
669+
.movieBox .playBtn {
670+
position: absolute;
671+
background-image: url(10517428305efc409ee0.png);
672+
background-repeat: no-repeat;
673+
background-size: contain;
674+
width: 30%;
675+
height: 30%;
676+
}
677+
678+
.movieBox.play:hover {
679+
cursor: pointer;
680+
}
681+
682+
.movieBox.play:hover .playBtn {
683+
background-image: url(10517428305efc409ee0.png);
684+
}
685+
686+
.movieBox .playTime {
687+
position: absolute;
688+
right: 0px;
689+
text-align: right;
690+
}
691+
692+
.movieBox .playTime span {
693+
display: inline;
694+
text-decoration: none;
695+
margin-right: 10px;
696+
text-align: center;
697+
background: rgba(0, 0, 0, 0.7);
698+
color: #fff;
699+
border-radius: 20px;
700+
opacity: 0.9;
701+
padding: 0px 10px 0px 10px;
702+
}
703+
704+
/** iPhoneでは再生ボタンが表示されサムネイルが隠れてしまうため消す */
705+
video::-webkit-media-controls-start-playback-button {
706+
display: none !important;
707+
-webkit-appearance: none;
708+
}

0 commit comments

Comments
 (0)