VANCOUVER

Объявление

Мы осознанно шли на этот риск, но тогда почему же было так не по себе? Потому-что инициатором этого риска был я сам. Только я. И винить в случае неудачи стоит себя. Но никое чувство вины не сможет исправить последствия моих действий, если они коснуться кого-то еще. Ее. читать
Патроны, лекарства, крышки... Нет, кажется мне, главной валютой постапа будет кофе!) - Рейн♥

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » VANCOUVER » Личные дневники » Ну, что у нас плохого? (с)


Ну, что у нас плохого? (с)

Сообщений 1 страница 23 из 23

1

...

0

2

Cusco, Peru

+4

3

Machu Picchu Pueblo, Peru

+3

4

Machu Picchu, Peru

+3

5

Bella Ramsy
YaYa Gosselin
Sophie Thatcher
Jessica Henwick, Rosabell Laurenti Sellers, Keisha Castle-Hughes

Отредактировано Juan Rivera (2023-01-10 18:19:48)

+2

6

[html]
<style>
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  height: 450px;
  width: 750px;
}

.bg {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.bg div {
  position: relative;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 101%;
  height: 102%;
  background: url("https://sm.ign.com/ign_ap/gallery/t/the-mandal/the-mandalorian-cara-dunes-funko-pop-reveal_wymk.jpg") center no-repeat;
  background-size: cover;
  -webkit-filter: blur(7px);
}

.lens {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 275px;
  height: 275px;
  border-radius: 50%;
  background: url("https://sm.ign.com/ign_ap/gallery/t/the-mandal/the-mandalorian-cara-dunes-funko-pop-reveal_wymk.jpg") center no-repeat fixed;
  background-size: cover;
  z-index: 2;
  cursor: none;
}
.lens span:nth-child(1) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(24deg);
  transform: rotate(24deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(1) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(2) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(48deg);
  transform: rotate(48deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(2) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(3) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(72deg);
  transform: rotate(72deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(3) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(4) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(96deg);
  transform: rotate(96deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(4) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(5) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(120deg);
  transform: rotate(120deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(5) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(6) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(144deg);
  transform: rotate(144deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(6) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(7) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(168deg);
  transform: rotate(168deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(7) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(8) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(192deg);
  transform: rotate(192deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(8) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(9) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(216deg);
  transform: rotate(216deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(9) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(10) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(240deg);
  transform: rotate(240deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(10) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(11) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(264deg);
  transform: rotate(264deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(11) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(12) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(288deg);
  transform: rotate(288deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(12) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(13) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(312deg);
  transform: rotate(312deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(13) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(14) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(336deg);
  transform: rotate(336deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(14) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(15) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(15) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
.lens span:nth-child(16) {
  position: absolute;
  top: -22px;
  left: 113px;
  height: 165px;
  width: 50px;
  -webkit-transform: rotate(384deg);
  transform: rotate(384deg);
  -webkit-transform-origin: bottom center;
  transform-origin: bottom center;
}
.lens span:nth-child(16) div {
  position: absolute;
  width: 100%;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}
</style>

<div class="bg">
  <div></div>
</div>
<div class="lens" style="border: 2px #ccc solid">
</div>

<script>
$(document).ready(function() {
  var $lens = $('.lens'),
  lensWHalf = $lens.width() / 2;
  $(document).on('mousemove', function(e) {
    $lens.css({
      //Subtract half width of the container, so cursor would be right in the center
      "left": e.pageX - lensWHalf,
      "top": e.pageY - lensWHalf
    });
  })
})</script>
[/html]

Отредактировано Juan Rivera (2023-01-15 02:26:17)

+2

7

[html]
<style>
    #episode {
        margin: auto;
        margin-top: 50px;
        margin-bottom: 50px;
        width: 600px;
        display: flex;
        background-color: #FFF;
        -webkit-box-shadow: 10px 10px 23px 0px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 10px 10px 23px 0px rgba(0, 0, 0, 0.75);
        box-shadow: 10px 10px 23px 0px rgba(0, 0, 0, 0.75);
    }
    #episode-left-column {
        width: 400px
    }

    #episode-left-column-image {
        margin-left: 10px;
        width: 380px;
        margin-top: -30px;
    }

    #episode-left-column-image img {
        width: 100%;
        -webkit-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.75);
        box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.75);
    }

    .separator {
        margin-top: 10px;
        border: 1px solid #C3C3C3;
    }

    #episode-left-column-date {
        font-size: 70px;
        color: #C3C3C3;
    }

    #episode-left-column-month {
        font-size: 28px;
        color: #C3C3C3;
    }

    #episode-left-column-year {
        font-size: 28px;
        color: #C3C3C3;
    }

    #episode-left-column-meta {
       display: flex;
       padding: 10px;
       align-items: center;
       bottom: 60px;
       position: absolute;
    }

    #episode-left-column-date {
        text-align: center;
    }

    .episode-left-column-character {
        color: #6c6c6c
    }

    #episode-title {
        font-family: 'Arsenal';
        text-transform: uppercase;
        font-size: 28px;
    }

   #episode-right-column {
     padding: 10px;
   }

}

</style>

<div id="episode">
    <div id="episode-left-column">
        <div id="episode-left-column-image">
            <img src="https://i.imgur.com/ncNLMnA.gif" />
        </div>
        <div id="episode-left-column-meta">
            <div>
            <div id="episode-left-column-date-block">
                <div id="episode-left-column-date">22</div>
                <div>
                <span id="episode-left-column-month">JUNE</span>
                <span id="episode-left-column-year">2022</span>
                    </div>
            </div>
                </div>
            <div id="episode-left-column-character-block">
                <span class="episode-left-column-character">Nikole Kramer,</span>
                <span class="episode-left-column-character">Juan Rivera</span>
            </div>
        </div>
    </div>
    <div id="episode-right-column">
        <h2 id="episode-title">Mercy</h2>
        <div class="separator"></div>
        <p>Прекрасный солнечный летний день, чтобы зайти в кафе за освежающим ягодным лимонадом после отправиться в парк. Там если повезет, то можно найти свободную лавочку у водоема и устроившись в теньке спокойно почитать книгу под пение птиц.  И все это можно было бы осуществить, если бы не одно «но». Кафе все разграблены, лавочки разобраны на дрова, собственно, туда же пошли и книги. Да, можно послушать пение чертовых птиц.</p>
    </div>
</div>
[/html]

Отредактировано Juan Rivera (2023-01-12 00:44:40)

+3

8

[html]
<style>
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  height: 601px!important;
   width: 750px!important;
    margin: 0;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 900px;
  height: 600px;
  border: 2px solid white;
}
.container .img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 900px 100%;
}
.container .background-img {
  background-image: url("https://i0.wp.com/mikeroshuk.com/wp-content/uploads/2021/12/step2.jpg?w=1800&ssl=1");
}
.container .foreground-img {
  background-image: url("https://i0.wp.com/mikeroshuk.com/wp-content/uploads/2021/12/original.jpg?w=1800&ssl=1");
  width: 50%;
}
.container .slider {
  position: absolute;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 100%;
  background: rgba(242, 242, 242, 0.3);
  outline: none;
  margin: 0;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .slider:hover {
  background: rgba(242, 242, 242, 0.1);
}
.container .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 6px;
  height: 600px;
  background: white;
  cursor: pointer;
}
.container .slider::-moz-range-thumb {
  width: 6px;
  height: 600px;
  background: white;
  cursor: pointer;
}
.container .slider-button {
  pointer-events: none;
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .slider-button:after {
  content: "";
  padding: 3px;
  display: inline-block;
  border: solid #5D5D5D;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.container .slider-button:before {
  content: "";
  padding: 3px;
  display: inline-block;
  border: solid #5D5D5D;
  border-width: 0 2px 2px 0;
  transform: rotate(135deg);
}
</style>

  <div class='container'>
    <div class='img background-img'></div>
    <div class='img foreground-img'></div>
    <input type="range" min="1" max="100" value="50" class="slider" name='slider' id="slider">
    <div class='slider-button'></div>
  </div>

<script>
$("#slider").on("input change", (e)=>{
  const sliderPos = e.target.value;
  // Update the width of the foreground image
  $('.foreground-img').css('width', `${sliderPos}%`)
  // Update the position of the slider button
  $('.slider-button').css('left', `calc(${sliderPos}% - 18px)`)
});
</script>
[/html]

Отредактировано Juan Rivera (2023-01-15 20:00:29)

+5

9

[html]
<style>
@import url("https://fonts.googleapis.com/css?family=Cardo:400i|Rubik:400,700&display=swap");
:root {
  --d: 700ms;
  --e: cubic-bezier(0.19, 1, 0.22, 1);
  --font-sans: 'Rubik', sans-serif;
  --font-serif: 'Cardo', serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  display: grid;
  place-items: center;
}

.page-content {
  display: grid;
  grid-gap: 1rem;
  padding: 1rem;
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-sans);
}
@media (min-width: 600px) {
  .page-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 800px) {
  .page-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
          align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  //box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 2px 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1), 0 16px 16px rgba(0, 0, 0, 0.1);
}
@media (min-width: 600px) {
  .card {
    height: 305px;
  }
}
.card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: 0 0;
  -webkit-transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: -webkit-transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e);
  transition: transform calc(var(--d) * 1.5) var(--e), -webkit-transform calc(var(--d) * 1.5) var(--e);
  pointer-events: none;
}
.card:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  //background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(11.7%, rgba(0, 0, 0, 0.009)), color-stop(22.1%, rgba(0, 0, 0, 0.034)), color-stop(31.2%, rgba(0, 0, 0, 0.072)), color-stop(39.4%, rgba(0, 0, 0, 0.123)), color-stop(46.6%, rgba(0, 0, 0, 0.182)), color-stop(53.1%, rgba(0, 0, 0, 0.249)), color-stop(58.9%, rgba(0, 0, 0, 0.32)), color-stop(64.3%, rgba(0, 0, 0, 0.394)), color-stop(69.3%, rgba(0, 0, 0, 0.468)), color-stop(74.1%, rgba(0, 0, 0, 0.54)), color-stop(78.8%, rgba(0, 0, 0, 0.607)), color-stop(83.6%, rgba(0, 0, 0, 0.668)), color-stop(88.7%, rgba(0, 0, 0, 0.721)), color-stop(94.1%, rgba(0, 0, 0, 0.762)), to(rgba(0, 0, 0, 0.79)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.009) 11.7%, rgba(0, 0, 0, 0.034) 22.1%, rgba(0, 0, 0, 0.072) 31.2%, rgba(0, 0, 0, 0.123) 39.4%, rgba(0, 0, 0, 0.182) 46.6%, rgba(0, 0, 0, 0.249) 53.1%, rgba(0, 0, 0, 0.32) 58.9%, rgba(0, 0, 0, 0.394) 64.3%, rgba(0, 0, 0, 0.468) 69.3%, rgba(0, 0, 0, 0.54) 74.1%, rgba(0, 0, 0, 0.607) 78.8%, rgba(0, 0, 0, 0.668) 83.6%, rgba(0, 0, 0, 0.721) 88.7%, rgba(0, 0, 0, 0.762) 94.1%, rgba(0, 0, 0, 0.79) 100%);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: -webkit-transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e);
  transition: transform calc(var(--d) * 2) var(--e), -webkit-transform calc(var(--d) * 2) var(--e);
}
.card:nth-child(1):before {
  background-image: url(https://images5.fanpop.com/image/photos … 44-246.gif);
}
.card:nth-child(2):before {
  background-image: url(https://img.wattpad.com/e6d2b77cd2b2e1b … 342e676966);
}

.content {
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
          align-items: center;
  width: 100%;
  padding: 1rem;
  -webkit-transition: -webkit-transform var(--d) var(--e);
  transition: -webkit-transform var(--d) var(--e);
  transition: transform var(--d) var(--e);
  transition: transform var(--d) var(--e), -webkit-transform var(--d) var(--e);
  z-index: 1;
}
.content > * + * {
  margin-top: 1rem;
}

.title {
  font-size: 1.3rem!important;
  font-weight: bold!important;
  line-height: 1.2;
}

.copy {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

.btn {
  cursor: pointer;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  color: white;
  background-color: black;
  border: none;
}
.btn:hover {
  background-color: #0d0d0d;
}
.btn:focus {
  outline: 1px dashed yellow;
  outline-offset: 3px;
}

@media (hover: hover) and (min-width: 600px) {
  .card:after {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }

  .content {
    -webkit-transform: translateY(calc(100% - 4.5rem));
            transform: translateY(calc(100% - 4.5rem));
  }
  .content > *:not(.title) {
    opacity: 0;
    -webkit-transform: translateY(1rem);
            transform: translateY(1rem);
    -webkit-transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e);
    transition: transform var(--d) var(--e), opacity var(--d) var(--e), -webkit-transform var(--d) var(--e);
  }

  .card:hover,
  .card:focus-within {
    -webkit-box-align: center;
            align-items: center;
  }
  .card:hover:before,
  .card:focus-within:before {
    -webkit-transform: translateY(-4%);
            transform: translateY(-4%);
  }
  .card:hover:after,
  .card:focus-within:after {
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .card:hover .content,
  .card:focus-within .content {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  .card:hover .content > *:not(.title),
  .card:focus-within .content > *:not(.title) {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transition-delay: calc(var(--d) / 8);
            transition-delay: calc(var(--d) / 8);
  }

  .card:focus-within:before, .card:focus-within:after,
  .card:focus-within .content,
  .card:focus-within .content > *:not(.title) {
    -webkit-transition-duration: 0s;
            transition-duration: 0s;
  }
}
</style>

<main class="page-content">
  <div class="card">
    <div class="content">
      <h2 class="title">Lost Child</h2>
      <p class="copy">Оливия Честер – человек-энциклопедия. Дважды финалистка теле-викторины, студентка, активистка и просто красавица с острым языком и большими проблемами.</p>
      <button class="btn">I'm here!</button>
    </div>
  </div>
  <div class="card">
    <div class="content">
      <h2 class="title">Lost Child</h2>
      <p class="copy">Джессика Майлз - спортсменка и чемпионка. Отчаянная и несгибаемая, любящая риск и скорость. А вот лужи крови на полу и родственники-маньяки в ее планы не входили. </p>
      <button class="btn">I'm here!</button>
    </div>
  </div>
</main>
[/html]

Отредактировано Juan Rivera (2023-01-20 00:27:22)

+4

10

[html]
<style>

#medal {
    position: absolute;
    top: 360px;
    left: 420px;
    width: 239px;
    height: 245px;
    color: transparent;
    border-radius: 125px;
    display: block!important;
    box-shadow: -5px 2px 3px #545454;
    background-image: url(https://cdn.shopify.com/s/files/1/0261/ … 00x300.png);
    background-position: -5px;
    background-size: cover;
    transition-duration: 1s;
}

#medal:hover {
        box-shadow: 0px 0px 11px 2px #fff;
}

.center_box img {
    width: 100%;
    transition-duration: 1s;
      -webkit-filter: grayscale(100%) invert(1);
   filter: grayscale(100%) invert(1);
}

.film-wrapper {
    background-color: #333!important;
    height: 600px;
    width: 310px;
   box-shadow: -3px 4px 3px 0px #494949;
    margin-left: 4px;
    margin-bottom: 4px;
    transform: rotate(4deg);
}

.note-wrapper {
   flex-grow: 1;
}

.box{
    width: 300px;
    height: 150px;
    display: block;
    margin: auto;
    overflow: hidden;
    box-shadow: -3px 4px 3px 0px #494949;
   
}

.center_box:hover {
        box-shadow: 0px 0px 11px 2px #fff;
}

.boxes-left{
    width: 30px;
    height: 150px;
    float: left;
}

.boxes-right{
    width: 30px;
    height: 150px;
    float: right;
}
.small_box{
    margin: 0;
    background-color: #fff;
    display: inline-block;
    width: 20px;
    height: 15px;
    margin: 10px 5px 10px 5px;
}
.center_box{
    transition-duration: 1s;
    height: 150px;
    margin-left: 30px;
    margin-right: 30px;
    padding: 3px;
}

@keyframes load{
    from{transform: scale(0);}
}

.note > i {
  display: block;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-bottom-color: #f8f1c6;
  position: absolute;
  margin-top: -30px;
  margin-left: 200px;
}

.note > b {
  display: block;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-bottom-color: #C4C296;
  position: absolute;
  margin-top: -31px;
  margin-left: 200px;
}

.note > div {
  background:
    radial-gradient(#edf1f9 30%, transparent 31%) 0 0,
    radial-gradient(rgba(0,0,0,0.8) 30%, transparent 35%) 0 0px;
  background-size: 40px 40px;
  background-repeat: repeat-y;
  margin-left: 3px;
}

.note > div.off {
  background: none;
  margin-left: -20px;
}

.note > div > div,
.note > div > div > div {
  height: 100%;
  border-left: 1px solid #ddbbb8;
  box-shadow: 0 0 1px rgba(221,187,184,0.4),
              inset 0 0 1px rgba(221,187,184,0.4);
}

.note > div > div {
  margin-left: 40px;
}

.note > div > div > div {
  padding: 22px 20px 21px 20px;
  margin-left: 4px;
  outline: none;
}

.note {
  font-size: 16px;
  line-height: 22px;
  background: #f8f1c6;
    background: linear-gradient(#ededed 0%, #f3f3f3 96%, #d1d1d1 100%);
    background-size: 1px 22px;
    border-radius: 3px;
    border: 1px solid #bebebe;
  color: #808080;
  text-shadow: 0 1px 1px white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1),
              inset 0 1px 1px rgba(255,255,255,0.8);
  width: 90%;
  height: 400px;
  margin: 20px auto;
  transform: rotate(357deg);
}

#note-title {
     color: #aaaaaa;
    font-weight: bold;
}

.wrapper {
    display: flex;
    padding: 10px 0 10px 22px;
}
</style>

<div class="wrapper">
<div class="film-wrapper">
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>         
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
        </div>
             <div class="center_box">
            <img id="f1" src="https://tractive.com/blog/wp-content/uploads/2016/04/puppy-care-guide-for-new-parents.jpg" />
        </div>
    </div>
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
         <div class="center_box">
             <img id="f2" src="https://static.scientificamerican.com/sciam/cache/file/7A715AD8-449D-4B5A-ABA2C5D92D9B5A21_source.png" />
         </div>
    </div>
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
         <div class="center_box">
            <img id="f3" src="https://www.usnews.com/object/image/00000148-faa6-d526-a5db-fba6951a0000/141010-clownfish-editorial.jpg" />
         </div>
    </div>
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
         <div class="center_box">
            <img id="f4" src="https://a-z-animals.com/media/2021/06/Mexican-Alligator-Lizard-on-leaf.jpg" />
         </div>
    </div>
</div>

<div class="note-wrapper">
    <div class="note">
  <!--<b></b><i></i>-->
  <div class="off"><div><div contenteditable="true" spellcheck="false">
    <span id="note-title">Memory Lane</span><br />
      <span id="note-body">
    Click on a negative to activate a memory</span>
    </div></div></div></div>

<a id="medal" href="https://vanover.ru">.</a>
</div>
   
</div>

<script>
var memories = {
    "f1": {
        "title": "Puppy",
        "text": "This is a puppy!"
    },
    "f2": {
        "title": "Bird",
        "text": "What a nice bird!"
    },
    "f3": {
        "title": "Fish",
        "text": "This is a fish!"
    },
    "f4": {
        "title": "Lizard",
        "text": "Who does not like lizards?"
    }
}

$('.center_box img').click(function() {
    $('.center_box img').attr('style', "-webkit-filter: grayscale(100%) invert(1); filter: grayscale(100%) invert(1);")
    $(this).attr('style', "-webkit-filter: grayscale(0) invert(0); filter: grayscale(0) invert(0);")
    var id = $(this).attr('id');
    $('#note-title').text(memories[id]['title']);
    $('#note-body').text(memories[id]['text']);
})
</script>
[/html]

Отредактировано Juan Rivera (2023-01-21 01:10:59)

+5

11

[html]
<style>

#medal {
    position: absolute;
    top: 360px;
    left: 420px;
    width: 239px;
    height: 245px;
    color: transparent;
    border-radius: 125px;
    display: block!important;
    box-shadow: -5px 2px 3px #545454;
    background-image: url(https://cdn.shopify.com/s/files/1/0261/ … 00x300.png);
    background-position: -5px;
    background-size: cover;
    transition-duration: 1s;
}

#back {
    position: absolute;
    top: 360px;
    left: 676px;
    font-size: 40px;
    color: #aaa;
    visibility: hidden;
    text-decoration: none;
    cursor: pointer;
}

#medal:hover {
        box-shadow: 0px 0px 11px 2px #fff;
}

.center_box img {
    width: 100%;
    transition-duration: 1s;
      -webkit-filter: grayscale(100%) invert(1);
   filter: grayscale(100%) invert(1);
}

.film-wrapper {
    background-color: #333!important;
    height: 600px;
    width: 310px;
   box-shadow: -3px 4px 3px 0px #494949;
    margin-left: 4px;
    margin-bottom: 4px;
    transform: rotate(4deg);
}

.note-wrapper {
   flex-grow: 1;
}

.box{
    width: 300px;
    height: 150px;
    display: block;
    margin: auto;
    overflow: hidden;
    box-shadow: -3px 4px 3px 0px #494949;
   
}

.center_box:hover {
        box-shadow: 0px 0px 11px 2px #fff;
}

.boxes-left{
    width: 30px;
    height: 150px;
    float: left;
}

.boxes-right{
    width: 30px;
    height: 150px;
    float: right;
}
.small_box{
    margin: 0;
    background-color: #fff;
    display: inline-block;
    width: 20px;
    height: 15px;
    margin: 10px 5px 10px 5px;
}
.center_box{
    transition-duration: 1s;
    height: 150px;
    margin-left: 30px;
    margin-right: 30px;
    padding: 3px;
}

@keyframes load{
    from{transform: scale(0);}
}

.note > i {
  display: block;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-bottom-color: #f8f1c6;
  position: absolute;
  margin-top: -30px;
  margin-left: 200px;
}

.note > b {
  display: block;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-bottom-color: #C4C296;
  position: absolute;
  margin-top: -31px;
  margin-left: 200px;
}

.note > div {
  background:
    radial-gradient(#edf1f9 30%, transparent 31%) 0 0,
    radial-gradient(rgba(0,0,0,0.8) 30%, transparent 35%) 0 0px;
  background-size: 40px 40px;
  background-repeat: repeat-y;
  margin-left: 3px;
}

.note > div.off {
  background: none;
}

.note > div > div > div {
  padding: 22px 20px 21px 20px;
  margin-left: 4px;
  outline: none;
  width: 336px;
}

.note {
  font-size: 16px;
  line-height: 22px;
  background: #f8f1c6;
    background: linear-gradient(#ededed 0%, #f3f3f3 96%, #d1d1d1 100%);
    background-size: 1px 22px;
    border-radius: 3px;
    border: 1px solid #bebebe;
  color: #808080;
  text-shadow: 0 1px 1px white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1),
              inset 0 1px 1px rgba(255,255,255,0.8);
  width: 90%;
  height: 400px;
  margin: 20px auto;
  transform: rotate(357deg);
}

#note-title {
     color: #aaaaaa;
    font-weight: bold;
}

.wrapper {
    display: flex;
    padding: 10px 0 10px 22px;
}
</style>

<div class="wrapper">
<div class="film-wrapper">
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>         
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
        </div>
             <div  class="center_box">
            <img id="f1" src="https://forumstatic.ru/files/001b/ac/d7/93063.png" />
        </div>
    </div>
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
         <div class="center_box">
             <img id="f2" src="https://forumstatic.ru/files/001b/ac/d7/72830.png" />
         </div>
    </div>
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
         <div class="center_box">
            <img id="f3" src="https://forumstatic.ru/files/001b/ac/d7/24436.png" />
         </div>
    </div>
    <div class="box">
        <div class="boxes-left">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
        <div class="boxes-right">
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>           
            <span class="small_box"></span>
            <span class="small_box"></span>
        </div>
         <div class="center_box">
            <img id="f4" src="https://forumstatic.ru/files/001b/ac/d7/74354.png" />
         </div>
    </div>
</div>

<div class="note-wrapper">
    <div class="note">
  <!--<b></b><i></i>-->
  <div class="off"><div><div contenteditable="true" spellcheck="false">
    <span id="note-title">Elly</span><br />
      <span id="note-body">
    Разыскивается малолетняя сорвиголова
   </span>
    </div></div></div></div>

<a id="medal" href="https://vanover.ru">.</a>
<a id="back" onclick="back()">←</a>
</div>
   
</div>

<script>
var memories = {
    "init": {
        "title": "Elly",
        "text": "Разыскивается малолетняя сорвиголова",
     },
    "f1": {
        "title": "Сирота",
        "text": "Девочка без семьи, без надежды и без будущего.",
        "static": "https://forumstatic.ru/files/001b/ac/d7/93063.png",
        "animation": "https://forumstatic.ru/files/001b/ac/d7/65360.gif"
    },
    "f2": {
        "title": "Впервые увидеть мир",
        "text": "Однажды оказалось, что за пределами города тоже есть жизнь. Она опасная и незнакомая, но по-своему завораживающая.",
        "static": "https://forumstatic.ru/files/001b/ac/d7/72830.png",
        "animation": "https://forumstatic.ru/files/001b/ac/d7/11241.gif"
    },
    "f3": {
        "title": "Найти семью",
        "text": "А может быть, даже после конца света еще есть шанс найти человека, который станет тебе родным?",
        "static": "https://forumstatic.ru/files/001b/ac/d7/24436.png",
        "animation": "https://forumstatic.ru/files/001b/ac/d7/34828.gif"
    },
    "f4": {
        "title": "Найти надежду",
        "text": "Иногда стоит проехать полмира ради того, чтобы найти себя.",
        "static": "https://forumstatic.ru/files/001b/ac/d7/74354.png",
        "animation": "https://forumstatic.ru/files/001b/ac/d7/81863.gif"
    }
}

function back()
{
$('.center_box img').attr('style', "-webkit-filter: grayscale(100%) invert(1); filter: grayscale(100%) invert(1);")
    $('.center_box img').each(function() {
       var id = $(this).attr('id');
       $(this).attr('src', memories[id]['static']);
    })
   $('#note-title').text(memories['init']['title']);
   $('#note-body').text(memories['init']['text']);
   $('#back').attr('style', 'visibility: hidden');
}

$('.center_box img').click(function() {
    $('.center_box img').attr('style', "-webkit-filter: grayscale(100%) invert(1); filter: grayscale(100%) invert(1);")
    $('.center_box img').each(function() {
       var id = $(this).attr('id');
       $(this).attr('src', memories[id]['static']);
    })
    $('#back').attr('style', 'visibility: visible');
    $(this).attr('style', "-webkit-filter: grayscale(0) invert(0); filter: grayscale(0) invert(0);")
    var id = $(this).attr('id');
    $(this).attr('src', memories[id]['animation']);
    $('#note-title').text(memories[id]['title']);
    $('#note-body').text(memories[id]['text']);
})
</script>
[/html]

Отредактировано Juan Rivera (2023-01-23 04:13:22)

+6

12

https://www.tumblr.com/natashowlet/707235480182439937/joel-miller-icons?source=share&amp;_branch_match_id=834452793033283803&amp;_branch_referrer=H4sIAAAAAAAAAwXBYQqAIAwG0BPp+lEE3WbZQOObC7fI4/dejXj8IOLI8eqJkYspdQ72ah8k6DZB0gbISK1Yd9omdJ+Lr5f1H4kZvi9AAAAA
Ну, в принципе, аватарами на ближайшие пару лет я обеспечен

+1

13

[html]<style>
html, body {
height: 400px!important;
}

body #user-button {
  z-index: 1000;
  bottom: 1rem !important;
  right: 1rem !important;
  color: var(--user-button-text);
  transition: 1s 0s ease-out;
  -webkit-animation: slide 3s ease-out forwards;
          animation: slide 3s ease-out forwards;
}
@-webkit-keyframes slide {
  0%, 50% {
    opacity: 0;
    display: block !important;
  }
  100% {
    opacity: 1;
    display: block !important;
  }
}
@keyframes slide {
  0%, 50% {
    opacity: 0;
    display: block !important;
  }
  100% {
    opacity: 1;
    display: block !important;
  }
}
body #user-button .u-card {
  border-radius: 100%;
  box-shadow: 0 0 1rem -0.25rem var(--user-button-shadow), inset 0 0 1rem -0.75rem var(--user-button-shadow);
}
body #user-button .u-main {
  cursor: pointer;
  --user-button-background:var(--user-button-main, #EC87C0);
}
body #user-button .u-main img {
  height: 100%;
  width: 100%;
}
body #user-button .u-main iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 4rem;
  height: 4rem;
  opacity: 1;
  transition: 0s 4s;
}
body #user-button .u-icons {
  position: relative;
  z-index: 950;
  transform: translate(-50%, -50%);
  background: var(--user-button-circle);
  box-shadow: 0 0 0 0.125rem var(--user-button-cardborder);
  border-radius: 100%;
  transition: 0.25s;
  opacity: 1 !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  /*&:before {
     z-index:-1;
     position:absolute;
     top:0; right:0; bottom:0; left:0;
     content:'';

     backdrop-filter: blur(10px);
  }*/
}
body #user-button .u-icons a {
  color: inherit;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
}
body #user-button .u-icons a div {
  padding: 0.5rem;
  transition: 0s;
}
body #user-button .u-icons a[href="https://twitter.com/Osorpenke"] {
  position: relative;
}
body #user-button .u-icons a[href="https://twitter.com/Osorpenke"]:before {
  content: "Middle Click";
  position: absolute;
  top: -1.5rem;
  left: 50%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  white-space: pre;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease-in;
  background: #fffc;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
