Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_sessions.scss « pages « style « src - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9de778b0d6ea8adc4062e6781db42a4fee12ee04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.section.sessions, .taxonomy.tags {

  ul.talks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;

    li.talk {
      margin: 1rem;
      flex: 1 0 320px;
    }

    a {
      border: thin solid var(--darken-1);
      box-shadow: var(--space-1) var(--space-1) var(--space-2) var(--darken-2);
      transition: box-shadow var(--animation);
      border-radius: var(--space-2);
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      height: 100%;

      &:hover, &:focus {
        box-shadow: var(--space-2) var(--space-2) var(--space-2) var(--darken-3);
      }

      h2, .info {
        padding: var(--space-4);
      }

      h2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      hr {
        width: calc(100% - var(--space-3));
        margin: 0 auto;
      }

      .info {
        flex-grow: 1;

        .tags {
          float: right;
        }
      }

      .speakers {
        border: thin solid transparent;
        border-radius: var(--space-2);
        background: var(--base);
        padding-left: 0;
      }

      .speaker + .speaker {
        border-top: thin solid var(--darken-1);
      }

    }
  }
}

@supports (grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))) {
  .section.sessions, .taxonomy.tags {
    ul.talks {
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
  }
}