Skip to content
Snippets Groups Projects
Commit fa7892e3 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

overskrift, hvit bakgrunn artikler, footer-bakgrunn helt ut til sidene

parent a2814ce2
No related branches found
No related tags found
No related merge requests found
<template> <template>
<main id="app"> <main id="app">
<header> <header>
<h1>Søk i Ordbøkene</h1>
<span class="top">EID AV UNIVERSITETET I BERGEN OG SPRÅKRÅDET</span> <span class="top">EID AV UNIVERSITETET I BERGEN OG SPRÅKRÅDET</span>
<p class="mission-statement">Bokmålsordboka og Nynorskordboka er dei einaste fritt tilgjengelege ordbøkene som gjer svar på korleis ord skal skrivast og bøyast <p class="mission-statement">Bokmålsordboka og Nynorskordboka er dei einaste fritt tilgjengelege ordbøkene som gjer svar på korleis ord skal skrivast og bøyast
i norsk i tråd med gjeldande rettskriving.</p> i norsk i tråd med gjeldande rettskriving.</p>
...@@ -198,16 +199,36 @@ body { ...@@ -198,16 +199,36 @@ body {
margin: 0px; margin: 0px;
} }
h1 {
font-family: Inria Serif;
font-size: 36px;
color: #560027;
}
main { main {
padding-top: 60px; background-image: url('./assets/beta.png');
background-repeat: no-repeat;
background-attachment: fixed;
}
header, #search_results, article, footer, div.welcome {
padding-left: calc((100vw - 1000px) / 2); padding-left: calc((100vw - 1000px) / 2);
padding-right: calc((100vw - 1000px) / 2); padding-right: calc((100vw - 1000px) / 2);
background-color: #FDF4F5;
background-image: url('./assets/beta.png'); background-image: url('./assets/beta.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-attachment: fixed; background-attachment: fixed;
} }
header {
padding-top: 60px;
padding-bottom: 20px;
background-color: #FDF4F5;
}
section, article {
background-color: #FFFFFF;
}
.top { .top {
color: #560027; color: #560027;
font-weight: bold; font-weight: bold;
......
...@@ -84,7 +84,7 @@ q { ...@@ -84,7 +84,7 @@ q {
} }
.highlighted { .highlighted {
background-color: #ddddff; background-color: #FDF4F5;
border-radius: 5px; border-radius: 5px;
} }
</style> </style>
<template> <template>
<div> <div>
<h1 v-for="(lemma, index) in lemmas" :key="index"> <h1 class="article_header" v-for="(lemma, index) in lemmas" :key="index">
{{lemma.lemma}}{{index+1 < lemmas.length ? ',' : ''}} </h1> {{lemma.lemma}}{{index+1 < lemmas.length ? ',' : ''}} </h1>
<details title="Klikk for å se bøyninger"> <details title="Klikk for å se bøyninger">
<summary>{{group_list}}</summary> <summary>{{group_list}}</summary>
...@@ -40,17 +40,14 @@ export default { ...@@ -40,17 +40,14 @@ export default {
} }
</script> </script>
<style> <style scoped>
.word-classification { .word-classification {
text-decoration: underline dashed; text-decoration: underline dashed;
} }
h1 { h1.article_header {
display: inline; display: inline;
font-family: Inria Serif;
font-size: 36px;
color: #560027;
} }
.inflection table { .inflection table {
...@@ -58,11 +55,6 @@ h1 { ...@@ -58,11 +55,6 @@ h1 {
margin: 10px; margin: 10px;
} }
.homograph {
font-size: smaller;
font-weight: normal;
}
.inflection td, .inflection th { .inflection td, .inflection th {
border: solid; border: solid;
border-width: 1px; border-width: 1px;
......
<template> <template>
<section> <section id="search_results">
<h2 v-if="hits.length">Søkeresultater</h2> <h2 v-if="hits.length">Søkeresultater</h2>
<div class="flex-container"> <div class="flex-container">
<ul class="hits" v-if="results_bob.length"> <ul class="hits" v-if="results_bob.length">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment