aboutsummaryrefslogtreecommitdiff
path: root/style/_random-project.scss
blob: ce8de3ecef136db0a76e2b75ee28649264daa8af (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
body.random-project {
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.random-project__header {
  display: flex;
  align-items: center;
  padding: 16px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);

  .logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-left: 32px;
  }

  .text {
    margin-left: 32px;
    font-size: 2em;
  }

  a {
    margin-right: 32px;
    border: 1px #1a0dab solid;
    border-radius: 4px;
    padding: 16px 32px;
  }
}

@media screen and (max-width: 768px) {
  .random-project__header {
    .logo img {
      width: 60px;
      height: 60px;
    }

    .text {
      font-size: 1.5em;
    }
  }
}

@media screen and (max-width: 625px) {
  .random-project__header {
    .text {
      display: none;
    }
  }
}

@media screen and (max-width: 400px) {
  .random-project__header {
    .logo, .text, .grow {
      display: none;
    }

    a {
      margin: 0 auto;
    }
  }
}

// import the style sheet of all the random projects
@import '../random-projects/bad-password-generator/style.scss';