aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/landing/sections/Research.module.css
blob: c5c87a4a522b169a97c7f9eb816b8677bae77d93 (plain) (blame)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*
 * SPDX-FileCopyrightText: 2023 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT
 */

.topics {
  margin-top: 1.5rem;
}

.topic {
  container-type: inline-size;
}

.topic__contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topic__icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.topic__icon--system {
  color: #f5a614;
}

[data-theme='dark'] .topic__icon--system {
  color: #e6ac5b;
}

.topic__icon--verification {
  color: #1eae4e;
}

[data-theme='dark'] .topic__icon--verification {
  color: #63c177;
}

.topic__icon--reasoning {
  color: #af3b6e;
}

[data-theme='dark'] .topic__icon--reasoning {
  color: #d67a9d;
}

.topic__icon--graph {
  color: #038a99;
}

[data-theme='dark'] .topic__icon--graph {
  color: #56b6c2;
}

.topic__text {
  flex-grow: 1;
}

.topic__title {
  margin-top: 1rem;
  text-align: center;
  --casl: 0;
}

.topic__description {
  margin: 0;
}

@container (min-width: 450px) {
  .topic .topic__contents {
    margin: 0.625rem 0;
    flex-direction: row;
    gap: 1rem;
  }

  .topic .topic__title {
    margin-top: 0;
    text-align: left;
  }

  .topic:nth-of-type(2n) .topic__contents {
    flex-direction: row-reverse;
  }

  .topic:nth-of-type(2n) .topic__title,
  .topic:nth-of-type(2n) .topic__description {
    text-align: right;
  }

  .topic:first-of-type .topic__contents {
    margin-top: 0;
  }

  .topic:last-of-type .topic__contents {
    margin-top: 0;
  }
}