summaryrefslogtreecommitdiff
path: root/public/imworkingon/imworkingon.scss
blob: ef2995e34fd72263f7b5e9eedaea4a063f06b624 (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
75
76
77
78
79
80
81
82
* {
    box-sizing: border-box;
}

article {
    border: solid 1px #333333;
    border-radius: 1em;
    margin: 0.5em;
}

div {
    & > p:first-child {
	margin-top: 0;
    }
    & > p:last-child {
	margin-bottom: 0;
    }
}

article.tag {
    padding: 0.5em 2em;
    & > h2 {
	margin: 0 0 0.25em -1em;
    }
}

article.contrib {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-areas:
	"uname submitted updated status"
	"uname url url url"
	"uname tag tag tag"
	"udesc desc desc desc";
    gap: 1px;
    overflow: hidden;

    & > div {
	padding: 0.5em;
    }
    
    @mixin color-panel {
	background-color: #DDDDFF;
	border: solid 1px #8D8DA6;
	margin: -1px;
    }

    div.contrib-upstream-name {
	grid-area: uname;
	@include color-panel;
	text-align: center;
	font-weight: bold;
	padding-top: 1em;
    }
    div.contrib-upstream-desc {
	grid-area: udesc;
	@include color-panel;
    }
    div.contrib-urls {
	grid-area: url;
	padding-bottom: 0;
    }
    div.contrib-tags {
	grid-area: tag;
	padding-top: 0;
    }
    div.contrib-submitted {
	grid-area: submitted;
	@include color-panel;
    }
    div.contrib-updated {
	grid-area: updated;
	@include color-panel;
    }
    div.contrib-status {
	grid-area: status;
	@include color-panel;
    }
    div.contrib-desc {
	grid-area: desc;
    }
}