Style up /repositories pages
This commit is contained in:
@@ -79,7 +79,7 @@ view model =
|
|||||||
|> Maybe.withDefault (text "")
|
|> Maybe.withDefault (text "")
|
||||||
in
|
in
|
||||||
div []
|
div []
|
||||||
[ h1 []
|
[ h2 []
|
||||||
[ a [ href repoUrl ] [ text model.repoName ] ]
|
[ a [ href repoUrl ] [ text model.repoName ] ]
|
||||||
, details
|
, details
|
||||||
]
|
]
|
||||||
@@ -88,8 +88,8 @@ view model =
|
|||||||
viewDetails : Repository -> Html Msg
|
viewDetails : Repository -> Html Msg
|
||||||
viewDetails repo =
|
viewDetails repo =
|
||||||
div []
|
div []
|
||||||
[ p [] [ text repo.description ]
|
[ p [ class "repo-description" ] [ text repo.description ]
|
||||||
, h2 []
|
, h3 []
|
||||||
[ a [ href repo.owner.profileUrl ]
|
[ a [ href repo.owner.profileUrl ]
|
||||||
[ img [ class "profile-photo", src repo.owner.avatarUrl ] []
|
[ img [ class "profile-photo", src repo.owner.avatarUrl ] []
|
||||||
, text repo.owner.username
|
, text repo.owner.username
|
||||||
|
|||||||
@@ -103,3 +103,21 @@ button:focus, input:focus {
|
|||||||
a {
|
a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.repo-description {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.profile-photo {
|
||||||
|
width: 32px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
th, td {
|
||||||
|
font-size: 18px;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user