body #user-button .u-icons a[href="https://twitter.com/Osorpenke"].show:before {
  opacity: 1;
  transition: 0.25s ease-out;
}
body #user-button .u-icons a[href="https://twitter.com/Osorpenke"] div {
  color: #1da1f2;
}
body #user-button .u-icons a[href="https://codepen.io/z-"] div {
  background: black;
  color: white;
}
body #user-button .u-icons a.u-random div {
  position: relative;
  top: -1px;
  -webkit-animation: diespin 2s linear infinite;
          animation: diespin 2s linear infinite;
}
@-webkit-keyframes diespin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes diespin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
body #user-button .u-icons a.u-random:not(:hover) div {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
body #user-button .u-icons > * {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--singlecolour);
  border-radius: 100%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: 0.25s -0.05s;
}
body #user-button .u-icons > *:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
body #user-button .u-icons > *:hover, body #user-button .u-icons > *:focus-within {
  background: var(--hcolour);
}
body #user-button .u-icons > *:first-child:nth-last-child(1):nth-child(1), body #user-button .u-icons > *:first-child:nth-last-child(1) ~ *:nth-child(1) {
  left: 25%;
  top: 25%;
}
body #user-button .u-icons > *:first-child:nth-last-child(2):nth-child(1), body #user-button .u-icons > *:first-child:nth-last-child(2) ~ *:nth-child(1) {
  left: 37.5%;
  top: 18.75%;
}
body #user-button .u-icons > *:first-child:nth-last-child(2):nth-child(2), body #user-button .u-icons > *:first-child:nth-last-child(2) ~ *:nth-child(2) {
  left: 18.75%;
  top: 37.5%;
}
body #user-button .u-icons > *:first-child:nth-last-child(3):nth-child(1), body #user-button .u-icons > *:first-child:nth-last-child(3) ~ *:nth-child(1) {
  left: 50%;
  top: 15.625%;
}
body #user-button .u-icons > *:first-child:nth-last-child(3):nth-child(2), body #user-button .u-icons > *:first-child:nth-last-child(3) ~ *:nth-child(2) {
  left: 25%;
  top: 25%;
}
body #user-button .u-icons > *:first-child:nth-last-child(3):nth-child(3), body #user-button .u-icons > *:first-child:nth-last-child(3) ~ *:nth-child(3) {
  left: 15.625%;
  top: 50%;
}
body #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(1), body #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(1) {
  left: 62.5%;
  top: 18.75%;
}
body #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(2), body #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(2) {
  left: 37.5%;
  top: 18.75%;
}
body #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(3), body #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(3) {
  left: 18.75%;
  top: 37.5%;
}
body #user-button .u-icons > *:first-child:nth-last-child(4):nth-child(4), body #user-button .u-icons > *:first-child:nth-last-child(4) ~ *:nth-child(4) {
  left: 18.75%;
  top: 62.5%;
}
body #user-button:hover .u-icons, body #user-button:focus-within .u-icons {
  width: 300% !important;
  height: 300% !important;
}

