diff options
Diffstat (limited to 'lehed/oppematerjalid')
-rw-r--r-- | lehed/oppematerjalid/index.html | 10 | ||||
-rw-r--r-- | lehed/oppematerjalid/styles.css | 23 |
2 files changed, 24 insertions, 9 deletions
diff --git a/lehed/oppematerjalid/index.html b/lehed/oppematerjalid/index.html index dd83513..1a077a6 100644 --- a/lehed/oppematerjalid/index.html +++ b/lehed/oppematerjalid/index.html @@ -5,18 +5,14 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Õppematerjalid</title> - <link rel="stylesheet" href="styles.css"> - <link rel="preconnect" href="https://fonts.googleapis.com"> - <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> - - <link href="https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@300&display=swap" rel="stylesheet"> <!-- Bootstrap - CSS only --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous"> + <link rel="stylesheet" href="styles.css"> </head> -<body class="bg-dark"> +<body> <!-- navbar --> - <nav class="navbar navbar-expand-md navbar-dark pt-4 pb-2"> + <nav class="navbar navbar-expand-md"> <div class="container fs-5"> <!-- navbar brand / title --> <a class="navbar-brand" href="../../#intro"> diff --git a/lehed/oppematerjalid/styles.css b/lehed/oppematerjalid/styles.css index 9b02532..74ca032 100644 --- a/lehed/oppematerjalid/styles.css +++ b/lehed/oppematerjalid/styles.css @@ -1,3 +1,22 @@ body{ - font-family: 'Cormorant SC', serif !important; -}
\ No newline at end of file + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + background-color: #43464b; +} + +/* NavBar */ +.navbar{ + margin: 1.2rem; + margin-top: 0; + border-bottom: 2px solid white; +} + +.navbar span{ + font-weight: bold !important; + color: white !important; +} + +.navbar a:hover{ + color: snow; + font-weight: bolder; +} +.navbar a{ color: white; } |