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

_speakers.scss « pages « styles « src - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9024ca9b0788f145243d5a0542edd79c9992b532 (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
.section.speakers {

  .hero h1 {
    //margin: 0 auto;
    //max-width: var(--theJdrSize);
    //padding-left: 0;
    padding: 2rem var(--container-margin);
  }

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

    & > li {
      margin: 1rem;
      flex: 1 0 300px;
      max-width: 450px;
    }
  }

  a.speaker {
    padding: var(--space-4);
    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: row;
    height: 100%;

    .speaker-img {
      margin-right: var(--space-4);
    }

    .speaker-company {
      margin-top: var(--space-3);
      text-align: center;

      img {
        max-width: 100%;
      }

      figcaption {
        display: block;
        max-width: 200px;
      }
    }

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


}