body {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100vh;
  font-family: "Roboto", sans-serif;
  transition: 0.25s;
}
body.dark {
  background: #232223;
  color: white;
}
@media (prefers-color-scheme: dark) {
  body:not(.light) {
    background: #232223;
    color: white;
  }
}
body .credit {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: inherit;
}
body .options {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  min-width: 600px;
  max-width: 900px;
  height: 400px;
}
@media screen and (max-width: 718px) {
  body .options {
    min-width: 520px;
  }
  body .options .option:nth-child(5) {
    display: none;
  }
}
@media screen and (max-width: 638px) {
  body .options {
    min-width: 440px;
  }
  body .options .option:nth-child(4) {
    display: none;
  }
}
@media screen and (max-width: 558px) {
  body .options {
    min-width: 360px;
  }
  body .options .option:nth-child(3) {
    display: none;
  }
}
@media screen and (max-width: 478px) {
  body .options {
    min-width: 280px;
  }
  body .options .option:nth-child(2) {
    display: none;
  }
}
body .options .option {
  position: relative;
  overflow: hidden;
  min-width: 45px;
  margin: 10px;
  background: var(--optionBackground, var(--defaultBackground, #E6E9ED));
  background-size: auto 120%;
  background-position: center;
  cursor: pointer;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}
body .options .option:nth-child(1) {
  --defaultBackground:#ED5565;
}
body .options .option:nth-child(2) {
  --defaultBackground:#FC6E51;
}
body .options .option:nth-child(3) {
  --defaultBackground:#FFCE54;
}
body .options .option:nth-child(4) {
  --defaultBackground:#2ECC71;
}
body .options .option:nth-child(5) {
  --defaultBackground:#5D9CEC;
}
body .options .option:nth-child(6) {
  --defaultBackground:#AC92EC;
}
body .options .option.active {
  flex-grow: 10000;
  transform: scale(1);
  max-width: 600px;
  margin: 0px;
  border-radius: 40px;
  background-size: auto 100%;
  /*&:active {
     transform:scale(0.9);
  }*/
}
body .options .option.active .shadow {
  box-shadow: inset 0 -120px 120px -120px black, inset 0 -120px 120px -100px black;
}
body .options .option.active .label {
  bottom: 20px;
  left: 20px;
}
body .options .option.active .label .info > div {
  left: 0px;
  opacity: 1;
}
body .options .option:not(.active) {
  flex-grow: 1;
  border-radius: 30px;
}
body .options .option:not(.active) .shadow {
  bottom: -40px;
  box-shadow: inset 0 -120px 0px -120px black, inset 0 -120px 0px -100px black;
}
body .options .option .shadow {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 120px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}
body .options .option .label {
  display: flex;
  position: absolute;
  right: 0px;
  height: 40px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}
body .options .option .label .icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  border-radius: 100%;
  background-color: white;
  color: var(--defaultBackground);
}
body .options .option .label .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 10px;
  color: white;
  white-space: pre;
}
body .options .option .label .info > div {
  position: relative;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}
body .options .option .label .info .main {
  font-weight: bold;
  font-size: 1.2rem;
}
body .options .option .label .info .sub {
  transition-delay: 0.1s;
}
</style>

<div class="options">
   <div class="option active" style="--optionBackground:url(https://66.media.tumblr.com/6fb397d822f … 1_1280.jpg);">
      <div class="shadow"></div>
   </div>
   <div class="option" style="--optionBackground:url(https://66.media.tumblr.com/8b69cdde47a … 1_1280.jpg);">
      <div class="shadow"></div>
   </div>
   <div class="option" style="--optionBackground:url(https://66.media.tumblr.com/5af3f830345 … 1_1280.jpg);">
      <div class="shadow"></div>
   </div>
   <div class="option" style="--optionBackground:url(https://66.media.tumblr.com/5516a22e0cd … 1_1280.jpg);">
      <div class="shadow"></div>
   </div>
   <div class="option" style="--optionBackground:url(https://66.media.tumblr.com/f19901f50b7 … 1_1280.jpg);">
      <div class="shadow"></div>
   </div>
</div>

<script>
$(".option").click(function(){
   $(".option").removeClass("active");
   $(this).addClass("active");
   
});

</script>

[/html]

Отредактировано Juan Rivera (2023-01-30 21:40:36)

+2

14

Для себя, чтобы не потерять:

Код:
function estimate(l)
{
    if(l < 1500) {
        return 100
    }
    if(l < 3000) {
        return 200
    }
    if(l < 5000) {
        return 300
    }
    if(l < 7500) {
        return 500
    }
    return 500 + Math.ceil((l - 7500) / 2)
}

function format_code(data, total, base_url)
{
    let code = '[b]1. За что начислить? (копируете и вставляете пункты из таблицы) [/b]\n' +
        'Пост до 1500 символов - 100\n' +
        'Пост от 1500 до 3000 символов - 200\n' +
        'Пост от 3000 до 5000 символов - 300\n' +
        'Пост от 5000 до 7500 символов - 400\n' +
        'Пост от 7500 - 500+50 за каждые последующие 100 символов\n'+
        'Ответ на пост в течение суток (24 часа) - 50\n'+
        '[b]2. Подтверждение: (ссылки)[/b]\n';

    data.forEach((item) => {
        code += base_url + '#' + item.id + ' - ' + item.est + ' [' + item.length + ' симв.]';
        if(item.is_fast) {
            code += ' (+50 за ответ в течение суток)'
        }
        code += '\n';
    })

    code += '[b]3. Сколько начислить?[/b] ' + total.toString();
    return code;
}

function get_date(date_text) {
    let result = new Date();
    var dateOffset = 24*60*60*1000;
    if(date_text.indexOf('Сегодня') !== -1) {
        let today = Date.now();
        let arr = date_text.split(' ');
        let time_arr = arr[1].split(':');
        result.setTime(today);
        result.setHours(time_arr[0]);
        result.setMinutes(time_arr[1]);
        result.setSeconds(time_arr[2]);
        return result;
    }
    if(date_text.indexOf('Вчера') !== -1) {
        let today = Date.now() - dateOffset;
        let arr = date_text.split(' ');
        let time_arr = arr[1].split(':');
        result.setTime(today);
        result.setHours(time_arr[0]);
        result.setMinutes(time_arr[1]);
        result.setSeconds(time_arr[2]);
        return result;
    }
    let n = Date.parse(date_text);
    result.setTime(n);
    return result;
}

function generate_code(search_user_id) {
    let base_url = document.location.origin + document.location.pathname + document.location.search;
    let data = []
    let total = 0
    let posts = document.getElementsByClassName('post');
    let prev_date = new Date();
    var dateOffset = 24*60*60*1000;
    prev_date.setDate(0);

    for (let post of posts) {
        let user_id = post.getAttribute('data-user-id')
        if(parseInt(user_id) === search_user_id && !post.classList.contains('topicpost')) {
            let cur_date_text = post.getElementsByClassName('permalink')[0].innerText
            let cur_date = get_date(cur_date_text);
            let is_fast = false;
            if(cur_date - prev_date < dateOffset) {
                is_fast = true;
            }
            let text = post.getElementsByClassName('post-content')[0].innerText
            text = text.replaceAll("\n", "")
            let id = post.getAttribute('id')
            let est = estimate(text.length)
            data.push({
                "user": user_id,
                "text": text,
                "id": id,
                "length": text.length,
                "est": est,
                "is_fast": is_fast,
                "cur_date": cur_date.toLocaleDateString(),
                "prev_date": prev_date.toLocaleDateString()
            })
            prev_date = cur_date;
            total += est
            if(is_fast) {total += 50}
        }
    }
    console.log(data)
    let code = format_code(data, total, base_url)
    console.log(code)
}

https://imgtest.42web.io/rand.gif
https://imgtest.42web.io/rand.php

Отредактировано Juan Rivera (2023-02-27 00:35:21)

0

15

Я просто хочу сохранить это потому что это слишком хорошо

Отредактировано Juan Rivera (2023-02-11 21:22:06)

+2

16

Мне нужен планировщик эпизодов

12/12/22 - ask Nicole to patch us up then get a little strangled
~12/20/22 - встретить Николь у ворот и устроить ей семейный скандал
~12/24/22 - сходить с Николь за деревом и новым рюкзаком. Найти остальным подарки к Рождеству
12/25/22 - Рождество. Достать ананасы
31/12/22 - Новый Год. У Арта есть петарды. Sort of
01/05/23 - попасть с Николь в полицейский участок, найти там себя
~01/08/23 - kill a guy
~ 01/10/23 - найти машину скорой помощи и распотрошить
~ 01/15/23 - попробовать собрать первый урожай йербы и приготовить мате (не забыть предварительно попросить у Николь сироп от расстройства желудка)

Отредактировано Juan Rivera (2023-03-09 17:56:49)

+2

17

https://i.imgur.com/zcTpo6b.png

https://i.imgur.com/NPiqwqc.jpg

Ощущение, что я тебя стебу, а ты такой: серьезно? Эта шутка старше меня… и тебя тоже)
(с) Арт

+3

18

[html]    <style>
        html,
        body {
            height: 600px;
        }

        body {
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .newspaper {
            width: 96vw;
            height: 65vw;
            background: linear-gradient(135deg, #efefef 0%, white 17%, white 49%, lightgray 73%, #ededed 89%, #bcbcbc 100%);
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            grid-template-rows: 15% 24% auto;
            color: #2a2d2f;
            box-shadow: 4px 4px 0 #cccccc, 8px 8px 0 #999999, 12px 12px 0 #666666, 0 0 20px rgba(0, 0, 0, 0.5);
            -webkit-backface-visibility: hidden;
            will-change: transform;
            position: absolute;
            z-index: 3;
            transform: rotate(8deg);
            animation-timing-function: linear;
            animation-duration: 2s;
            animation-fill-mode: forwards;
        }

        .title {
            grid-column-start: 1;
            grid-column-end: 5;
            grid-row-start: 1;
            grid-row-end: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom: 4px solid #2a2d2f;
        }

        .headline {
            grid-column-start: 1;
            grid-column-end: 5;
            grid-row-start: 2;
            grid-row-end: 2;
        }

        .coverimage {
            grid-column-start: 3;
            grid-column-end: 5;
            grid-row-start: 3;
            grid-row-end: 5;
            padding: 0 0.5rem;
        }
        .coverimage img {
            width: 100%;
            height: 28vw;
            object-fit: cover;
        }

        .copy {
            grid-column-start: 1;
            grid-column-end: 3;
            grid-row-start: 3;
            grid-row-end: 5;
            column-count: 2;
            padding: 1vw;
        }

        h1.newspapertitle {
            font-family: serif;
            font-size: 2.2vw;
            margin: 0;
        }

        h2 {
            font-family: serif;
            text-transform: uppercase;
            font-size: 3vw;
            margin: 0;
            text-align: center;
            line-height: 1.1;
        }

        p {
            font-size: 1vw;
            line-height: 1.2;
            margin: 0;
        }

    </style>

<div class="newspaper">
    <div class="title">
        <h1 class="newspapertitle">Wanted By Federal Bureau of Investigations of the United States</h1>
    </div>
    <div class="headline">
        <h2>Juan Guillermo Rivera Martinez</h2>
        <div style="padding-left: 40px; padding-top: 10px">
        <p><b>Date of birth:</b> 01/05/1972</p>
        <p><b>City of birth:</b> El Paso, Texas</p>
        <p><b>Wanted for:</b> burglary (multiple), illegal crossing of US boarder (multiple), smuggling (multiple),
            association with drug cartel in Mexico</p>
            <p><b>Warnings:</b> ex-military, trained at handling firearms; war veteran, diagnosed mental disorder; skilled at breaking locks and disabling alarms and tracking devices</p>
        </div>
    </div>
    <div class="coverimage">
        <img src="https://imgix.bustle.com/uploads/image/2023/1/27/73981877-0df2-4735-84d1-927cbd466a1d-tlou-1.jpg?w=1200&h=630&fit=crop&crop=focalpoint&fm=jpg&fp-x=0.4467&fp-y=0.338" alt="">
        <p>Year of fotograph: 2013</p>
    </div>
    <div class="copy">

       <p>
           Was first detained by the police in 2003 for burglary. Due to lack of evidence was released from detention.
       </p>
        <p>
            After that, have been allegedly spotted several times at the crime scenes via external cameras, however, the evidence was not sufficient for mounting charges.
        </p>
        <p>
            In 2013, have been accused of working for a criminal gang operating in California by a previously arrested member of the same gang.
            The official arrest order was issued, however, the police could not find and apprehend the suspect. Allegedly, he had been warned about the
            investigation and had fled the country. Possible destination: Mexico or Central America.
        </p>
        <p>
            In 2015, the suspect was briefly detained by the Mexican police for an alleged association with a drug cartel, however, was immoderately released
            due to undisclosed reasons. The following investigation by DIA determined that the suspect had been working for the cartel as a specialist in breaking locks
            and disabling alarms. The arrest warrant was issued in Mexico.
        </p>
    </div>
</div>
[/html]

Отредактировано Juan Rivera (2023-02-17 19:21:06)

+3

19

Больше драмы богу драмы

https://64.media.tumblr.com/2c6af1e7faf5da8542917628b8334135/35efc993f4d9473a-34/s540x810/75d4bb1665a3ebbadf4f48950629b6b039131103.gifv

+3

20

{awards: [url1, url2, url3], planks: [url1, url2, url3]}

Reminder for myself: ngrok

Отредактировано Juan Rivera (2023-03-14 20:47:51)

0

21

[html]
<style>
div.diagonal {
  width:700px;
  max-width:100%;
  position:relative;
  margin:auto;
}
img.d-image{
  display:block;
  max-width:100%;
  position:relative;
  transition:clip-path 1s;
}
img.d-image:last-child{
  clip-path: polygon(0% 0%, 100% 0%, 0% 100%, -100% 0%);
  position:absolute;
  top:0;
}

img.d-image:hover+:last-child{
  clip-path: polygon(0% 0%, 20% 0%, 0% 20%, 0% 0%);
}
div.diagonal:hover img.d-image:hover:last-child{
  clip-path: polygon(0% 0%, 180% 0%, 0% 180%, -100% 0%);
}
</style>

<div class="diagonal">
  <img class="d-image" src="https://www.terrariumquest.com/wp-content/uploads/2019/06/corn-snake-care-10.jpg" />
  <img class="d-image" src="https://www.terrariumquest.com/wp-content/uploads/2019/06/corn-snake-care-5.jpg" />
</div>[/html]

+2

22

Здесь может быть какой-то длинный текст шириной на две ячейки

https://i.imgur.com/zcTpo6b.png

https://i.imgur.com/NPiqwqc.jpg

Здесь может быть какой-то длинный текст шириной на две ячейки

https://i.imgur.com/zcTpo6b.png

https://i.imgur.com/NPiqwqc.jpg

Здесь может быть какой-то длинный текст шириной на две ячейки

https://i.imgur.com/zcTpo6b.png

https://i.imgur.com/NPiqwqc.jpg

+2

23

Кладбище (нет, серьезно)

+3


Вы здесь » VANCOUVER » Личные дневники » Ну, что у нас плохого? (с)


Рейтинг форумов | Создать форум бесплатно